【发布时间】:2015-05-27 09:38:54
【问题描述】:
我正在通过命令行从 MyApp.xcodeproj 构建 MyApp.ipa,并且构建成功。我正在使用Shenzhen ruby gem 从命令行构建应用程序。但是在 Jenkins 中构建失败并出现以下错误:
*** error: Couldn't codesign /Users/administrator/Library/Developer/Xcode/DerivedData///////MyApp.app/Frameworks/libswiftCore.dylib: codesign failed with exit code 1
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-stdlib-tool failed with exit code 1
** ARCHIVE FAILED **
以下构建命令失败:
CopySwiftLibs /Users/administrator/Library/Developer/Xcode/DerivedData///////MyApp.app
我怀疑该错误与项目签名有关。目前我正在通过命令行使用XSigning 对其进行签名,并且它从本地MacOS 机器上的命令行成功构建。但是,当我通过 Jenkins 运行完全相同的命令时,它会失败。
请帮忙。
【问题讨论】:
-
我看到你已经成功了。您能否分享您的解决方案和重现的详细步骤?我已经解锁了我的钥匙串,但我不确定我应该在路径变量中放什么
标签: ios xcode command-line jenkins ipa