为了账号安全,请及时绑定邮箱和手机立即绑定

ios集成react native报错怎么解决啊 试了好多方法没用

ios集成react native报错怎么解决啊 试了好多方法没用

智慧大石 2019-05-22 16:15:36
Undefinedsymbolsforarchitecturex86_64:"_JSNoBytecodeFileFormatVersion",referencedfrom:+[RCTJavaScriptLoaderloadBundleAtURL:onProgress:onComplete:]inlibReact.a(RCTJavaScriptLoader.o)+[RCTJavaScriptLoaderattemptSynchronousLoadOfBundleAtURL:runtimeBCVersion:sourceLength:error:]inlibReact.a(RCTJavaScriptLoader.o)"facebook::react::IRemoteConnection::~IRemoteConnection()",referencedfrom:RemoteConnection::~RemoteConnection()inlibReact.a(RCTInspector.o)"facebook::react::systemJSCWrapper()",referencedfrom:-[RCTSamplingProfilerPackagerMethodhandleRequest:withResponder:]inlibReact.a(RCTSamplingProfilerPackagerMethod.o)-[RCTDevSettingsisJSCSamplingProfilerAvailable]inlibReact.a(RCTDevSettings.o)-[RCTDevSettingstoggleJSCSamplingProfiler]inlibReact.a(RCTDevSettings.o)"facebook::react::parseTypeFromHeader(facebook::react::BundleHeaderconst&)",referencedfrom:+[RCTJavaScriptLoaderattemptSynchronousLoadOfBundleAtURL:runtimeBCVersion:sourceLength:error:]inlibReact.a(RCTJavaScriptLoader.o)"facebook::react::customJSCWrapper()",referencedfrom:____ZL11getInstancev_block_invokeinlibReact.a(RCTInspector.o)-[RCTSamplingProfilerPackagerMethodhandleRequest:withResponder:]inlibReact.a(RCTSamplingProfilerPackagerMethod.o)-[RCTDevSettingsisJSCSamplingProfilerAvailable]inlibReact.a(RCTDevSettings.o)-[RCTDevSettingstoggleJSCSamplingProfiler]inlibReact.a(RCTDevSettings.o)ld:symbol(s)notfoundforarchitecturex86_64clang:error:linkercommandfailedwithexitcode1(use-vtoseeinvocation)javascriptcore库也加了-lc++也加了
查看完整描述

2 回答

?
神不在的星期二

TA贡献1963条经验 获得超6个赞

好长。。。RN是用CocoaPods集成的么?您看看项目引用的libReact.a是否是红色,Headerpath等是否配置正确
                            
查看完整回答
反对 回复 2019-05-22
  • 2 回答
  • 0 关注
  • 631 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信