Fastlane在步骤健身房失败,获得退出状态:65,CodeSign构建命令失败

时间:2016-04-13 23:31:56

标签: fastlane

很抱歉,如果这是一个愚蠢的问题,这是我第一次使用Fastlane,我遇到了一些问题。

我正在运行命令:

fastlane ios beta

并且该过程在健身房失败,错误如下:

The following build commands failed:
CodeSign /Users/cm/Library/Developer/Xcode/DerivedData/OnDeck-ftohruvlpgqajhhbppffshjfjvwm/Build/Intermediates/ArchiveIntermediates/OnDeck/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/FLKAutoLayout.framework
CodeSign /Users/cm/Library/Developer/Xcode/DerivedData/OnDeck-ftohruvlpgqajhhbppffshjfjvwm/Build/Intermediates/ArchiveIntermediates/OnDeck/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/CocoaAsyncSocket.framework
CodeSign /Users/cm/Library/Developer/Xcode/DerivedData/OnDeck-ftohruvlpgqajhhbppffshjfjvwm/Build/Intermediates/ArchiveIntermediates/OnDeck/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Cosmos.framework
CodeSign /Users/cm/Library/Developer/Xcode/DerivedData/OnDeck-ftohruvlpgqajhhbppffshjfjvwm/Build/Intermediates/ArchiveIntermediates/OnDeck/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/EZLoadingActivity.framework
(4 failures)
[15:52:12]: Exit status: 65
[15:52:12]: Variable Dump:
[15:52:12]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios beta"}
[15:52:12]: Error building the application - see the log above

+------+-------------------------------------+-------------+
|                     fastlane summary                     |
+------+-------------------------------------+-------------+
| Step | Action                              | Time (in s) |
+------+-------------------------------------+-------------+
| 1    | Verifying required fastlane version | 0           |
| 2    | default_platform                    | 0           |
| 3    | cocoapods                           | 9           |
| 4    | gym                                 | 22          |
+------+-------------------------------------+-------------+

[15:52:12]: fastlane finished with errors

[!] Error building the application - see the log above

当我调试这个问题并且我的研究结果不大时,我有点不知所措。我已经运行了Xcode-select -install,所以我使用的是7.1.1版本(此时的最新版本)

有人对如何调试此问题有任何建议吗?

THX!

更新: GitHub问题并在https://github.com/fastlane/fastlane/issues/4197

进一步讨论

1 个答案:

答案 0 :(得分:1)

留在这里以防万一可以帮助别人:

我在Jenkins服务器上遇到相同的错误(CodeSign 65)。要解决此问题,我在excluded_branch_id中使用了以下标志:

gym

一旦我将其移除,fastlane之后便可以解锁钥匙链,那么它就会起作用。