Reputation: 643
I try to generate an .ipa file from the command line using XCode 16.2.
I have successfully created a .xcarchive file, yet when I execute the following command:
xcodebuild \
-exportArchive \
-archivePath ${BUILDDIR}/${PROJECT_NAME}.xcarchive \
-exportOptionsPlist ./ExportOptions.plist \
-exportPath ${XCODE_EXPORT_PATH} \
-allowProvisioningUpdates
no .ipa file is generated in (existing) XCODE_EXPORT_PATH directory - only ExportOptions.plist and DistributionSummary.plist files and Packaging.log file.
In ${XCODE_EXPORT_PATH}/Packaging.log file I can see "[MT] Processing step: IDEDistributionCreateIPAStep" followed by execution of ditto
command which should copy some file(s) to /var/folders/xr/.../XCodeDistPipeline.../Packages/${PROJECT_NAME}.ipa file; there are no errors.
Here is my ExportOptions.plist file:
<?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>compileBitcode</key>
<false/>
<key>destination</key>
<string>export</string>
<key>manifest</key>
<dict>
<key>appURL</key>
<string>$AWS_BUCKET/MyApp.ipa</string>
<key>displayImageURL</key>
<string>$AWS_BUCKET/Image.png</string>
<key>fullSizeImageURL</key>
<string>$AWS_BUCKET/Image.png</string>
</dict>
<key>method</key>
<string>debugging</string>
<key>signingStyle</key>
<string>automatic</string>
<key>stripSwiftSymbols</key>
<true/>
<key>teamID</key>
<string>MY_TEAM_ID</string>
<key>thinning</key>
<string><none></string>
</dict>
</plist>
Where can I find that file or what to do to actually generate it?
Upvotes: 0
Views: 22