dyld: Library not loaded: @rpath/libswiftCore.dylib报错解决

昨天用自己的mac写了公司的一点东西,奈何今早上电脑忘记带来了,所以让老婆协助把家里的东西发到公司电脑上,但是一运行报错,报错如下:

dyld: Library not loaded: @rpath/libswiftCore.dylib

  Referenced from: /var/mobile/Containers/Bundle/Application/DDD1DAC6-FB15-4A52-B04B-BEB2375293AA/ComeAndGoSwift.app/ComeAndGoSwift

  Reason: no suitable image found.  Did find:

/private/var/mobile/Containers/Bundle/Application/DDD1DAC6-FB15-4A52-B04B-BEB2375293AA/ComeAndGoSwift.app/Frameworks/libswiftCore.dylib: mmap() errno=1 validating first page of '/private/var/mobile/Containers/Bundle/Application/DDD1DAC6-FB15-4A52-B04B-BEB2375293AA/ComeAndGoSwift.app/Frameworks/libswiftCore.dylib'

 

然后在http://stackoverflow.com/questions/26024100/dyld-library-not-loaded-rpath-libswiftcore-dylib这里找到了第一个回复,按照其做法做,错误解决:


这个默认设置是NO,设置为YES就可以了!!!

 

你可能感兴趣的:(dyld: Library not loaded: @rpath/libswiftCore.dylib报错解决)