Today Widget扩展的配置文件 [英] Provisioning profile for Today Widget extension

查看:144
本文介绍了Today Widget扩展的配置文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试提交我的应用程序以提交但是我遇到了代码签名的问题。

I am trying to archieve my app for submission however I am running into issues with code signing.

基本上我的应用程序有一个Today Widget扩展。我不确定我应该将配置文件设置为什么。我假设我只使用我用于我的应用程序的相同配置文件,但是我收到此错误:

Basically I have a Today Widget extension for my app. I am unsure about what I should be setting the provisioning profile as. I assumed that I would just use the same profile that I have used for my app, however I get this error:

在构建设置中指定的配置文件(AppName)的AppID为BundleID,与您的包标识符BundleID2不匹配。 Xcode可以通过从会员中心下载新的配置文件来解决此问题。

我当然可以点击修复问题,但这实际上解决了问题?它只是将我的分发设置更改为iOS Developer并为自动提供配置文件。

I can of course click 'Fix Issue', but does this actually solve the problem? It just changes my distribution settings to 'iOS Developer' and providing profile to 'Automatic'.

推荐答案

我正在努力问题,并通过这种方式解决:

I was struggling with the same problem, and resolved it this way:


  • 您需要为配置门户配置一个应用ID(我假设您拥有 com.apple.yourappname 那里)

  • 然后你需要为Today Widget配置第二个App ID(应该是 com.apple.yourappname.something ,其中某些内容是您的小部件的名称,例如今天)

  • You need one App ID configured to the provisioning portal (I assume you have your com.apple.yourappname there)
  • You need to then configure the second App ID for the Today Widget (which should be com.apple.yourappname.something, where something is the name for your widget, like Today)

然后,您需要创建两个App Store Distribution配置文件:

Then you need to create two App Store Distribution provisioning profiles:


  • 一个主应用程序

  • 小部件的第二个

然后将每个目标的正确供应配置文件分配给项目设置,并设置为分发构建。

Then assign the correct provisioning profiles for each target to the project settings and set to build for Distribution.

这篇关于Today Widget扩展的配置文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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