[英]iOS Widget provision profile issue: how to correct distribute with iOS WidgetKit
How to correct setting up profile stuff for iOS Widget
?如何更正为
iOS Widget
设置配置文件?
First, I select auto checkbox
, but distribute app steps get some error.首先,我 select
auto checkbox
,但分发应用程序步骤得到一些错误。 so I try with manual setting to figure out what's going wrong as bellow:所以我尝试使用手动设置来找出问题所在,如下所示:
iOS Widget
target, got error:iOS Widget
目标,得到错误:
xxx Widget Extension
required a provision profile with the App Groups feature.xxx Widget Extension
需要具有 App Groups 功能的配置文件。 ......
iOS Widget
target, got error:iOS Widget
目标,得到错误:
xxx Widget Extension
profile is Xcode managed, but signing required a manually managed profile.xxx Widget Extension
配置文件由 Xcode 管理,但签名需要手动管理的配置文件。
Provision Profile is not the issue in this case, I have create a new project with same provision profile & Capability, which I can distribute steps without problem.在这种情况下,配置文件不是问题,我创建了一个具有相同配置文件和功能的新项目,我可以毫无问题地分配步骤。
Group Capability in both Widget Extension & app is setupped.设置了小部件扩展和应用程序中的组功能。
When there's a 3rd pod(QuCore-ThirdParty) included, which can cause distribute step not show Re-sign
step.当包含第 3 个 pod(QuCore-ThirdParty)时,可能会导致分发步骤不显示
Re-sign
步骤。 demo code change 演示代码更改
pod 'QuCore-ThirdParty', '3.15.0'
Re-sign "Runner"
: [x] Automatically manage signing Re-sign "Runner"
:[x] 自动管理签名Select certificate and iOS App Store profile
: Runner.app: [x] xxx XXXWidgetExtension.appex: [x] xxx Select certificate and iOS App Store profile
:Runner.app:[x] xxx XXXWidgetExtension.appex:[x] xxx I found the reason:我找到了原因:
The bundle id for extension
need to create manually
on apple's developer website. bundle id for extension
需要在苹果的开发者网站上create manually
。
If there's a bundle id for extension created by Xcode
, just delete
it and manually created one.如果有
created by Xcode
扩展包 ID,只需将其delete
并手动创建一个。
Then create profiles for extension bundle id
manully.然后手动
profiles for extension bundle id
。
Then it should ok for distribution step.然后它应该可以用于分发步骤。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.