ios的app加上了swift后,release模式一运行就崩的问题

崩溃后提示dyld: Library not loaded: @rpath/libswift_stdlib_core.dylib

除了参考:http://stackoverflow.com/questions/24002836/dyld-library-not-loaded-rpath-libswift-stdlib-core-dylib/26383255#26383255

这里面的方案外,检查下build参数,去掉这一行:

-Wl,-sectcreate,__RESTRICT,__restrict,/dev/null

 

Leave a Reply

Your email address will not be published. Required fields are marked *