fix(ios): bundle export scipt
This commit is contained in:
parent
bf09f968a7
commit
457b9f3d5c
2 changed files with 3 additions and 19 deletions
|
|
@ -3,7 +3,7 @@
|
|||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>method</key>
|
||||
<string>app-store-connect</string>
|
||||
<string>app-store</string>
|
||||
<key>teamID</key>
|
||||
<string>2PZ49Y23LX</string>
|
||||
<key>compileBitcode</key>
|
||||
|
|
|
|||
|
|
@ -7,31 +7,15 @@ set +a
|
|||
|
||||
# Print debug information
|
||||
echo "Debug information:"
|
||||
echo "ASC_API_KEY_PATH: $ASC_API_KEY_PATH"
|
||||
echo "ASC_API_KEY_ID: $ASC_API_KEY_ID"
|
||||
echo "ASC_API_ISSUER_ID: $ASC_API_ISSUER_ID"
|
||||
echo "PROVIDER_ID: $PROVIDER_ID"
|
||||
|
||||
# Verify the auth key file exists
|
||||
if [ ! -f "$ASC_API_KEY_PATH" ]; then
|
||||
echo "Error: Authentication key file not found at: $ASC_API_KEY_PATH"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Auth key file exists at: $ASC_API_KEY_PATH"
|
||||
echo "File permissions:"
|
||||
ls -l "$ASC_API_KEY_PATH"
|
||||
echo "Using local app-store signing via exportOptions.plist (method=app-store)"
|
||||
|
||||
echo "Available code signing identities (security find-identity -v -p codesigning):"
|
||||
xcrun security find-identity -v -p codesigning || echo "No code signing identities found or security tool error"
|
||||
|
||||
# Execute xcodebuild with the environment variables
|
||||
# Execute xcodebuild using local signing (Apple Distribution certificate + Xcode-managed profiles)
|
||||
cd ios && xcodebuild -exportArchive \
|
||||
-archivePath AlerteSecours.xcarchive \
|
||||
-exportPath ./build \
|
||||
-exportOptionsPlist exportOptions.plist \
|
||||
-allowProvisioningUpdates \
|
||||
-authenticationKeyID "$ASC_API_KEY_ID" \
|
||||
-authenticationKeyIssuerID "$ASC_API_ISSUER_ID" \
|
||||
-authenticationKeyPath "$ASC_API_KEY_PATH" \
|
||||
-verbose
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue