abinop abinop - 25 days ago 18
Swift Question

"No such file or directory (2)" for libswiftSecurity.dylib on XCode 7

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)


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?

Answer

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

Maybe this is only a problem of yours. It should be solved.

Comments