Xcode 10.0:失败,退出代码为 1
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/52669830/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 10:50:28 来源:igfitidea点击:
Xcode 10.0: Failed with exit code 1
提问by Ryan Marriott
CopySwiftLibs /Users/90301207/Library/Developer/Xcode/DerivedData/codeChecker-hcddnntogbbtbqecesokhznmpcsq/Build/Products/Debug-iphoneos/codeChecker.app (in target: codeChecker) cd /Users/90301207/Desktop/IOS\ Development/IOS\ Projects/codeChecker export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.0.sdk builtin-swiftStdLibTool --copy --verbose --sign AC89DB35766AAF3EAFB57F70F3F3167E4AC07C96 --scan-executable /Users/90301207/Library/Developer/Xcode/DerivedData/codeChecker-hcddnntogbbtbqecesokhznmpcsq/Build/Products/Debug-iphoneos/codeChecker.app/codeChecker --scan-folder /Users/90301207/Library/Developer/Xcode/DerivedData/codeChecker-hcddnntogbbtbqecesokhznmpcsq/Build/Products/Debug-iphoneos/codeChecker.app/Frameworks --scan-folder /Users/90301207/Library/Developer/Xcode/DerivedData/codeChecker-hcddnntogbbtbqecesokhznmpcsq/Build/Products/Debug-iphoneos/codeChecker.app/PlugIns --platform iphoneos --toolchain /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain --destination /Users/90301207/Library/Developer/Xcode/DerivedData/codeChecker-hcddnntogbbtbqecesokhznmpcsq/Build/Products/Debug-iphoneos/codeChecker.app/Frameworks --strip-bitcode --resource-destination /Users/90301207/Library/Developer/Xcode/DerivedData/codeChecker-hcddnntogbbtbqecesokhznmpcsq/Build/Products/Debug-iphoneos/codeChecker.app --resource-library libswiftRemoteMirror.dylib --strip-bitcode-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip --emit-dependency-info /Users/90301207/Library/Developer/Xcode/DerivedData/codeChecker-hcddnntogbbtbqecesokhznmpcsq/Build/Intermediates.noindex/codeChecker.build/Debug-iphoneos/codeChecker.build/SwiftStdLibToolInputDependencies.dep Requested Swift ABI version based on scanned binaries: 6 libswiftObjectiveC.dylib is up to date at /Users/90301207/Library/Developer/Xcode/DerivedData/codeChecker-hcddnntogbbtbqecesokhznmpcsq/Build/Products/Debug-iphoneos/codeChecker.app/Frameworks/libswiftObjectiveC.dylib libswiftCoreImage.dylib is up to date at /Users/90301207/Library/Developer/Xcode/DerivedData/codeChecker-hcddnntogbbtbqecesokhznmpcsq/Build/Products/Debug-iphoneos/codeChecker.app/Frameworks/libswiftCoreImage.dylib libswiftUIKit.dylib is up to date at /Users/90301207/Library/Developer/Xcode/DerivedData/codeChecker-hcddnntogbbtbqecesokhznmpcsq/Build/Products/Debug-iphoneos/codeChecker.app/Frameworks/libswiftUIKit.dylib libswiftMetal.dylib is up to date at /Users/90301207/Library/Developer/Xcode/DerivedData/codeChecker-hcddnntogbbtbqecesokhznmpcsq/Build/Products/Debug-iphoneos/codeChecker.app/Frameworks/libswiftMetal.dylib libswiftCore.dylib is up to date at /Users/90301207/Library/Developer/Xcode/DerivedData/codeChecker-hcddnntogbbtbqecesokhznmpcsq/Build/Products/Debug-iphoneos/codeChecker.app/Frameworks/libswiftCore.dylib libswiftFoundation.dylib is up to date at /Users/90301207/Library/Developer/Xcode/DerivedData/codeChecker-hcddnntogbbtbqecesokhznmpcsq/Build/Products/Debug-iphoneos/codeChecker.app/Frameworks/libswiftFoundation.dylib libswiftos.dylib is up to date at /Users/90301207/Library/Developer/Xcode/DerivedData/codeChecker-hcddnntogbbtbqecesokhznmpcsq/Build/Products/Debug-iphoneos/codeChecker.app/Frameworks/libswiftos.dylib libswiftCoreGraphics.dylib is up to date at /Users/90301207/Library/Developer/Xcode/DerivedData/codeChecker-hcddnntogbbtbqecesokhznmpcsq/Build/Products/Debug-iphoneos/codeChecker.app/Frameworks/libswiftCoreGraphics.dylib libswiftDarwin.dylib is up to date at /Users/90301207/Library/Developer/Xcode/DerivedData/codeChecker-hcddnntogbbtbqecesokhznmpcsq/Build/Products/Debug-iphoneos/codeChecker.app/Frameworks/libswiftDarwin.dylib libswiftDispatch.dylib is up to date at /Users/90301207/Library/Developer/Xcode/DerivedData/codeChecker-hcddnntogbbtbqecesokhznmpcsq/Build/Products/Debug-iphoneos/codeChecker.app/Frameworks/libswiftDispatch.dylib libswiftCoreFoundation.dylib is up to date at /Users/90301207/Library/Developer/Xcode/DerivedData/codeChecker-hcddnntogbbtbqecesokhznmpcsq/Build/Products/Debug-iphoneos/codeChecker.app/Frameworks/libswiftCoreFoundation.dylib libswiftQuartzCore.dylib is up to date at /Users/90301207/Library/Developer/Xcode/DerivedData/codeChecker-hcddnntogbbtbqecesokhznmpcsq/Build/Products/Debug-iphoneos/codeChecker.app/Frameworks/libswiftQuartzCore.dylib libswiftRemoteMirror.dylib is up to date at /Users/90301207/Library/Developer/Xcode/DerivedData/codeChecker-hcddnntogbbtbqecesokhznmpcsq/Build/Products/Debug-iphoneos/codeChecker.app/libswiftRemoteMirror.dylib Probing signature of /Users/90301207/Library/Developer/Xcode/DerivedData/codeChecker-hcddnntogbbtbqecesokhznmpcsq/Build/Products/Debug-iphoneos/codeChecker.app/Frameworks/libswiftObjectiveC.dylib /usr/bin/codesign -r- --display /Users/90301207/Library/Developer/Xcode/DerivedData/codeChecker-hcddnntogbbtbqecesokhznmpcsq/Build/Products/Debug-iphoneos/codeChecker.app/Frameworks/libswiftObjectiveC.dylib /Users/90301207/Library/Developer/Xcode/DerivedData/codeChecker-hcddnntogbbtbqecesokhznmpcsq/Build/Products/Debug-iphoneos/codeChecker.app/Frameworks/libswiftObjectiveC.dylib: code object is not signed at all Codesigning /Users/90301207/Library/Developer/Xcode/DerivedData/codeChecker-hcddnntogbbtbqecesokhznmpcsq/Build/Products/Debug-iphoneos/codeChecker.app/Frameworks/libswiftObjectiveC.dylib /usr/bin/codesign --force --sign AC89DB35766AAF3EAFB57F70F3F3167E4AC07C96 --verbose /Users/90301207/Library/Developer/Xcode/DerivedData/codeChecker-hcddnntogbbtbqecesokhznmpcsq/Build/Products/Debug-iphoneos/codeChecker.app/Frameworks/libswiftObjectiveC.dylib /Users/90301207/Library/Developer/Xcode/DerivedData/codeChecker-hcddnntogbbtbqecesokhznmpcsq/Build/Products/Debug-iphoneos/codeChecker.app/Frameworks/libswiftObjectiveC.dylib: errSecInternalComponent error: Failed with exit code 1
This error keeps throwing for any of my apps when I try to run them on my iPhone 7 or iPad 6
当我尝试在 iPhone 7 或 iPad 6 上运行我的任何应用程序时,此错误不断抛出
回答by Jo?o Pedro Morais
It seems like you having an Code Signing issue. Try check "Automatically manage signing", clean and build the project and try again.
您似乎遇到了代码签名问题。尝试选中“自动管理签名”,清理并构建项目,然后重试。