Xcode 7: App installation failed: A valid provisioning profile for this executable was not found

后端 未结 12 978
悲哀的现实
悲哀的现实 2020-12-13 03:17

I have already searched and almost implemented max solution but it\'s not installing any app even though if I am creating just sample single view app.

相关标签:
12条回答
  • 2020-12-13 03:58

    I was having this issue because the date/time on my iPhone was not the same as that on my Mac running Xcode ( i changed the date on my iPhone while testing some app). On my iPhone, i went to Settings > General > Date & Time > Set Automatically

    This fixed it

    0 讨论(0)
  • 2020-12-13 04:02

    For Xcode 8 / Swift 3.0 In my case, for my app target and my extension in "General" I check "Automatically manage signing" and it work

    0 讨论(0)
  • 2020-12-13 04:05

    In my case, I went to the Apple Developer website and added the phone to the Provisioning Profile. Then I re-downloaded the Provisioning Profile and worked =)

    0 讨论(0)
  • 2020-12-13 04:08

    Make sure you have added device UDID in your provisioning profile.

    • Go to provisioning portal.
    • Edit provisioning profile.
    • Make sure device is checked.
    • Done, download
    • Use new Profile

    Another possible reason: Device date is set to later than the expiry of you provisioning profile.This is very weird but, it could happen.

    0 讨论(0)
  • 2020-12-13 04:08

    In my case it was that the running option in the building scheme was set to Release so it was trying to sign it using the appstore provisional profile not the development or the adhoc one. I had to set it to Debug to fix this!

    0 讨论(0)
  • 2020-12-13 04:09

    The following worked for me:

    1. Install the app using Personal provision profile (re-install after going into your phone settings and trusting the profile)
    2. Delete the app from ypur phone
    3. Switch back to registered developer profile and try again
    0 讨论(0)
提交回复
热议问题