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

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。