Since upgrading to xcode 6 yesterday i have problems running an app from xcode on one of my devices and i have no idea why.
The message is:
A valid provisioning profile for this executable was not found
I have checked all the solutions from A valid provisioning profile for this executable was not found and "A valid provisioning profile for this executable was not found" error when trying to run unit tests but everything is correct.
So i have the right provisioning profile set, it is installed in the list of provisioning profiles on the device (and not expired) and the build configuration is debug.
I have no further ideas now.
EDIT: another device has no problem. So it might be specific to iphone 6.
Sign in to your Apple Developer account and navigate to Certificates, IDs & Profiles > Identifiers > Provisioning Profiles. Add a new provisioning profile. Activate App Store. Click Continue.
To run your app in Simulator, choose an iOS simulator—for example, iPhone 6 Plus, iPad Air, or iPhone 6 + Apple Watch - 38mm—from the Xcode scheme pop-up menu and click Run. Xcode builds your project and then launches the most recent version of your app running in Simulator on your Mac screen, as shown in Figure 1-1.
As your profile is working on one device that means issue is related to your iPhone 6 device.
You can try the following steps :
1) When you create your provision profile, check whether your device is selected for that particular device. If not then select and again download the provision profile and install it.
2) Just see in your phone whether you have any expired provision profiles. If yes then delete all expired provision profile first.
3) Delete your application from your device if it is previously installed.
4) Select proper provision profile in your project and hit run.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With