martin ratcliffe
Posts: 0
Joined: Tue Sep 24, 2013 8:58 pm

iOS build fails with 'Oh no! It wasn't supposed to happen but the build failed'. I have tried several times

I am trying to setup my app so as i can test on iOS devices. It builds to apk fine but i get the above error when trying to build to a ipa file.,

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

iOS build fails with 'Oh no! It wasn't supposed to happen but the build failed'. I have tried several times

Hi Martin,

To build your IPA file you must have:

  • Apple certificate (***.p12)

  • Apple provisioning profile (***.provision)

  • Bundle ID (for example, we use com.exadel.***) - you can find it in your Apple certificate. Bundle ID can only consist of the Latin alphabet letters and dots. Also see http://stackoverflow.com/questions/34...

    So if you want to install your app on iPhone you would need to join the iOS Developers Program here https://developer.apple.com/programs/... (you need to pay Apple $99 for Developer Program to be able to build .ipa file and publish apps).

martin ratcliffe
Posts: 0
Joined: Tue Sep 24, 2013 8:58 pm

iOS build fails with 'Oh no! It wasn't supposed to happen but the build failed'. I have tried several times

I am already part of the developer program and have added the apple cert (p12) and provisioning to Appery Settings it will warn you if these are not set.

I have done some investigation though and it looks like a created the p12 file with an invalid country code. It now compiles and produces a ipa file

Return to “Issues”