我正面临以下问题,无法构建应用程序。
XXX有冲突的配置设置。XXX自动 但配置配置文件通配符已手动配置 指定。中将配置文件的值设置为“自动” 生成设置编辑器,或在目标中切换到手动配置 编辑器。SDK中产品类型“Application”需要代码签名 iOS 10.0的
我也无法选择一个特定的配置文件。
如何解决这个问题?
我正面临以下问题,无法构建应用程序。
XXX有冲突的配置设置。XXX自动 但配置配置文件通配符已手动配置 指定。中将配置文件的值设置为“自动” 生成设置编辑器,或在目标中切换到手动配置 编辑器。SDK中产品类型“Application”需要代码签名 iOS 10.0的
我也无法选择一个特定的配置文件。
如何解决这个问题?
当前回答
如果没有登录,单击Add Account。
然后选择你的团队配置文件,并勾选“自动管理签名”,其他一切都保持在Xcode中。它会自己完成剩下的工作。
其他回答
如果您看到下面的屏幕,并面临所需的代码签名问题,那么以下解决方案之一可能会帮助您。
解决方案1。如前所述,使用Apple ID登录。然后,如果您输入正确的包标识符,您将得到如下选项。然后从列表中选择适当的概要文件。
解决方案2。如果你不想用你的Apple ID登录,那么在项目中更改一个小标志。pbxproj文件。在项目文件中找到以下文本。
/* Begin PBXProject section */
更改标志ProvisioningStyle =自动;to ProvisioningStyle = Manual;参考下图。更改标志后,您将看到从列表中选择适当概要文件的选项。
很好,现在我们可以在general选项卡中分别为Debug和Release选择配置文件,如下图所示。
另外,当你点击“自动管理签名”时,它会执行之前Xcode版本中修复问题所创建的所有过程。
我是这样做的:
关闭Xcode,重新启动 再次打开项目 清洁项目 转到项目设置> general >取消勾选“自动管理配置文件”,然后再次“检查”,它将提示启用。 现在尝试归档源代码
ps:如果遇到任何随机问题,杀死Xcode并重新发行是最好的方法
我的天,为了让它起作用,我不得不做这些。一幅图胜过千言万语。
If you get this error while archiving then continue reading. Go to your app and click on the general tab. Under the signing section, uncheck "Automatically manage signing". As soon as you do that you will get a status of red error as shown below. Now here's the tricky part. You need to uncheck "Automatically manage Signing" in both the targets under your project. This step is very important. Now go under "build settings" tab of each of those targets and set "iOS Developer" under code signing identity. Do the same steps for your "PROJECT". Now do Xcode → Product → Clean. Close your project in Xcode and reopen it again. After this go to the general tab of each of your targets and check "Automatically manage signing" and under team drop down select your developer account Do an archive of your project again and everything should work.
实际上,苹果吗?这是为了让我们的生活更轻松吗?
我修复了它这样做:
为你项目的所有目标设置你的团队。包括扩展。并留下了自动签名管理。