[英]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.