Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

A valid provisioning profile for this executable was not found when trying to run my app on device

Tags:

ios

iphone

ios7

I am banging my head against this for over a day now, I had uploaded an app to the apple store some days ago, it was rejected. I made the changes and now want to test the app on my phone again, each time I do I get a weird message telling me that there is no valid provisioning profile. I am a newbie to iOS.

I checked various questions googled around and everything is set up as explained. Why this weird error.

Clicking on window> organiser I see both my valid profile and my iPhone with a green signal. I wonder where the problem is! Any help?

like image 340
User3 Avatar asked Jun 10 '14 08:06

User3


2 Answers

For testing App in to your device you need to do following steps:

  • From the iOS Developer Program you need to add your device UDID from enter image description here

enter image description here

enter image description here

  • After adding Device UDID you need to create Creating a Developer provisional profile and select all device.

  • Download this created Developer provisional profile and install as we did normally

  • In Xcode setting correct Bundel Identifire that is you setting in to developer provisional profile (com.xyz.devTesting)

  • setting code sign from target-->build phase-->code sign choose developer provisional that must appear in to list.

now all set and connect you device with xcode and run you project that must run in to you device.

like image 158
Nitin Gohel Avatar answered Sep 20 '22 14:09

Nitin Gohel


+1 to banging my head against the wall for a day or two...

Also check this setting:

Build Settings -> Code Signing -> Provisioning Profile

What worked for me was setting it to "Automatic" after following the steps here: A valid provisioning profile for this executable was not found... (again)

like image 27
kmiklas Avatar answered Sep 22 '22 14:09

kmiklas