“没有这样的文件或目录(2)”对于XCode 7上的libswiftSecurity.dylib [英] "No such file or directory (2)" for libswiftSecurity.dylib on XCode 7
问题描述
我正在尝试构建一个在XCode 6上运行正常的项目,但是我收到了错误
I am trying to build a project that was running ok on XCode 6 but I get the error
/ Applications / Xcode- beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/libswiftSecurity.dylib
failed:No such file or directory(2)
"/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/libswiftSecurity.dylib" failed: No such file or directory (2)
我检查了XCode 6和amp;的内容。 7在磁盘上,该文件存在于旧版本中,但不存在于XCode 7上。这是其他人面临的问题吗?
I checked the contents of both XCode 6 & 7 on disk and the file exists in the older version but not on XCode 7. Is this something that someone else has faced?
推荐答案
尝试将文件复制到该文件夹:
Try to copy the file to that folder:
cp~ / old_path / libswiftSecurity.dylib
~ / Applications / Xcode- beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator
cp ~/old_path/libswiftSecurity.dylib ~/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator
也许这只是一个问题你的。它应该被解决。
Maybe this is only a problem of yours. It should be solved.
这篇关于“没有这样的文件或目录(2)”对于XCode 7上的libswiftSecurity.dylib的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!