自动打包xcworkspace
2020-01-06 本文已影响0人
维若
Package_Path=PWD/Package/
Archive_Path=$PWD/Package/kiosoft.xcarchive
Clean
xcodebuild clean -project "Package_Path/Package/PackageLog.txt"
Archive
xcodebuild archive -workspace "Archive_Path" quiet>"$Package_Path/Package/archivelog.txt"
export
xcodebuild -exportArchive -archivePath "Export_Path" -exportOptionsPlist "$PWD/PackageSH/****.plist" -allowProvisioningUpdates