如何解决“退出代码1失败”错误?

时间:2019-04-28 21:30:33

标签: xcode code-signing

我第一次尝试在iPhone上运行一个应用程序,它弹出一个窗口,要求我进行“登录”钥匙串访问。然后我拒绝了,因为我忘记了。当我找到密码并尝试再次运行它时,此错误弹出。

我试图重新启动项目。没用试图重新启动整个计算机,但无法正常工作。

Showing All Messages
CopySwiftLibs /Users/ninkovic/Library/Developer/Xcode/DerivedData/Recepti-egkdbczudrjfhkciuiyuzmgsdytf/Build/Products/Debug-iphoneos/Recepti.app (in target: Recepti)
    cd /Users/ninkovic/Desktop/Recepti
    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.1.sdk
    builtin-swiftStdLibTool --copy --verbose --sign 2780695D6B84FE0B7FA0CB66DA32FC13C9606745 --scan-executable /Users/ninkovic/Library/Developer/Xcode/DerivedData/Recepti-egkdbczudrjfhkciuiyuzmgsdytf/Build/Products/Debug-iphoneos/Recepti.app/Recepti --scan-folder /Users/ninkovic/Library/Developer/Xcode/DerivedData/Recepti-egkdbczudrjfhkciuiyuzmgsdytf/Build/Products/Debug-iphoneos/Recepti.app/Frameworks --scan-folder /Users/ninkovic/Library/Developer/Xcode/DerivedData/Recepti-egkdbczudrjfhkciuiyuzmgsdytf/Build/Products/Debug-iphoneos/Recepti.app/PlugIns --platform iphoneos --toolchain /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain --destination /Users/ninkovic/Library/Developer/Xcode/DerivedData/Recepti-egkdbczudrjfhkciuiyuzmgsdytf/Build/Products/Debug-iphoneos/Recepti.app/Frameworks --strip-bitcode --resource-destination /Users/ninkovic/Library/Developer/Xcode/DerivedData/Recepti-egkdbczudrjfhkciuiyuzmgsdytf/Build/Products/Debug-iphoneos/Recepti.app --resource-library libswiftRemoteMirror.dylib --strip-bitcode-tool /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip --emit-dependency-info /Users/ninkovic/Library/Developer/Xcode/DerivedData/Recepti-egkdbczudrjfhkciuiyuzmgsdytf/Build/Intermediates.noindex/Recepti.build/Debug-iphoneos/Recepti.build/SwiftStdLibToolInputDependencies.dep

Requested Swift ABI version based on scanned binaries: 6
libswiftDispatch.dylib is up to date at /Users/ninkovic/Library/Developer/Xcode/DerivedData/Recepti-egkdbczudrjfhkciuiyuzmgsdytf/Build/Products/Debug-iphoneos/Recepti.app/Frameworks/libswiftDispatch.dylib
libswiftCore.dylib is up to date at /Users/ninkovic/Library/Developer/Xcode/DerivedData/Recepti-egkdbczudrjfhkciuiyuzmgsdytf/Build/Products/Debug-iphoneos/Recepti.app/Frameworks/libswiftCore.dylib
libswiftos.dylib is up to date at /Users/ninkovic/Library/Developer/Xcode/DerivedData/Recepti-egkdbczudrjfhkciuiyuzmgsdytf/Build/Products/Debug-iphoneos/Recepti.app/Frameworks/libswiftos.dylib
libswiftCoreGraphics.dylib is up to date at /Users/ninkovic/Library/Developer/Xcode/DerivedData/Recepti-egkdbczudrjfhkciuiyuzmgsdytf/Build/Products/Debug-iphoneos/Recepti.app/Frameworks/libswiftCoreGraphics.dylib
libswiftUIKit.dylib is up to date at /Users/ninkovic/Library/Developer/Xcode/DerivedData/Recepti-egkdbczudrjfhkciuiyuzmgsdytf/Build/Products/Debug-iphoneos/Recepti.app/Frameworks/libswiftUIKit.dylib
libswiftDarwin.dylib is up to date at /Users/ninkovic/Library/Developer/Xcode/DerivedData/Recepti-egkdbczudrjfhkciuiyuzmgsdytf/Build/Products/Debug-iphoneos/Recepti.app/Frameworks/libswiftDarwin.dylib
libswiftMetal.dylib is up to date at /Users/ninkovic/Library/Developer/Xcode/DerivedData/Recepti-egkdbczudrjfhkciuiyuzmgsdytf/Build/Products/Debug-iphoneos/Recepti.app/Frameworks/libswiftMetal.dylib
libswiftCoreFoundation.dylib is up to date at /Users/ninkovic/Library/Developer/Xcode/DerivedData/Recepti-egkdbczudrjfhkciuiyuzmgsdytf/Build/Products/Debug-iphoneos/Recepti.app/Frameworks/libswiftCoreFoundation.dylib
libswiftCoreImage.dylib is up to date at /Users/ninkovic/Library/Developer/Xcode/DerivedData/Recepti-egkdbczudrjfhkciuiyuzmgsdytf/Build/Products/Debug-iphoneos/Recepti.app/Frameworks/libswiftCoreImage.dylib
libswiftFoundation.dylib is up to date at /Users/ninkovic/Library/Developer/Xcode/DerivedData/Recepti-egkdbczudrjfhkciuiyuzmgsdytf/Build/Products/Debug-iphoneos/Recepti.app/Frameworks/libswiftFoundation.dylib
libswiftQuartzCore.dylib is up to date at /Users/ninkovic/Library/Developer/Xcode/DerivedData/Recepti-egkdbczudrjfhkciuiyuzmgsdytf/Build/Products/Debug-iphoneos/Recepti.app/Frameworks/libswiftQuartzCore.dylib
libswiftObjectiveC.dylib is up to date at /Users/ninkovic/Library/Developer/Xcode/DerivedData/Recepti-egkdbczudrjfhkciuiyuzmgsdytf/Build/Products/Debug-iphoneos/Recepti.app/Frameworks/libswiftObjectiveC.dylib
libswiftRemoteMirror.dylib is up to date at /Users/ninkovic/Library/Developer/Xcode/DerivedData/Recepti-egkdbczudrjfhkciuiyuzmgsdytf/Build/Products/Debug-iphoneos/Recepti.app/libswiftRemoteMirror.dylib
Probing signature of /Users/ninkovic/Library/Developer/Xcode/DerivedData/Recepti-egkdbczudrjfhkciuiyuzmgsdytf/Build/Products/Debug-iphoneos/Recepti.app/Frameworks/libswiftDispatch.dylib
/usr/bin/codesign -r- --display /Users/ninkovic/Library/Developer/Xcode/DerivedData/Recepti-egkdbczudrjfhkciuiyuzmgsdytf/Build/Products/Debug-iphoneos/Recepti.app/Frameworks/libswiftDispatch.dylib
/Users/ninkovic/Library/Developer/Xcode/DerivedData/Recepti-egkdbczudrjfhkciuiyuzmgsdytf/Build/Products/Debug-iphoneos/Recepti.app/Frameworks/libswiftDispatch.dylib: code object is not signed at all

Codesigning /Users/ninkovic/Library/Developer/Xcode/DerivedData/Recepti-egkdbczudrjfhkciuiyuzmgsdytf/Build/Products/Debug-iphoneos/Recepti.app/Frameworks/libswiftDispatch.dylib
/usr/bin/codesign --force --sign 2780695D6B84FE0B7FA0CB66DA32FC13C9606745 --verbose /Users/ninkovic/Library/Developer/Xcode/DerivedData/Recepti-egkdbczudrjfhkciuiyuzmgsdytf/Build/Products/Debug-iphoneos/Recepti.app/Frameworks/libswiftDispatch.dylib
/Users/ninkovic/Library/Developer/Xcode/DerivedData/Recepti-egkdbczudrjfhkciuiyuzmgsdytf/Build/Products/Debug-iphoneos/Recepti.app/Frameworks/libswiftDispatch.dylib: errSecInternalComponent

error: Failed with exit code 1

0 个答案:

没有答案