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

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.

Related

Certificate for iOS apps

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.

iPhone development using flash

I'm looking to develop an iphone app using flash. I understand Apple are allowing apps made using flash into the appstore...
I don't own a mac, I'd be doing this on Windows. But to get it to the appstore, I'd need to enroll as a registered developer.
Before I spend money to do this, can I a) upload test apps via Windows? b) submit to apple from windows?
Thanks
James.
No to both of those (AFAIK). I think you will need a mac to upload your app to itunes connect.
I'm also pretty sure that the toolkits that build flash iPhone apps will use the command line compiler from a mac as well to build the final binary so I'm not sure that you can even develop the app without a mac.
Sorry for the bad news :(
PS I'd love someone to correct my answer - I'd like people to be able to build on any platform they wanted but I can also see why apple don't want this :)

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 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!

Development platform for iPhone application

I am new in iPhone application development and currently working on .net (C#).
Please suggest the development platform to create iPhone application so I can adopt very soon.
Which is best among these:
Xcode
Unity using script language c#
tersus
Or any other tool that is not on the list.
Is it possible to develop iPhone application using .NET framework? I'm not sure; I think not.
It's not possible develop application for iPhone on Windows platform. You need official SDK and it's only for Mac OS X.
Look to http://developer.apple.com/iphone/
XCode is the only development environment for iPhone and Objective C is the language it uses for this. You cannot use the .NET framework to build an iPhone app.
The SDK is free to download but you will need register (for free) with apple to get the SDK and all it initially lets you do is build and run apps in a software simulator environment; to put apps on a physical phone you need to buy a license (for $99) and go through a rather convoluted process to set up signing certificates.
The SDK and a variety of sample code and tutorials are all at the Apple iPhone developer site http://developer.apple.com/iphone/.
The official SDK is free but not open-source. All the tools necessary to build iPhone apps are free. HOWEVER you cannot put your apps on an iPhone or iPod Touch device without paying the $99 for the developer license. You can run the apps you build on the iPhone Simulator, which is an application that runs on your Mac. It looks and behaves pretty much like a real iPhone, minus a few obvious things (no GPS, no camera).
Go to http://developer.apple.com/iphone/ to get started.
Learn Obj-C . If you don't have mac then buy one.
Unity looks very promising, but it's cost prohibitive for an indy programmer. I looked at this last week and for me to get the package I needed I'd have to drop down almost $3,000. You'd still have to use XCode to compile your app though.