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
网友评论