我新建了一个Swift Sprite Kit Xcode 6项目,第一次运行时竟然弹出了2个错误。他们是:
ld: can't open -sectcreate file: /Users/Comrod/Library/Developer/Xcode/DerivedData/gametest-bmmegykevoxrgrdcemlwvbflbtab/Build/Intermediates/gametest.build/Debug-iphonesimulator/gametest.build/Objects-normal/i386/gametest.swiftmodule
和
clang: error: linker command failed with exit code 1 (use -v to see invocation)
让我感到困惑的是,我做了同样的项目,但以 Objective-C 为主要语言,而且没有任何错误。这里的问题到底是什么,我该如何解决?
最佳答案
当项目名称包含字符“'”时,我遇到了同样的问题,所以,也许检查一下命名。
关于ios - Swift Sprite 套件错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24233146/