Apple: "Code singing is required ..." [duplicate] - certificate

This question already has answers here:
Test iOS app on device without apple developer program or jailbreak
(10 answers)
Closed 5 years ago.
Is a developer certificate required if I only want to deploy an app to my iPhone / iPad ? Now when I try do build I get
CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 8.1'
Should I get a certificate or is there something else I can do ?

Yes. To build on the iPhone, you need to join iOS Developer Program for $99 a year. Once you join, you can set up your certificate and provision profile.
You can use the simulator without the iOS Developer Program.

Related

Unable to deploy iOS app to iPhone with Xcode 7

I recently downloaded the Xcode 7 Beta in hopes of using the new feature that allows you to test apps on your phone without paying their developer fee. I followed the steps in the answer to this question
Test iOS app on device without apple developer program or jailbreak
However, I am unable to choose my device in the scheme because it is under ineligible devices. When I click 'Fix Issue', I get the error "Unable to create a provisioning profile because your team has no devices registered in the Member Center. Please connect a device, enable it for development, and add it to the Member Center using the Organizer." However, I cannot do any of this because I do not have a paid Apple developer account. How can I get Xcode to create a free provisioning profile and allow my phone to be used for testing?
Thanks!
To deploy an app to a device, it has to be registered in the member center. Since this functionality isn't available until iOS 9 is released, you won't be able to run it until then.
Xcode 7 doesn't change anything about that.
Join the developer forums or just log in to the developer centre with your Apple ID and then things will start to work as you will have joined the free tier of the developer program https://developer.apple.com/support/compare-memberships/ and Xcode 7 will show your apple ID as having free ios and mac development under accounts in the Xcode preferences section.
I've had no problems testing on an iPhone 6 and old iPad 3 both with iOS 8.whatever :)
Xcode 7 automatically registers your device, installs two development certificates in your keychain (Mac & iOS) and provides provisioning profile management ... thats kind of the whole point :)

Is there is a counterpart of .apk in ios [duplicate]

This question already has answers here:
What is the equivalent of apk in iOS?
(2 answers)
Closed 9 years ago.
I was an android developer and trying to learn on IOS programming, i wondering if there is a counterpart of .apk file for the application in IOS. Because there is the time that i need to send the application to my boss to try it on the his device. Is there are counterpart of .apk in IOS? or there is a other way in IOS to do that. Thanks in advance.
Yes, it's called an IPA ("iPhone app"). To send to your boss, you'll need to create an "ad-hoc" build, using his device ID in a provisioning profile. There are tons of resources for this on Apple's site and elsewhere, but in brief:
Add the test device's UUID to the iOS provisioning portal in developer.apple.com.
Create a new provisioning profile for Ad-Hoc Distribution that includes this device.
Set up your project's build settings for Ad-Hoc build to use the new provisioning profile.
Product -> Archive, then select the archive and "Distribute". Choose Ad-Hoc, and I think you'll be able to save the .IPA from there.

Test iPhone App without Apple Dev Account or Jailbreak [duplicate]

This question already has answers here:
How can I deploy an iPhone application from Xcode to a real iPhone device?
(12 answers)
Closed 9 years ago.
I made a small little app I want to test out on my iPhone 5. Problem is I cant fork out $100 for apple or since its an iPhone 5 I cannot jailbreak it. I really need to test this can somebody please help?
Thanks!
iPhones will only execute binary code that has been cryptographically signed by a private key which Apple has authorised.
The only way to get your encryption key authorised is to pay $100 per year and agree to their developer contract.
You can run the app in the iOS simulator on any modern mac without signing it and without paying any money. Just install Xcode, select "iPhone Simulator" as the target, and click the Run button.
If you can find a friend who has a developer account, they might be willing to sign your app with their private key. Build/Archive the app without signing it, email it to them along with your device UDID and a few other details, they will have to create a provisioning profile and then sign the app and email it back to you. Then you can drag it onto iTunes to install the app.
This deployment method is only intended for beta testing code, so it will expire after some months the steps have to be repeated.

How to create a .ipa file in XCode 4.6? [duplicate]

This question already has answers here:
How can I deploy an iPhone application from Xcode to a real iPhone device?
(12 answers)
Closed 10 years ago.
I am trying to put my xcode project on my (jailbroken) iPhone. what can I do? i tried to Archive the product but it is greyed out. Also, when I plug in my iPhone and try to build it with xcode in my iPhone, it says "code signing error". can i do this without paying the 100 bucks for a developer account? I don't want to publish my apps in the app store.
Unfortunately, running your app on a device requires a certificate, which requires a developer account AFAIK.

Difference between Development and Distribution Provisioning Profile on Provisioning Portal? [duplicate]

This question already has answers here:
iPhone development - what is the difference between a development and distribution provisioning?
(2 answers)
Closed 9 years ago.
I am going to activate APNS on my app, so i am having bit confusion over following.
What is basic difference between Development and Distribution Provisioning Profile on Provisioning Portal
I am going activate APNS(Apple Push notification Service) to an Application which i am going to upload on Apple Store. what should i use?
This will be great for me. Thanks in advance.
Just to explain a bit more, the development provisioning profile is for testing your App on a device (iPad, iPhone, iPod Touch), and the distribution profile is used when you're submitting your application to Apple to get it onto the store.
Both profiles are linked to your account as well as keychains on your computer.
If you'd like to install your software on several devices without using the App Store, you'll have to create an Ad Hoc distribution profile with the device ID numbers, and install that profile as well as the software, on all of the devices.
1) Development provisional profile, used for testing your app
2) Distribution provisional profile, used when you are ready to submit your app to the app store
Follow - iPhone development - what is the difference between a development and distribution provisioning?