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

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

问题描述

我面临以下问题,无法构建应用程序.

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

XXX 的配置设置存在冲突.XXX 是自动的已配置,但已手动配置配置文件通配符指定的.在配置文件中将配置文件值设置为自动"构建设置编辑器,或切换到目标中的手动配置编辑.SDK 中的产品类型应用程序"需要代码签名'iOS 10.0'

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 开发人员".对您的项目"执行相同的步骤.

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 → Product → Clean.在 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.

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

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

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

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