build settings specify a provisioning profile with the UUID

前端 未结 17 1704
逝去的感伤
逝去的感伤 2020-12-29 19:15

I cannot seem to be able to archive an app on a new computer. I created new provisioning profiles for distribution and development. I created a new Certificate Signing Req

相关标签:
17条回答
  • 2020-12-29 20:01

    Given up on all of the above. The only thing that worked for me was:

    1. Delete certs and profiles from developer portal
    2. Delete certs and profiles from mac
    3. Recreate certs and profiles in developer portal, download and install on mac
    4. Delete bundle identifier from 'General' tab in xcode
    5. Re-add bundle identifier
    6. Assign new profiles and code signing entities (dev and prod) in xcode code signing
    7. (clean again), build, deploy to device/simulator as a test
    8. Archive and upload to itunes current version

    On step 7, xcode requested access to keychain (which it did not do in other solutions stated above), once granted - it worked.

    Same for step 8.

    Not sure what was going on (my certs and profiles were only 3 months old), and I admit this was a 'brute force' method - but it worked.

    Good luck.

    0 讨论(0)
  • 2020-12-29 20:03

    Deleting the DerivedData for the project worked for me:

    rm -rf ~/Library/Developer/Xcode/DerivedData/AppName
    
    0 讨论(0)
  • 2020-12-29 20:04

    This is a known issue of Xcode 7.1. In my case, recreating the profile was the only successful workaround

    1. Delete the previous distribution profile at the Member Centre
    2. Recreate the distribution profile
    3. Archive with the recreated profile
    0 讨论(0)
  • 2020-12-29 20:05

    I opened project.pbxproj with text editor and searched for UUID and delete the line like this PROVISIONING_PROFILE = "UUID";

    0 讨论(0)
  • 2020-12-29 20:08

    I know its too late to put an answer here but this question comes up at the top after searching this issue. I managed to solve this by selecting the project and in Build settings changed the UUID options to what I wanted.

    enter image description here

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