0

I created the adhoc provisioning files with a friend's device id and when someone else built the app, my friend was able to run it on their iPhone.

I don't own an iphone myself. Now I am trying to build it and upload it to iTunes. Since I don't have the actual device I followed advice here because it the build for archive option was grayed out.

I selected iOS device and the build for archive option became available but the build fails, even though it works fine on the emulator.

Am I doing something wrong?

Note: In code signing I chose iPhone distribution

Community
  • 1
  • 1

1 Answers1

0

Archive builds the Relese configuration where running in the simulator builds the Debug configuration. You need a development and release code signing certificate and development and release provisioning profiles. Every time you update a provisioning profile you need to refresh your provisioning profile library in the Xcode Organizer.

GayleDDS
  • 4,443
  • 22
  • 23