Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

A valid provisioning profile for this executable was not found only on iPhone 5

Tags:

I try to debug my app with XCode on my device, it works with every Phone except iPhone 5 then I get the message:

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

When I try to renew the certificate with the organizer, Xcode crashes.

like image 341
Sebastian Avatar asked Apr 03 '13 14:04

Sebastian


People also ask

How do I install a provision profile on my iPhone?

New provisioning profileGo to the Profiles section in the developer portal and click the + button. Under Development, select iOS App Development and click Continue. Select the App ID to use from the dropdown menu then click Continue. Select the Certificate(s) to include in the provisioning profile then click Continue.

How do I find provisioning profiles on my iPhone?

The easiest way to manage the provisioning profiles on the iPhone is to open Xcode and select the menu item "Devices and Simulators" in the Window menu. Right-click on your iPhone XS and select "Show provisioning profiles". You'll then be able to see the installed profiles, add new ones and delete existing profiles.

What is a provisioning profile in iOS?

A provisioning profile links your signing certificate and App ID so that you can sign apps to install and launch on iOS devices. You must have a development provisioning profile to sign apps for use with iOS Gateway version 3.4 and later.


1 Answers

I had the same exact problem and solved it following the guidelines from... Apple :)

https://developer.apple.com/legacy/library/technotes/tn2250/_index.html#//apple_ref/doc/uid/DTS40009933

To ensure the Xcode project Bundle Identifier is compatible with the App ID associated with your Provisioning Profiles, perform the following steps.

  • Choose the Xcode "View" menu > Navigators > Project.
  • Select your root project folder in the upper left corner.
    • (The Project Editor will appear in the center pane.)
  • Click on your target in the "TARGETS" section
  • Click the "Build Settings" tab.
  • Scroll down to the "Code Signing Identity" section.
  • If you are building to your development device, click the Value column under "Debug" that is to the right of "Any iOS SDK".
  • In the provisioning profile selection pop-up, check that the current selection reads "For Application Identifiers: " with the intended App ID.
  • If you are building a distribution binary, click the value column under "Release" that is to the right of "Any iOS SDK".
  • In the provisioning profile selection pop-up, check that the current selection reads "For Application Identifiers: " with the intended App ID.
like image 143
Isac Avatar answered Sep 21 '22 15:09

Isac