Error when export archive

前端 未结 1 1633
旧时难觅i
旧时难觅i 2021-01-06 22:09

I have problem with using Export function in Xcode (\"Your account already have distribution certificate\") so I used solution with xcodebuild. It produce IPA f

相关标签:
1条回答
  • 2021-01-06 22:22

    If you are using Mac OSX 10.9.5 or later, then there is an issue with OS codesigning with V2 signature.

    So, use --no-strict flag with codesign --verify to getover this error.

    If you're using PackageApplication to create an .ipa file, then

    Edit the PackageApplication perl script tool using vi PackageApplication command and update codesign function occurrences to pass "--no-strict" parameter.

    Example:

    my $result = runCmd("/usr/bin/codesign", "--verify", "--no-strict", "-vvvv", , $plugin );

    I was facing same and got following response from Apple Dev Team. The issue is resolved for me.

    The command line tool “codesign” has changed in 10.9.5 and 10.10, you need to pass “--no-strict” option to the command, (the problem has been reported and will be fixed). To workaround the problem, please save a copy and modify PackageApplication to pass “—no-strict” to codesign, you can locate PackageApplication by running the following:- xcrun -sdk iphoneos -f PackageApplication

    0 讨论(0)
提交回复
热议问题