SDK“iOS 10.0”中的产品类型“应用”需要代码签名 - StickerPackExtension需要开发团队错误 [英] Code signing is required for product type 'Application' in SDK 'iOS 10.0' - StickerPackExtension requires a development team error

查看:844
本文介绍了SDK“iOS 10.0”中的产品类型“应用”需要代码签名 - StickerPackExtension需要开发团队错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到以下问题,无法构建应用程序。

I am facing the below issue and am unable to build the application.


XXX的配置设置存在冲突。 XXX自动配置
,但配置配置文件WildCard已手动
指定。在
构建设置编辑器中将配置配置文件值设置为自动,或者切换到目标
编辑器中的手动配置。 SDK
'iOS 10.0'中的产品类型'Application'需要代码签名

XXX has conflicting provisioning settings. XXX is automatically provisioned, but provisioning profile WildCard has been manually specified. Set the provisioning profile value to "Automatic" in the build settings editor, or switch to manual provisioning in the target editor. Code signing is required for product type 'Application' in SDK 'iOS 10.0'

我也无法选择特殊情况。

I am also unable to choose a particular profile.

如何解决此问题?

推荐答案

神圣的莫莉,我必须做这一切才能让它发挥作用。一张图片胜过千言万语。

Holy molly, I had to do all this in order for it to work. A picture is worth a thousand words.


  • 如果归档时出现此错误,请继续阅读。

  • 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.

现在进入每个目标的构建设置选项卡,并在代码签名身份下设置iOS Developer。为PROJECT执行相同的步骤。

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".

现在做Xcode→产品→清洁。在Xcode中关闭您的项目并重新打开它。

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.

真的,Apple?这应该让我们的生活更轻松吗?

Really, Apple? Was this supposed to make our lives easier?

这篇关于SDK“iOS 10.0”中的产品类型“应用”需要代码签名 - StickerPackExtension需要开发团队错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆