Reputation: 45
I have created an iOS application, and wanted to submit it to the App Store. I saw a tutorial on how to do that, and understood that I need to create a Distribution profile and replace it with the Development profile. So I did that but before sending it to the App Store. I want to check it last with that profile on it (the distribution profile). Can I run Xcode project when I add a distribution profile? because when I tried running it on a real device, an error popped up: "the provisioning profile "XXXXX" was not found". So i went to the Devices tab and tried adding the file of the provisioning profile, and it didn't allow me to.
What should I do?
Upvotes: 1
Views: 3148
Reputation: 465
Yes, you can do by applying small tweak.
Now delete your existing app, from device if exist. And run the app from Xcode.
After completion of compiling for app, it would show some error dialog and will stop execution, ignore it.
Now app is installed on your device with distribution profile. Re-run the app.
Cheers!
Upvotes: 1
Reputation: 107191
You can't use distribution profile to run the app on your device directly from your device.
Now Apple provides beta testing of apps using iTunes Connect. So you can opt for that option as an alternative.
Refer Beta Testing Your iOS App for more details
Upvotes: 5