偷懶的iOS 自動打包

2021-07-26 02:47:04 字數 693 閱讀 9147

最近上傳很頻繁,因為是沒有測試,所以也沒有用別人的什麼一套東西,自己做了個某某某定製

rm -rf  /users/mumu/desktop/***x.xcarchive

rm -rf /users/mumu/desktop/***xipa.ipa

cd desktop/***x

xcodebuild clean -workspace ***x.xcworkspace -scheme ***x -configuration release

xcodebuild archive -workspace ***x.xcworkspace -scheme ***x -archivepath /users/mumu/desktop/***x.xcarchive

xcodebuild -exportarchive

-archivepath /users/mumu/desktop/***x.xcarchive -exportpath /users/mumu/desktop/***xipa -exportformat ipa -exportprovisioningprofile

"ad hoc: com.***.***xx"

fir publish /users/mumu/desktop/***xipa.ipa //我自己需要用fir平台測試

自己找個記事本複製下來,花幾分鐘,換成自己的工程。

IOS行貨自動打包

常見步驟如下 1 清理工程 usr bin xcodebuild target targetname clean2 編譯工程 usr bin xcodebuild target targetname3 打包 如果是含簽名的包,上面兩個命令需要增加一些引數。xcodebuild target targ...

IOS行貨自動打包

常見步驟如下 1 清理工程 usr bin xcodebuild target targetname clean2 編譯工程 usr bin xcodebuild target targetname3 打包 如果是含簽名的包,上面兩個命令需要增加一些引數。xcodebuild target targ...

iOS自動打包指令碼

最近比較對指令碼感興趣,但是學起來,感覺不但很多編輯器,而且指令碼種類眾多,而且實現方法也比較多,所以所學以shell指令碼為準,編輯器以vim,但是大同小異,大家也可以參考。首先貼上 bin sh 工程絕對路徑 cd 1 project path pwd build資料夾路徑 build path...