用Fastlane重簽名ipa

安裝

1.安裝ruby

brew install ruby

2.安裝Fastlane Sigh

sudo gem install sigh

簽名

下面開始簽名,執(zhí)行命令

fastlane sigh resign /Users/Singer/Downloads/xxx.ipa

選擇Signing Identity,輸入重簽命令后會給你Mac中有效的Identity

[11:52:17]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
[11:52:17]: Available identities:
    iPhone Distribution: abc (xxxxx)
        8EC5C89124FJKDS5D3090CBABEDCA980A7C891B9
    iPhone Developer: XFC (xxxx)
        41FC30F693C4F42AC0EB4AD8212F8BE5F9C90EBE

[11:52:17]: Signing Identity: 41FC30F693C4F42AC0EB4AD8212F8BE5F9C90EBE

輸入provisioning文件

Path to provisioning file: /Users/Singer/Downloads/Test.mobileprovision

簽名過程中如果遇到以下問題:

_floatsignTemp/Payload/xxx.app: replacing existing signature
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), 
missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

請執(zhí)行以下命令:

xcode-select --install
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

推薦閱讀更多精彩內(nèi)容