关闭xocde , 尝试删除以下2个目录,然后再启动xcode
~/Library/Developer/Xcode/DerivedData
~/Library/Caches/com.apple.dt.Xcode
http://stackoverflow.com/questions/26024100/dyld-library-not-loaded-rpath-libswiftcore-dylib
After setting this, clean the project before building again.