Xcode 8 shows error that provisioning profile doesn't include signing certificate

后端 未结 30 1959
太阳男子
太阳男子 2020-11-28 17:55

Xcode 8 shows error that provisioning profile doesn\'t include signing certificate.

This issue is with Xcode-8 only with Xcode 7, same provisioning profile showing r

30条回答
  •  我在风中等你
    2020-11-28 18:29

    You may also solve code signing issues with great Fastlane toolkit. Authors put a lot of effort to effectively automate building, signing iOS apps (and more).

    So in the mentioned suite, there is tool sigh which magically resolves any signing issues, hence the name :) Nice thing here is, that this tool encapsulates a knowledge about common signing issues and can detect and resolve most of them.

    Fastlane is installed as Ruby gem:

    gem install fastlane

    And then simply invoked:

    fastlane sigh --development

    Answer two questions, and voila:

    [11:56:55]: No existing profiles found, that match the certificates you have installed locally! Creating a new provisioning profile for you
    [11:57:01]: Creating new provisioning profile for 'com.myapp' with name 'com.myapp Development'
    [11:57:06]: Downloading provisioning profile...
    [11:57:09]: Successfully downloaded provisioning profile...
    [11:57:09]: Installing provisioning profile...
    

    Finally, go to Build Settings -> Signing, and switch to newly created provisioning profile, whose name you just saw in the command output.

    This example is for development code signing problem (running on the device). Check sigh documentation for all other options.

提交回复
热议问题