[英]Xcode 6.0.1 - error: CODE_SIGNING_REQUIRED=YES but EXPANDED_CODE_SIGN_IDENTITY is unset or empty
我正在完成在Xcode 6之前完成的Objective-C项目,所有项目都是用Objective-C编写的。 我刚刚获得了适用于OS X Mavericks(10.9.4)的Xcode 6.0.1。 当我使用Xcode 6.0.1构建应用程序(无代码更改)时,在Pods-app目标下出现一个问题,输出如下:
*** error: CODE_SIGNING_REQUIRED=YES but EXPANDED_CODE_SIGN_IDENTITY is unset or empty.: No such file or directory
swift-stdlib-tool --print
Find and print the Swift libraries required by an app.
swift-stdlib-tool --copy
Copy the Swift libraries into an app bundle, and optionally codesign them.
`--verbose` logs progress.
`--verbose --verbose` prints debugging details.
`--help` prints this usage information.
Environment variables from Xcode:
SWIFT_LIBRARY_PATH
Directory containing the Swift libraries.
SWIFT_EXEC
Path to the Swift compiler. The Swift libraries are
found relative to it if SWIFT_LIBRARY_PATH is unset.
DT_TOOLCHAIN_DIR
Path to toolchain that contains the Swift libraries,
if SWIFT_LIBRARY_PATH and SWIFT_EXEC are unset.
PLATFORM_NAME
macosx/iphoneos/iphonesimulator, for SWIFT_EXEC or DT_TOOLCHAIN_DIR.
CONFIGURATION_BUILD_DIR
Build destination containing the app bundle.
EXECUTABLE_PATH
Path to app's executable, relative to build dir.
FRAMEWORKS_FOLDER_PATH
Path to app's Frameworks folder, relative to build dir.
UNSIGNED_FRAMEWORKS_FOLDER_PATH
Path to another Frameworks folder, relative to build dir.
Files copied here are never codesigned.
EXPANDED_CODE_SIGN_IDENTITY
Code signing identity for /usr/bin/codesign.
CODE_SIGN_KEYCHAIN
Optional keychain to search for the code signing identity.
CODE_SIGNING_ALLOWED=YES
Perform code signing, if EXPANDED_CODE_SIGN_IDENTITY is also set.
CODE_SIGNING_REQUIRED=YES
Perform code signing, and fail if EXPANDED_CODE_SIGN_IDENTITY
is not set.
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-stdlib-tool failed with exit code 1
其他事实:
这里的问题是:为什么我得到上面Xcode输出中描述的错误?
编辑:
升级到OS X 10.9.5(Mavericks)之后,我仍然遇到相同的错误。
尝试将特立独行者更新到版本10.9.5,我相当确定这是Xcode 6.0.1在10.9.4下的问题
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.