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

后端 未结 13 1327
慢半拍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:34

    I had the same issue this morning, and wasted about two hours desperately trying to fix it.

    "Code Sign error: No matching provisioning profile found: Your build settings specify a provisioning profile with the UUID "0C60982A-9F45-4737-8135-505126A6DC2E", however, no such provisioning profile was found. "

    What I learned is this:

    If XCode ever reports that it can't find a Provisioning Profile, but just quotes the GUID, then give up trying to use your initiative, create new Profiles or Certificates, and get ready to hack.

    The only way I could stop this error from happening (even after adding valid Provisioning Profiles) was to manually edit the .pbxproj file within the *.xcodeproj package.

    Do a search for the GUID within this file, strip it out, and finally - finally - XCode will stop complaining.

    Seriously, this is 2014, why is Apple's development environment such a dinosaur ?

    Year after year, it's just bad... and they prefer to add a second programming language to it, rather than actually improve its usability.

    (Sorry.. I'm in a bad mood after wasting my morning on this...)

提交回复
热议问题