Hi there.
Is there a possibility to specify the archive option “TestFlight (Internal Testing Only)” in the Bitrise “Xcode Archive & Export for iOS” step ?
Apple documented this in their Xcode Cloud Build page : Configuring your Xcode Cloud workflow’s actions | Apple Developer Documentation
1 Like
benb
December 20, 2024, 5:51pm
2
For those who find this question in the future, you can add the below snippet to your export options plist
<key>testFlightInternalTestingOnly</key>
<true/>
The entire plist will look something like:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>distributionBundleIdentifier</key>
<string>*****</string>
<key>method</key>
<string>app-store</string>
<key>provisioningProfiles</key>
<dict>
<key>*****</key>
<string>*****</string>
</dict>
<key>signingCertificate</key>
<string>*****</string>
<key>teamID</key>
<string>****</string>
<key>testFlightInternalTestingOnly</key>
<true/>
</dict>
</plist>
benb
December 20, 2024, 5:52pm
3
We may also modify the step so that the inputs accept this as an option in a simpler way, so keep an eye out on the changelog for the xcode archive step.