React Native模拟器调试正常,直接运行闪退

在使用了 三方动态库的工程中,如果模拟器调试正常,直接运行闪退,在真机调试报如下错误

dyld: Library not loaded: @rpath/xxx.framework/Versions/A/xxx Referenced from: /Users/Ivan/Library/Developer/Xcode/DerivedData/myApp-bsxfcnwqpaxnzbhencwzteasshzf/Build/Products/Debug/myApp.app/Contents/MacOS/myApp Reason: image not found

解决方法:

dyld library not loaded @rpath/frameworkplease make sure that the framework is showing under target->general->embeded binaries and linked framework and libraries sectionif not then add by clicking + sign add just add the framework onlydone!


作者:longzs
来源:CSDN
原文:https://blog.csdn.net/longzs/article/details/50684718?utm_source=copy

上一篇:【记录】在新电脑安装Ubuntu16.04系统并移植虚拟机中catkin_ws过程


下一篇:ros之常用命令