Certificate for iOS apps - iphone

I am a novice in iOS programming and I have some novice questions.
I am using Xcode 4.2. My app runs well on iPhone 5.0 Simulator but I cannot actually get the IPA file from it. When I use my real iPod Touch, it produces "CodeSign error".
I know that to get IPA file and to avoid "CodeSign error", I need to join iOS Developer program and pay $99 so that I can obtain the certificate for my apps.
So my questions are:
Is this only one way to develop iOS apps?
Are there any workarounds to this issue?
I want to develop my apps and then give them free, do I still have to pay to get the certificate?
Many thanks.

Yes, if you want your apps to be usable on a regular iPhone. You can develop them regardless, you just can't install them on an iPhone.
Yes, you can use a jailbroken iPhone which requires no code signing - at your own risk (not supported nor recommended).
Yes, you need to join the Developer program in order to be able to put your app on the App store - whether free or not is entirely up to you, Apple doesn't care.

Related

how to make a hybrid mobile app as ipad/iphone application?

I have a hybrid mobile application which I created using html5 and jQueryMobile. I need to make it as an ipad/iphone application. Please note I didn’t develop the application in mac or Xcode. So I need to know the steps I should follow to make it as an iphone/ipad application.
I am not supposed to distributing it in apple store. We are supposed to give the application to our clients only.
So here are my questions.
1) What are the steps I need to follow to get it as an ios application and give it to my clients? [Mine is a hybrid mobile app not native mobile app]
2) a) Is it necessary that I need a mac machine with Xcode? [Because hybrid mobile application doesn’t need that, but I am concerned while deploying/testing it in a device whether I need a mac machine]
b) Or ios developer program is enough for me? Because I thought I could get the .ipa file through phoneGap build without having a mac machine.
3) In order to give to the client, not distributing it in apple store, do I need iOS Developer Enterprise Program? [From the following link I feel so]
https://developer.apple.com/programs/which-program/
4) If at all I am distributing it in App Store, is there any criteria apple use to accept the application?
Please help me with proper answer. I can’t tell to my client any excuse later. So I would rather prefer answer from someone who has experience in this area.
Thanks.
1) If I were you, I would get XCode, start an iPhone/iPad app, and write some sort of wrapper with a UIWebView (if you are not willing to fully rewrite in Objective C, which may or may not have a cleaner result and may or may not be easier; it depends on what you are porting).
2) To do what I mentioned above, a Mac with XCode is necessary. However, there are third party programs that can compile iPhone apps, such as Unity, Flash, and PhoneGap. I have always worked with XCode so I cannot give you much advice on those.
3) Yes, you will need to pay for the developer program. You can write code and test with the iPhone Simulator that comes with XCode for free, but to put it on any device, you will need to pay.
4) The short version is that as long as it works, is appropriate, is legal, is useful, and is user friendly, then Apple will accept it. Usually they will only reject if it is a major problem. If you want to learn more, you can read the full version.
1) For distribution you will need an ipa for iphone and ipad built using Xcode or some other platform.
2)
a) You will require mac and Xcode for testing, debugging if not for building the ipa. If your app is using js having XCode and mac helps a lot.
b) Developer program is useful when you want to install and test your app on devices (installing the ipa that you have already created).
3)You will require iOS Developer Program. But its the client that would require the Enterprise programme to register its users devices in the program and distribute the app.
Only if its you who is distributing the app to specific users you will need the Enterprise program.
4) You will require to submit the app for approval to Apple, before making it available in app store. Following is the link for some help on it-
https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/SubmittingYourApp/SubmittingYourApp.html
Hope this helps.

Could someone summarize the iOS Developer Program for a non-English speaker?

I am not a native English speaker, so I have some problems understanding the documentation for the iOS Developer Program. I have paid 99 dollars to be a developer but I don't understand all the certificates, provisioning profiles etc.
Could anybody please tell me what the different things I download are and why I do it in a "easier" language? Would be much appreciated, thanks for your time.
I can try:
Once you are registered you can download SDKs (XCode 4,...) develop Apps and test it on the included iPhone Simulator.
Every iOS App must be tested on the available Devices, such as (iPhone, iPad, iPod Touch, ...), to check that your code works.
To get your App on your Device you need the Provisioning Profile.
Check https://developer.apple.com/ios/manage/overview/index.action for Documentations and Informations.
When you finished developing your App and you want to make your App available on the App Store you then will have to create a Distribution profile.
The certificate stuff is needed, because your Apps are signed with them.
I am not a professional Developer, but I got after reading the Docus and Informations provided by Apple.
Hope that helps.
Yours Raphael

Testing on iPhone Simulator w/o License

I have a few questions to ask. Currently, I'm self-learning iphone programming, and later maybe for mac. I just need to make sure my apps works accordingly.
So do I need a license to test on the iphone simulator? I don't need to test on a real device. I don't intend to put anything up on apps store in the near future.
If no, how do I bypass the code signing error (certs and all)?
If yes... nvm...
For mac, do I need a license to test and run apps on my personal Mac?
Thanks in advance for your help. :D
You can test on the simulator for free, if you register as an Apple developer and download the iPhone SDK. To do so, go here: http://developer.apple.com/programs/register/
You will not be able to test on a real device, but from your question, it looks like this is not an issue. Also, by registering as an Apple developer, you can download and use Xcode to write Mac applications as well.
If you do decide that you need to run the app on an iOS device (even your own) or publish to the App Store, you will have to sign up for the iOS Developer Program, which is $99/year.
It's confusing but the Xcode and the iPhone SDK are completely free. If you want to put your application on your phone or if you want to publish to the app store you will need to pay $100 for a license as compared to Android which is free.
You don't need a developer code sign cert to run apps on the emulator. When you build your app, if you choose to build for the emulator, XCode will sign the code with a self-signed certain, which the emulator will happily accept.
You need the developer cert only if you are going to deploy on a real device.
In addition to the device test limitation, you cannot download and try beta versions of the SDK unless you are a member of the paid program. You can download and install the current release and play with it all you want

iPhone application installation

i am not a member of iPhone developer, i installed one iPhoneOS 2.2 in my computer, and i developed one application. and i created it as a .ipa file and i installed my iPhone but it is not working.
i am sure i am not a iPhone developer, not register in iPhone developer.
is it that problems.
In order for you to be able to officially install applications on the iPhone that you have developed, you need to be part of the iPhone Developer program which costs $99/year.
Without the certificates and provisioning profiles you get by being part of the program, you cannot officially push software to device or submit your software to Apple to be in the App Store.
You can test the applications within the iPhone Simulator without being part of the program.
Other options all include Jailbreaking the iPhone - which I don't know anything about and cannot help you with.
Yup, you have to register with the iPhone developer program (and pay $99) in order to be able to sign the app and run it on your iPhone.

iPhone and iPod Emulator

I intend to write some piece of code for an iPod and an iPhone. so, i'm looking for emulators for those devices.
basically an emulator which will help me test the application I'm writing.
Thanks.
To develop iPhone apps you need to download the iPhone SDK. This includes the tools and libraries to code you applications as well as a simulator to test your code. This tools are available only for intel macs.
You can get the sdk for free here: http://developer.apple.com/iphone/
To test you code in a real iPhone, you will need to join the iPhone Developer Program (http://developer.apple.com/iphone/program/), which is not for free.
Are you talking about writing an application or writing code for your website to display properly on an iPhone?
The former requires a developer subscription with Apple to access their SDK and emulator.
For the latter, there seem to be several emulators out there to test your web site, check out:
http://iphonetester.com/
http://www.testiphone.com/
A Google search for 'iPhone emulator' should find a lot for you.
The iPhone SDK comes with an iPhone simulator that you can use with Xcode during development.
You can download the SDK from http://developer.apple.com/iphone - you need to be a registered iPhone developer, however, although this is free, after which you can use the simulator.
Note that if you want to send your applications to a physical device you need to enrol in the iPhone developer program which starts at $99.
You probably want to actually get an iPhone for that. You'll have to register the $99 but then you'll get the ability to upload apps to your iPhone/pod.
You could also jailbreak your phone/pod and do whatever you want.
There are also apps available that let you transfer stuff to and from your phone in the appstore (at least one free, if I recall correctly)
If you want to do something more with the files than just transfer them to the phone/pod, it's likely that you'll have to jailbreak your phone/pod anyway.
I keep wanting to find a better abbreviation for typing iPod/iPhone. How about iP(od/hone)? Hmm, not better!