29

I have a Phonegap app which works perfectly in Android. I chose Phonegap as a platform mainly because the same code can be used for Android, iPhone, etc.. My question is though, how can I create iPhone app without actually having Apple hardware (iPhone + Mac) as I am having Windows notebook and HTC Desire HD and I am happy with it :-) My app for iPhone will be free so there is no possibility the app itself with compensate for the money for Apple HW. Can you please sum up some options I have how to deploy ready Phonegap app for iPhone ? Or what is the cheapest real option - e.g. buy used iPhone and some kind of used Mac ?

5
  • For as far as I know you can only compile i-phone apps on MAC-OS, which can not be run under windows. So a used macbook seems the most value option
    – BadSkillz
    Jun 14, 2011 at 6:47
  • if you want to install OS X on pc you could install hackingtos(iatkos) and then instal Xcode to have access to simulator. Basically Iatkos is a hacked map operating system(PS be carefull whitch version you install some of them don't have network drivers)
    – Radu
    Jun 14, 2011 at 6:49
  • 1
    There is a way to deploy applications on your iPhone, iPod using TestAppFlight without MAC and jail breaking your device. Check my post for details. Jul 4, 2012 at 9:17
  • @NikhilMishra Mac = Apple Computer | MAC = Media Access Control. ;)
    – Nathan
    Nov 25, 2012 at 1:44
  • 1
    @Nathan- I messed up with CamelCase at lot of places. Focus on content. Nov 26, 2012 at 8:07

7 Answers 7

22

You can do it by compiling in the cloud with PhoneGap Build.

Check https://build.phonegap.com/

5
  • 1
    Wow, thanks for answer, it was very helpful, I didn't have any idea about this service. It looks promising even in Beta mode.
    – Frodik
    Jun 14, 2011 at 10:52
  • 4
    @Syed Absar, this is false according to the docs. You need a mac to configure the build process.
    – Tom
    Nov 3, 2011 at 17:18
  • 1
    There is a way to deploy applications on your iPhone, iPod using TestAppFlight without MAC. Check my post for details. Jul 4, 2012 at 9:17
  • 2
    following the link i found: "To prepare your certificate, you will need to open the Keychain Access utility on your Mac, and identify the certificate that you use for iOS development."
    – scatman
    Oct 18, 2012 at 7:56
  • Also, you have to use some Apple software called 'Application Loader' to upload to the App Store. It it no longer wholly done via the iTunes Connect website. Jan 30, 2013 at 9:51
12

Looking at the PhoneGap Cloud page here:

https://build.phonegap.com/docs/ios-builds

it mentions this :

"Note: Since PhoneGap Build uses Apple's standard development process to build applications, you will need to sign up for their developer program to build iOS applications on PhoneGap Build. You will also need a Mac to configure your certificate and provisioning profile."

I presume that this is a once-off thing to set up - i.e. you need to "borrow" a mac from somewhere if you don't have one. Does anyone know if this is correct?

4
  • At the minimum, you'll need to borrow a friend's Mac on two occasions, for a couple of hours each time. Jan 30, 2013 at 9:52
  • ..and pay $99 for their developer program? Dec 6, 2013 at 14:20
  • Yes, you need to join the program. They won't even let you read some of the documentation until you do! Feb 17, 2014 at 13:53
  • Now it can be done with win: docs.build.phonegap.com/en_US/… Jan 27, 2016 at 19:05
6

Here is tutorial on How to build iOS application using Windows and OpenSSL. You just need an Apple developer account.

2

You still need a Mac to create p12 bundle which is needed for PhoneGap build.

Mobundler.com is a service which lets you create iOS p12 bundle as well as Java keystore for Android. Mobundler can be used in conjunction with PhoneGap build to achieve this.

4
  • Seems a little insecure if they're making your Java keystore instead of you yourself.
    – trusktr
    Jan 5, 2013 at 7:54
  • Granted it is a convenience tool. Once keystore is generated and downloaded, clicking 'Start over' deletes the keystore from the server.
    – user1480400
    Jan 9, 2013 at 21:08
  • Mobundler was so much nicer than just reading the instructions on how to create a .p12 file myself (on Windows or Mac!). I don't really see how they can abuse their 'powers' anyway...? Jan 30, 2013 at 11:42
  • 2
    Help! Mobundler website has closed down. Feb 17, 2014 at 13:50
2

I have used hackintosh in the past in order to simulate a Mac and installed Xcode to build the project for the iOs devices.

The other cheap options are get a Mac mini & a ipod touch.

2

You could try rent a Mac on this cloud service: http://www.macincloud.com

This way, you don't need actual Mac hardware to build your app - only pay/rent when you need to build. However, in the long run it might not be economical.

1

Marmalade SDK is the all Windows end to end solution that I am happy with. Right from compile to deploy everything is in your control and on windows - No server side compiles or sending zip files around waiting for someone to send you back files that you could deploy on IOS.

But you have to like using Visual Studio C++ ...

1
  • 1
    ...which no-one likes. ;-)
    – Alastair
    Jan 27, 2014 at 19:54

Not the answer you're looking for? Browse other questions tagged or ask your own question.