Xcode 10.0:失败,退出代码为1

时间:2018-10-05 16:27:37

标签: ios xcode xcode10

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

当我尝试在iPhone 7或iPad 6上运行它们时,此错误会不断抛出给我的任何应用程序

2 个答案:

答案 0 :(得分:1)

您遇到签名证书问题。这可能是因为您尚未支付成为开发人员会员的100美元。获取自己的会员帐户,获得真实的开发证书,您的问题就解决了。

答案 1 :(得分:0)

您似乎遇到了代码签名问题。尝试检查“自动管理签名”,清理并构建项目,然后重试。

Screenshot