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

后端 未结 30 1359
误落风尘
误落风尘 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:32

    Try either of the following

    1.Removing and adding ios platform and rebuild the project for ios

    ionic cordova platform rm ios
    ionic cordova platform add ios
    ionic cordova build ios --release
    

    2.Changing the Xcode Build Setting

    The solution was to uncheck it, then check it again and reselect the Team. Xcode then fixed whatever was causing the issue on its own.

    3.Change the following code in platform

    This didn’t make any sense to me, since I had set the project to auto sign in xcode. Like you, the check and uncheck didn’t work. But then I read the last file path given and followed it. The file path is APP > Platforms > ios > Cordova > build-release.xconfig

    And in the file, iPhone Distribution is explicitly set for CODE_SIGN_IDENTITY.

    Change:

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

    To:

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

提交回复
热议问题