自动打包xcworkspace

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

你可能感兴趣的:(自动打包xcworkspace)