Can iOS apps made in Phonegap be compiled in Windows?

Asked

Viewed 2,901 times

4

Phonegap Builder serves to compile the apps for you, but in iOS gives error when compiling. What do I need to build on iOS using Phonegap Builder? What kind of key does it take to build it?

I found this phonegap link: http://docs.build.phonegap.com/en_US/signing_signing-ios.md.html

Someone could put more clearly how to build an iOS app using Windows?

inserir a descrição da imagem aqui

2 answers

3


I work professionally with Phonegap, so I can answer this question for you.

Can’t do it without a Mac.

But why?

Phonegap uses the concept of webview. It creates a standard directory stricture and we usually develop it as a backup page. Phonegap is responsible for creating the project for the platform in question, distributing all the sources we write and plugins, and building/deploying the project to a specific platform.

The build is not magical, it simply uses the sdk that should already be properly installed on the computer. In your case, to build an Ios project you need to have the Apple SDK (Xcode), which only runs on your MAC.

That is why it is not possible to do an iOS project in windows.

For your information, there are solutions that allow you to build an iOS app in windows, but these solutions still rely on a mac as a server. I’m talking about Xamarin.

  • Edgar just a doubt, It is possible to use a HACKINTOSH in a vm to make a build of an iOS project?

  • 1

    @haykou I have never tried. Hackintosh apart from not being an official tool, installing it is an arduous task. I have never met someone who managed to develop professionally using hackintosh, but if you have a vm running on your pc you can try to install Xcode.

  • Very good answer, could you put more information on Xamarin? No problem who compiles is a mac server, give that to compile without having a Mac.

  • @Felipejorge I’ve never used Xamarim, I only know it by name. One of the reasons I have never used is that it costs expensive, I think more game buy a used Mac even...

  • I managed to compile on Windows. I generated the file and downloaded it from iTunes to my iPhone to test it. It was very boring the process and unfortunately I did not document. I even stopped my project because I was too lazy to repeat the process, because when I tried to generate again, some certificate expired and did not compile. But these days I intend to stop and redo everything calmly and put here the solution. I had to do several things via command line, I think it was precisely to generate the files using a Mac Server around.

  • @Joaopaulo these steps you used are described step-by-step on Xamarin’s website.

Show 1 more comment

1

Browser other questions tagged

You are not signed in. Login or sign up in order to post.