Xcode 5: “No such provisioning profile was found …” error

后端 未结 13 1287
慢半拍i
慢半拍i 2021-02-13 21:46

I\'m trying to distribute a new version of the app (it can be installed OTA) and I got the error:

\"Code Sign error: No matching provisioning profile found: Your

相关标签:
13条回答
  • 2021-02-13 22:14

    Egad… try this first: Our team encountered this exact issue trying to open an updated app with newly download Xcode 5.1 on iOS 7.1 device with a one day tardy profile. Hours later:

    Download and install a new profile (as necessary) then:

    Make sure the BUNDLE IDENTIFIER in your project's Xcode’s GENERAL view matches verbatim what the profile reads on your Developer WEB portal, and then be sure THAT profile is downloaded & installed in Xcode. Select that profile in your BUILD setting, and you could be solved by now (the App then installed on devices without issue), but we also noticed we could to go back to GENERAL view and the FIX button actually worked: it fixed the "not found" profile

    0 讨论(0)
  • 2021-02-13 22:19

    This took me a long time to figure out. I wasn't keen to redo all my profiles and certificates like some of the people suggested. My error message was saying ""Code Sign error: No matching provisioning profile found: Your build settings specify a provisioning profile with the UUID “6278e001-8887-4fe4-a95c-a722c896792f”" but then when I went into ~/Library/MobileDevice/Provisioning\ Profiles and printed out all the files using ls -la I could clearly see the profile there.

    I tried doing a Clean and Clean Build Folder.... I then tried to remove derived data. None of this worked.

    But then when I simply quit Xcode and opened it again it worked

    Xcode must be storing a cache somewhere when it opens up. This seems crazy to me. But what can we do.

    I hope this helps someone.

    0 讨论(0)
  • 2021-02-13 22:19

    I kept running into this issue with Xcode 7.1 and tried some of the solutions above but didn't have any success. What I found did solve the issue was going to Go > Go To Folder > ~/Library/MobileDevice/Provisioning Profiles and deleting all of the provisioning profiles.

    From there I added back the provisioning profiles on an as needed basis and it seemed fix the issue. I'll post back if I find that it doesn't permanently fix the issue, but so far so good.

    0 讨论(0)
  • 2021-02-13 22:19

    Considering everything you set properly still facing issue. Then Just delete all derived data for your project , quit XCode then open your project again.

    It workes for me.

    0 讨论(0)
  • 2021-02-13 22:29

    I was able to get a fix done just by doing the following:

    1. Xcode -> Preferences
    2. Accounts
    3. Select your Apple ID and remove it by clicking the '-' button at the bottom
    4. Click the '+' button at bottom -> Add Apple ID
    5. Login with your Apple ID
    6. Download all certificates again
    7. Specify your profiles in your Build Settings
    8. Build
    0 讨论(0)
  • 2021-02-13 22:30

    If anyone still has this issue - and happens to have setup a workspace with individual projects, I'd suggest you from the root folder do a:

    egrep -R "INPUT_THE_ID_MISSING" *
    

    and remove directly the PROVISIONING_PROFILE = "*****" line from the file in my case, it ended happening that an old xcodeproject has a bad provisioning but I was attempting to archive from within the workspace

    0 讨论(0)
提交回复
热议问题