Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

xcode "A valid provisioning profile for this executable was not found"

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.

like image 663
patman Avatar asked Mar 31 '15 10:03

patman


People also ask

How do I create a provisioning profile in Xcode 11?

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.

How can I run Xcode simulator on my iPhone?

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.


1 Answers

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.

like image 185
Priyanka Mistry Avatar answered Sep 19 '22 13:09

Priyanka Mistry