gpt4 book ai didi

ios - Jenkins 或远程登录上的 FaSTLane 错误 65

转载 作者:塔克拉玛干 更新时间:2023-11-02 22:01:08 32 4
gpt4 key购买 nike

我知道这是一个已知问题,并且尝试了几次回答,但这次我发现我觉得很奇怪的情况。当对第一个 Pod 进行代码签名时,日志会告诉我们可怕的 Error 65errSecInternalComponent

  • 在 Jenkins 上运行时,我的构建失败
  • 在 CI 机器上手动运行时,通过 SSH 登录并执行 bundle exec faSTLane appstore失败
  • 当我登录远程桌面或物理访问 CI 机器时,构建SUCCEEDS

我在构建之前将 security unlock-keychain 命令包含在 shell 脚本中。

bundle updateexport FASTLANE_DISABLE_COLORS=1export APP_IDENTIFIER=com.example.MyAppsecurity unlock-keychain -p topsecret ~/Library/Keychains/codesign.keychain && bundle exec fastlane appstore

我也试过其他巫术,比如doing other magic with keychain

当直接在 CI 服务器控制台(或通过远程桌面)上运行时,它运行完美,不会提示输入用户密码等。我想知道有什么不同?

FaSTLane 版本为 2.106.0(最新)。

当执行 Embed Pods Frameworks 时,构建像其他用户一样失败:

▸ Running script '[CP] Embed Pods Frameworks'** ARCHIVE FAILED **The following build commands failed:PhaseScriptExecution [CP]\ Embed\ Pods\ Frameworks /Users/ci/Library/Developer/Xcode/DerivedData/BackOffice-gprttmucbsbjiifnxdulcnwierfb/Build/Intermediates.noindex/ArchiveIntermediates/BackOffice_AppStore/IntermediateBuildFilesPath/BackOffice.build/Release-iphoneos/BackOffice.build/Script-7E4F6707694226143D2E7E0B.sh(1 failure)[15:59:39]: Exit status: 65+---------------+-------------------------+|            Build environment            |+---------------+-------------------------+| xcode_path    | /Applications/Xcode.app || gym_version   | 2.106.2                 || export_method | app-store               || sdk           | iPhoneOS11.4.sdk        |+---------------+-------------------------+[15:59:39]: ▸ total size is 481485  speedup is 1.00[15:59:39]: ▸ Code Signing /Users/ci/Library/Developer/Xcode/DerivedData/BackOffice-gprttmucbsbjiifnxdulcnwierfb/Build/Intermediates.noindex/ArchiveIntermediates/BackOffice_AppStore/InstallationBuildProductsLocation/Applications//BackOffice.app/Frameworks/ACEExpandableTextCell.framework with Identity iPhone Distribution: MyCompany Inc. (XXXXXXXXXX)[15:59:39]: ▸ /usr/bin/codesign --force --sign CB480CDBA0169C56DA9597D6941095F254D89B3B  --preserve-metadata=identifier,entitlements '/Users/ci/Library/Developer/Xcode/DerivedData/BackOffice-gprttmucbsbjiifnxdulcnwierfb/Build/Intermediates.noindex/ArchiveIntermediates/BackOffice_AppStore/InstallationBuildProductsLocation/Applications//BackOffice.app/Frameworks/ACEExpandableTextCell.framework'[15:59:39]: ▸ /Users/ci/Library/Developer/Xcode/DerivedData/BackOffice-gprttmucbsbjiifnxdulcnwierfb/Build/Intermediates.noindex/ArchiveIntermediates/BackOffice_AppStore/InstallationBuildProductsLocation/Applications//BackOffice.app/Frameworks/ACEExpandableTextCell.framework: errSecInternalComponent[15:59:39]: ▸ Command /bin/sh failed with exit code 1

最佳答案

我在我的 Jenkins 服务器上遇到了同样的问题。为了修复它,我在匹配操作中使用了以下标志

keychain_password: "my_Mac_Password"

一旦我能够让它工作一次,我就把它拿出来了。

您也可以尝试 unlock_keychain如果您没有使用匹配,请采取行动。

关于ios - Jenkins 或远程登录上的 FaSTLane 错误 65,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52837998/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com