abinop abinop - 8 months ago 62
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

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?


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.