xcode 应用程序在构建设置中有冲突的配置设置
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/47281554/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
App has conflicting provisioning settings in Build Settings
提问by siddle
I have generated a certificate and created a provisioning profile for my project so that I could make push notification in it, but when in Build Setting -> CodeSigning
I write the name of provisioning profile and give my team name in General an error appears that AppName has conflicting provisioning settings.
我已经生成了一个证书并为我的项目创建了一个配置文件,以便我可以在其中进行推送通知,但是当Build Setting -> CodeSigning
我写下配置文件的名称并在一般情况下给出我的团队名称时,会出现一个错误,即 AppName 具有冲突的配置设置。
How can I correct this?
我该如何纠正?
The error looks like this
错误看起来像这样
回答by Himanth
Just uncheck Automatically manage signing
and check it again and select appropriate team.
只需取消选中Automatically manage signing
并再次选中并选择合适的团队。
Xcode will automatically fix the causing issue on its own.
Xcode 将自动自行修复引起的问题。
回答by Lal Krishna
Goto Build Settings -> Signing
去 Build Settings -> Signing
Set
放
- Code Signing Identity to IOS Developer(Automatic)
- Provisioning Profile to Automatic
- Provisioning Profile(Deprecated) to Automatic
- IOS 开发人员的代码签名身份(自动)
- 将配置文件配置为自动
- 将配置文件(已弃用)设置为自动
Uncheck "Automatically manage signing", then check it again and reselect the Team.
取消选中“自动管理签名”,然后再次选中并重新选择团队。
回答by Shrikant Phadke
In XCODE 10.X Provisioning profile has garbage values in Provisioning Profile while running for the first time.
在 XCODE 10.X 中,配置文件在首次运行时在配置文件中有垃圾值。
Go to:
去:
Project Target-- > Build Settings -> Double click on Provisioning Profile.
项目目标--> 构建设置-> 双击供应配置文件。
You will see e4abcdbdbacbcd-eercdcsdcvdede-xxxxxxxxxxxx
like this, so you should delete that.
你会看到e4abcdbdbacbcd-eercdcsdcvdede-xxxxxxxxxxxx
这样,所以你应该删除它。
Uncheck "Automatically manage signing", then check it again and reselect the Team. Xcode then fix whatever was causing the issue on its own.
取消选中“自动管理签名”,然后再次选中并重新选择团队。然后 Xcode 自行修复导致问题的任何内容。
Please refer to this - it worked for me.
请参考这个 - 它对我有用。
回答by Francesco Deliro
Deselect automatically manage signing and select your provisioning profile in the respective field.
取消选择自动管理签名并在相应字段中选择您的配置文件。