When i click on the grey large button on xcode ( which we use to switch between simulator and device options ) . It doesnt have the distribution option. It only has debug and release options. 开发者_Python百科Can anybody tell me wats wrong ?
You need to create a Release configuration. In your Project/Target inspector, go to Configurations tab, and create one.
Use the release option with your distribution certificate, and create a provisioning profile with your App ID and device UUIDs. Make sure to select the Ad Hoc option instead of the App Store option in the provisioning portal.
精彩评论