How to correct setting up profile stuff for iOS Widget
?
First, I select auto checkbox
, but distribute app steps get some error. so I try with manual setting to figure out what's going wrong as bellow:
- If I not select a profile for
iOS Widget
target, got error:
xxx Widget Extension
required a provision profile with the App Groups feature. ...
- If I select a profile of
iOS Widget
target, got error:
xxx Widget Extension
profile is Xcode managed, but signing required a manually managed profile.
PS: Xcode Version 12.3 (12C33)
Update 11-22:
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.
Update 11-23: ************* This Is The Root Cause ***************
When there's a 3rd pod(QuCore-ThirdParty) included, which can cause distribute step not show Re-sign
step. demo code change
pod 'QuCore-ThirdParty', '3.15.0'
Works version of Distribute App: demo code
- Select a method of distribution: [x] App Store Connect
- Select a destination: [x] Upload
- App Store Connection distribution options: [x] upload your app's symbols to receive symbolicated reports from Apple
Re-sign "Runner"
: [x] Automatically manage signing
Failed version of Distribute App: demo code
- Select a method of distribution: [x] App Store Connect
- Select a destination: [x] Upload
- App Store Connection distribution options: [x] Strip Swift symbols [x] upload your app's symbols to receive symbolicated reports from Apple
Select certificate and iOS App Store profile
: Runner.app: [x] xxx XXXWidgetExtension.appex: [x] xxx