I'm trying to create a bot to automatically make an iOS distribution IPA as described in the "What's New in Signing for Xcode and Xcode Server" session.
According to the session, I need to configure the Archives preference to be "Use Custom Export Options plist", and the plist I supplied looks as follows:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-/
<plist version="1.0">
<dict>
<key>signingStyle</key>
<string>automatic</string>
<key>method</key>
<string>app-store</string>
</dict>
</plist>
Then, in the signing tab I have the two "Allow Xcode Server..." boxes checked, and my Developer team configured. I added my distrubution certificate as well.
When I integrate, what I see in the reports navigator:
Assertion: Provisioning profile "iOS Team Provisioning Profile: *" doesn't support the App Groups capability.
Assertion: Provisioning profile "iOS Team Provisioning Profile: *" doesn't support the group.com.mycompany.myapp App Group.
Assertion: Provisioning profile "iOS Team Provisioning Profile: *" doesn't include the com.apple.security.application-groups entitlement.
Assertion: Code signing is required for product type 'App Extension' in SDK 'iOS 11.0'
The app contains a couple of app extensions with it.
To further diagnose, I viewed the Raw Build log in the reports navigator. What I see at the end are the above assertions, labeled as Code Signing Errors. It looks like the last thing attempted was building my Today Extension:
=== BUILD TARGET myAppTodayExtension OF PROJECT myproject WITH CONFIGURATION Release ===
Check dependencies
What I see though is that earlier, several targets are built successfully: a dynamic framework, a Notification Service Extension, a Notification Content Extension, and a 3rd party library.
Going back to the errors, I took a look at the Target settings for my Today Extension. Clicking the "i" button next to Xcode Managed Profile says that the target has the app group capability, is part of the correct app group, and has the com.apple.security.application-groups entitlement.
So I'm not really sure what's going wrong here. Any help would be appreciated.