安裝
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
更新的話使用安裝命令即可,安裝和更新fastlane過程至此完畢设拟!
sudo gem install fastlane --verbose //安裝fastlane
fastlane --version //安裝成功后查看版本