美文网首页
用Fastlane重签名ipa

用Fastlane重签名ipa

作者: 湛都南 | 来源:发表于2020-08-26 16:12 被阅读0次

    安装

    1.安装ruby

    brew install ruby
    

    2.安装Fastlane Sigh

    sudo gem install sigh
    

    签名

    下面开始签名,执行命令

    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
    

    请执行以下命令:

    xcode-select --install
    

    相关文章

      网友评论

          本文标题:用Fastlane重签名ipa

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