Skip to main content
Participant
August 12, 2017
Answered

How do I export for AIR iOS without a provisioning profile?

  • August 12, 2017
  • 1 reply
  • 1293 views

I'm trying to export a test file of a mobile app to run on  the xCode emulator, not on a device and I'm not trying to get into the App store. I just want to test on a Macbook.

I'm not in the developer program, but I was able to create a certificate through xCode. However, Animate CC won't let me export for iOS without a Provisioning Profile. Is there some way to get around this or to get/generate a temporary one for emulator testing? I found a fake profile online but Animate couldn't open it.

Any ideas?

This topic has been closed for replies.
Correct answer brianf92336797

Try removing both. I was able to test without setting a certificate or provision. Maybe if you have set a certificate you have to set the provisioning too? If you did want to get them going you would need to make sure the certificate and provisioning were either both Distribution or both Development. Also, you would have had to create an App ID, and make the provisioning be based on that App ID. The ID can be a wildcard, so you could have it be * instead of com.yourname.appname (where you would pick sensible yourname and appname text). Make sure the App ID you’re using in the publishing settings matches the one that was used for the provisioning file.


Thanks Colin.

I couldn't get it to run without both of the cert. and profile in there, but by changing the name of the provisioning profile it did finally export for some reason. (It also automatically changes the id field to match). So anyway, that gets around the problem for now. The app crashes upon launch in the xCode simulator (after extracting it into .app from ipa), but that's a whole new problem.

Thanks for your help!

1 reply

Colin Holgate
Inspiring
August 12, 2017

In the iOS publish settings, General tab, is an iOS Simulator SDK path you have to enter. Once you have done that you can test without a certificate or a provisioning profile. The path is likely to need to be this:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk

Participant
August 13, 2017

Thanks so much for your help.

I've got the correct path to the simulator in there but it's still requiring both a certificate and a provisioning profile. Maybe I've got some other info or selection wrong?

Colin Holgate
Inspiring
August 13, 2017

Try removing both. I was able to test without setting a certificate or provision. Maybe if you have set a certificate you have to set the provisioning too? If you did want to get them going you would need to make sure the certificate and provisioning were either both Distribution or both Development. Also, you would have had to create an App ID, and make the provisioning be based on that App ID. The ID can be a wildcard, so you could have it be * instead of com.yourname.appname (where you would pick sensible yourname and appname text). Make sure the App ID you’re using in the publishing settings matches the one that was used for the provisioning file.