简体   繁体   English

内部/ bin / cp命令失败。 xCode编译器错误

[英]Internal /bin/cp command failed. xCode compiler error

I'm working in Xcode trying to build a simple calendar app. 我正在Xcode中尝试构建一个简单的日历应用程序。 As I tried to build and run I get this error 在尝试构建和运行时,出现此错误

/Users/Zach/Downloads/Xcode-beta.app/COnonts/Developer/Toolchains/XcodeDefault.xctoolchain/
usr/bin/bitcode_strip: internal /bin/cp command failed.

Task Failed with exit 1 signal 0 { 任务失败,退出1信号0 {

All I know is that it gives me the error when this line is typed... It goes away when I comment it out. 我所知道的是,在键入此行时,它给我错误。

            let ce = NSKeyedUnarchiver.unarchiveObject(with: eventObject as Data) as! CalenderEvent

UPDATE: I just tried to recompile and was given a new error. 更新:我只是试图重新编译,并给了一个新的错误。

"libswiftCore.dylib" couldn't be copied to "(A Document Being Saved BY Xcode)".

It appears like something is wrong with the swift std library. 迅速的std库似乎出了点问题。 It randomly switches between the two errors. 它在两个错误之间随机切换。

I get this same error when I run low on disk space. 当磁盘空间不足时,我也会遇到同样的错误。 Try moving the project to a different location, with more space, clean the project, and re-build. 尝试将项目移动到具有更多空间的其他位置,清理项目,然后重新构建。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Swift编译器错误:命令/Applications/Xcode9.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc失败,退出代码为6 - Swift Compiler Error : Command /Applications/Xcode9.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 6 Xcode 9.2升级导致此错误:“命令/ bin / sh失败,退出代码为1” - Xcode 9.2 upgrade results in this error: “Command /bin/sh failed with exit code 1” 命令/ usr / bin / codesign失败,退出代码为1 Xcode CocoaPods - Command /usr/bin/codesign failed with exit code 1 Xcode CocoaPods 命令/ bin / sh失败,退出代码为1 Xcode 9.1 - Command /bin/sh failed with exit code 1 Xcode 9.1 错误 - 命令/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc失败,退出代码为1 - Error — Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1 生成失败并显示错误命令/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc - Build failed with error Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc Xcode 10.0 错误“Command /Applications/Xcode 10.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc 失败,退出代码为 1” - Xcode 10.0 Error "Command /Applications/Xcode 10.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1" XCode - 命令 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc 失败,退出代码 1 - XCode - Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1 Xcode 7失败,命令/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc失败,退出代码为1 - Xcode 7 fails with Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1 Swift编译器错误,命令由于信号失败:分段错误:11 - Swift Compiler Error, Command failed due to signal: Segmentation fault: 11
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM