Search code examples
iosxcodecode-signingprovisioning-profile

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


I am trying to run my application on a device. I have chosen my provisioning profile with the correct identities (code signing identity), then I have tried to run it, a message has displayed which is "A valid provisioning profile for this executable was not found." I have deleted all the previous profiles and certificates then I have done all the procedures again, and the same message has appeared. enter image description here

Please I need your help. Thank you


Solution

  • Try these things:

    • Make sure you're running the correct target and scheme
    • Make sure you set the profile for the target/scheme that you're trying to run
    • Make sure that you selected a development profile and are trying to run it in development/debug mode
    • Verify in the Keychain Assistant that you have the development certificate and private key installed correctly
    • Restart Xcode

    I can offer you more specific help if you post screenshots of the actual build settings page and the target/scheme you are trying to run. (Black out sensitive information.)