在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問答/HTML5/ ios集成react native報(bào)錯(cuò)怎么解決啊 試了好多方法沒用

ios集成react native報(bào)錯(cuò)怎么解決啊 試了好多方法沒用

Undefined symbols for architecture x86_64:
"_JSNoBytecodeFileFormatVersion", referenced from:

  +[RCTJavaScriptLoader loadBundleAtURL:onProgress:onComplete:] in libReact.a(RCTJavaScriptLoader.o)
  +[RCTJavaScriptLoader attemptSynchronousLoadOfBundleAtURL:runtimeBCVersion:sourceLength:error:] in libReact.a(RCTJavaScriptLoader.o)

"facebook::react::IRemoteConnection::~IRemoteConnection()", referenced from:

  RemoteConnection::~RemoteConnection() in libReact.a(RCTInspector.o)

"facebook::react::systemJSCWrapper()", referenced from:

  -[RCTSamplingProfilerPackagerMethod handleRequest:withResponder:] in libReact.a(RCTSamplingProfilerPackagerMethod.o)
  -[RCTDevSettings isJSCSamplingProfilerAvailable] in libReact.a(RCTDevSettings.o)
  -[RCTDevSettings toggleJSCSamplingProfiler] in libReact.a(RCTDevSettings.o)

"facebook::react::parseTypeFromHeader(facebook::react::BundleHeader const&)", referenced from:

  +[RCTJavaScriptLoader attemptSynchronousLoadOfBundleAtURL:runtimeBCVersion:sourceLength:error:] in libReact.a(RCTJavaScriptLoader.o)

"facebook::react::customJSCWrapper()", referenced from:

  ____ZL11getInstancev_block_invoke in libReact.a(RCTInspector.o)
  -[RCTSamplingProfilerPackagerMethod handleRequest:withResponder:] in libReact.a(RCTSamplingProfilerPackagerMethod.o)
  -[RCTDevSettings isJSCSamplingProfilerAvailable] in libReact.a(RCTDevSettings.o)
  -[RCTDevSettings toggleJSCSamplingProfiler] in libReact.a(RCTDevSettings.o)

ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

javascriptcore 庫也加了 -lc++ 也加了

回答
編輯回答
怣人

你好,我也出現(xiàn)了這個(gè)問題,請(qǐng)問解決了嗎

2018年6月29日 12:53
編輯回答
不二心

好長。。。RN是用CocoaPods集成的么?您看看項(xiàng)目引用的libReact.a是否是紅色,Header path等是否配置正確

2017年1月31日 13:43
編輯回答
心癌

已解決,pods增加
'BatchedBridge', #RN版本高于0.45之后必須導(dǎo)入
在晴明網(wǎng)站教程里沒有找到需要這個(gè)配置,只有在更新日志中說明必須增加此項(xiàng)

2017年5月1日 17:02
編輯回答
念舊

您好,我報(bào)了個(gè)這錯(cuò),請(qǐng)問是什么意思?TypeError: undefined is not an object (evaluating '_reactNative.NativeModules.UIManager.RCTVideo.Constants')

This error is located at:

in Video (at VideoScreen.js:26)
in RCTScrollContentView (at ScrollView.js:793)
in RCTScrollView (at ScrollView.js:889)
in ScrollView (at VideoScreen.js:25)
in VideoScreen (at SceneView.js:17)
in SceneView (at CardStack.js:466)
in RCTView (at View.js:78)
in View (at createAnimatedComponent.js:147)
in AnimatedComponent (at Card.js:12)
2017年5月29日 03:51