Post

Replies

Boosts

Views

Activity

The build is missing information from the .entitlements file.
I’m trying to fix an issue with a pipeline that automatically distributes an app to the App Store (TestFlight). Unfortunately, universal links don’t work because the .entitlements file in the build doesn’t include the specified associated domains, even though they are defined. I’ve double-checked the certificates, provisioning profiles, and Xcode settings — everything seems correct. Therefore, I assume the issue lies in the build commands, which are as follows: Create Archive xcodebuild -workspace ios/ClientDomain.xcworkspace -scheme ClientDomain archive -sdk iphoneos -configuration ClientDomain -archivePath ios/ClientDomain.xcarchive CODE_SIGN_STYLE=Manual CODE_SIGN_IDENTITY="Apple Distribution: Company Name (XXXXXXXXXX)" PROVISIONING_PROFILE=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx CODE_SIGNING_ALLOWED=No Export Archive xcodebuild -exportArchive -archivePath ios/ClientDomain.xcarchive -exportPath ios -exportOptionsPlist ios/exportOptions.plist I also want to provide files I use, in order to make sure I don't have any mistakes: ClientDomain.entitlements <?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>com.apple.developer.associated-domains</key> <array> <string>applinks:www.site.com</string> <string>webcredentials:www.site.com</string> </array> </dict> </plist> exportOptions.plist <?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>destination</key> <string>export</string> <key>generateAppStoreInformation</key> <false/> <key>manageAppVersionAndBuildNumber</key> <true/> <key>method</key> <string>app-store-connect</string> <key>provisioningProfiles</key> <dict> <key>com.bundle.app</key> <string>xxxxx-xxxxx-xxxxx-xxxxx-xxxxx</string> </dict> <key>signingCertificate</key> <string>Apple Distribution: Company Name (XXXXXXXXXX)</string> <key>signingStyle</key> <string>manual</string> <key>stripSwiftSymbols</key> <true/> <key>teamID</key> <string>XXXXXXXXXX</string> <key>testFlightInternalTestingOnly</key> <false/> <key>uploadSymbols</key> <true/> </dict> </plist> I'm curious, how people usually distribute their apps to App Store. What if I do something wrong?
1
0
72
5d