Your account does not have permission to create iOS distribution certificates

前端 未结 9 2086
深忆病人
深忆病人 2020-12-29 01:12

I want to upload my app to testflight. when I upload the app Xcode shows this error:

your account does not have permission to create ios distribution

9条回答
  •  天涯浪人
    2020-12-29 01:59

    1. Using keychain, export valid certificate on a computer on which iOS distribution signing identity works. You need two files, one is public - .pem file, and other is private - .p12 file.

    2. Put those files in a folder on computer on which you need signing identity to work.

    3. Open terminal and browse to the folder you've put them in.

    4. First, type: security import .p12 -k ~/Library/Keychains/login.keychain

    5. Then type: security import .pem -k ~/Library/Keychains/login.keychain

    6. Open XCode, go to XCode>preferences>accounts>view details and refresh the apple id you are using

    7. You should have signing identities enabled.

提交回复
热议问题