I get conflicting provisioning settings error when I try to archive to submit an iOS app

后端 未结 30 1351
误落风尘
误落风尘 2020-11-29 14:48

Now I\'m trying to Product>Archive my iOS app to submit. However, I am getting following errors:

AppName has conflicting provisioning settings. AppNam

30条回答
  •  感动是毒
    2020-11-29 15:42

    For those coming from Ionic or Cordova, you can try the following:

    Open the file yourproject/platforms/ios/cordova/build-release.xcconfig and change from this:

    CODE_SIGN_IDENTITY = iPhone Distribution
    CODE_SIGN_IDENTITY[sdk=iphoneos*] = iPhone Distribution
    

    into this:

    CODE_SIGN_IDENTITY = iPhone Developer
    CODE_SIGN_IDENTITY[sdk=iphoneos*] = iPhone Developer
    

    and try to run the ios cordova build ios --release again to compile a release build.

    Reference: https://forum.ionicframework.com/t/ios-build-release-error-is-automatically-signed-for-development-but-a-conflicting-code-signing-identity-iphone-distribution-has-been-manually-specified/100633/7

提交回复
热议问题