解决问题的网址:stackoverflow
使用Xcode7.3 真机运行 swift 项目的时候报错:
dyld: Library not loaded: @rpath/libswiftCore.dylib
Referenced from: /var/containers/Bundle/Application/xxx/abc.app/abc
Reason: no suitable image found. Did find:
/private/var/containers/Bundle/Application/xxx/abc.app/Frameworks/libswiftCore.dylib: mmap() errno=1 validating first page of '/private/var/containers/Bundle/Application/xxx/abc.app/Frameworks/libswiftCore.dylib'
/private/var/containers/Bundle/Application/xxx/abc.app/Frameworks/libswiftCore.dylib: mmap() errno=1 validating first page of '/private/var/containers/Bundle/Application/xxx/abc.app/Frameworks/libswiftCore.dylib'
/private/var/containers/Bundle/Application/xxx/abc.app/Frameworks/libswiftCore.dylib: