Creating iOS Application from Defold

I guess there is something wrong.

I created iOS application using “Project -> Bundle -> iOS Application” and I’ve got two files: .app and .ipa.
I tried to install .ipa on my device via iTunes and it doesn’t work: installation process stucks and nothing happens.
Then I tried to install .app using iso-deploy and it worked. Moreover, I unzipped .ipa file, got .app out of it and installed that .app using ios-deploy - works.

I guess the case with iTunes should also work, right? Currently it doesn’t.

1 Like

The installation process on iOS is not very verbose in what is going wrong, usually it just hangs or stops with a generic message. Have you triple-checked the provisioning profile you are using and sure it includes the device you are installing on? http://stackoverflow.com/questions/20672448/app-stuck-on-installing-ipa-from-itunes

1 Like

Ragnar you are right as always.

I didn’t notice that several code signing identities were installed on my machine. And I was picking wrong one for my provisioning profile when singing Defold application. XCode picks correct one automatically.
So, I deleted all the provisioning profiles from my machine and reinstall mine. Everything works fine - now I can install the app via iTunes. I still don’t understand what exactly I’ve done though and why I had another code signing identity before.

Anyway, the problem was incorrect “identity + provisioning profile” combination when signing iOS application.

3 Likes