mirror of
https://github.com/XcodesOrg/XcodesApp.git
synced 2026-03-25 08:55:46 +00:00
Use cp -a to preserve symlinks when copying built app
This commit is contained in:
parent
a30e0ff691
commit
56448cdc6b
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ xcodebuild clean -project $PROJECT_NAME.xcodeproj -configuration Release -alltar
|
|||
# Archive the app and export for release distribution
|
||||
xcodebuild archive -project $PROJECT_NAME.xcodeproj -scheme $PROJECT_NAME -archivePath Archive/$PROJECT_NAME.xcarchive
|
||||
xcodebuild -archivePath Archive/$PROJECT_NAME.xcarchive -exportArchive -exportPath Product/$PROJECT_NAME -exportOptionsPlist "${SCRIPTS_DIR}/export_options.plist"
|
||||
cp -r "Product/$PROJECT_NAME/$PROJECT_NAME.app" "Product/$PROJECT_NAME.app"
|
||||
cp -a "Product/$PROJECT_NAME/$PROJECT_NAME.app" "Product/$PROJECT_NAME.app"
|
||||
|
||||
# Create a ZIP archive suitable for altool.
|
||||
/usr/bin/ditto -c -k --keepParent "Product/$PROJECT_NAME.app" "Product/$PROJECT_NAME.zip"
|
||||
|
|
|
|||
Loading…
Reference in a new issue