I love Apple because they change Xcode so much that tutorils from 2 years ago are not near true to current versions.
I am trying to generate the App Thinning report for all variants of an iOS app.
This is what the tutorials say:
- Archive your app in Xcode.
- Export your archived app as an Ad Hoc, Development, or Enterprise build.
- In the sheet for setting the development distribution options, choose “All compatible device variants” for app thinning.
- Sign your app and export it to your Mac.
Tutorials fail at #2.
Xcode 15 shows this options.
- Distribute
- Any option there TestFlight Internal Only, Release Testing, Enterprise and Debugging fail miserably. The only option that works is Custom.
- Then I am presented with the same optionsare before. All fail, except App Store Connect.
I have tried using terminal
xcodebuild -exportArchive -archivePath /Users/myMac/Library/Developer/Xcode/Archives/2024-04-29/MyApp 29-04-2024, 16.07.xcarchive -exportPath /Users/myMac/Library/Developer/Xcode/Archives/2024-04-29/ -exportOptionsPlist ./ExportOptions.plist
using this ExportOptions.plis
<?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>thinning</key>
<string><thin-for-all-variants></string>
<key>method</key>
<string>release-testing</string>
</dict>
</plist>
it also fails miserably with this message
2024-04-29 17:10:46.134 xcodebuild[7584:154411] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path "/var/folders/mx/kg3l7c5n1330l4jls7258zw40000gq/T/MyApp_2024-04-29_17-10-46.133.xcdistributionlogs".
error: exportArchive: ipatool failed
AppThinning.StubError(errorDescription: Optional("ipatool failed"))
Thanks Apple for mentioning why ipatool failed.
The logs are all empty.
Can someone please tell how to generate the app thinning report for Xcode version 15 for an iOS app?