Reputation: 21
One of our former colleagues created an iPad app for a client. This app has recently stopped working out of the blue. The app simply opens and then closes immediately again.
I have attached one of the ipads to a Macbook and used the Organizer in XCode to check the logs. I see the following line being printed right before the app closes: "A valid provisioning profile for this executable was not found."
The provisioning profile has indeed been renewed recently, so I upload the new profile through iTunes onto the iPad. I check via Settings > Profiles and I see my distribution file right there, so I know it's installed correctly.
Stil, the app won't open up at all and continues to write "A valid provisioning profile for this executable was not found."
How can I discover what provisioning profile that app is looking for?
And if I should reinstall the app on the iPad, can somehow give a link on how to do that with XCode?
Upvotes: 0
Views: 491
Reputation: 49730
I think you are not update your product provisioning certificate after your ios dev Account renew.
product provisioning certificate
NOTE: check that your developer/distribution cer not invalide that active in to your keychain with private key. Check you are selected certificate is working and active Mode.
MORE:
If you are using xCode5 then there is certificate profile not displying as like we see in organization tab like xCode4.x
for check your certificate is update you need to follow this bellow steps in xCode5
add you apple id that you are using.
Upvotes: 2
Reputation: 8444
Before connecting the device to the Xcode for installing the app, you have to add that device's UDID to the developer(not distribution) provisioning profile of the application.
And then download and open that profile in organizer window and then update the code signing identity in the build settings on both project and settings.
Now connect the iPad and run the app. Check whether you had missed any of the above.
Upvotes: 1
Reputation: 4143
There is few things that can check first
Check that your bundle ID corresponds to the bundle ID defined in your new provisioning profile.
Check the code signing in build settings of your app target by selecting your app in the left panel of xcode, then select build settings and check code signing identity. Make sure you have your new provisioning profile selected there.
Upvotes: 2