Nir Gofman
Nir Gofman

Reputation: 45

Run xcode project with distribution profile on it

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

Answers (2)

Saggy
Saggy

Reputation: 465

Yes, you can do by applying small tweak.

  • Open you Xcode project
  • click on your target.
  • choose edit scheme from list.
  • choose Run tab from left.
  • select info tab from top.
  • select Build Configuration and choose release from drop-down list.

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

Midhun MP
Midhun MP

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

Related Questions