自动打包xcworkspace

2020-01-06  本文已影响0人  维若

Package_Path=PWD Export_Path=PWD/Package/
Archive_Path=$PWD/Package/kiosoft.xcarchive

Clean

xcodebuild clean -project "Package_Path/**.xcodeproj" -scheme "****" -configuration "release" >"Package_Path/Package/PackageLog.txt"

Archive

xcodebuild archive -workspace "Package_Path/*****.xcworkspace" -scheme "***" -configuration "release" -archivePath "Archive_Path" quiet>"$Package_Path/Package/archivelog.txt"

export

xcodebuild -exportArchive -archivePath "Archive_Path" -exportPath "Export_Path" -exportOptionsPlist "$PWD/PackageSH/****.plist" -allowProvisioningUpdates

上一篇下一篇

猜你喜欢

热点阅读