美文网首页
自动打包xcworkspace

自动打包xcworkspace

作者: 维若 | 来源:发表于2020-01-06 17:08 被阅读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

    相关文章

      网友评论

          本文标题:自动打包xcworkspace

          本文链接:https://www.haomeiwen.com/subject/atbkactx.html