草庐IT

ios - 构建 react native 应用程序时 : undefined symbols for architecture gxx_personality_v0

我只是按照ReactNative文档来构建应用程序以在设备上运行或发布它[1]。我遇到了以下错误,即使是在全新的Reactnative应用程序上也是如此。该应用程序在模拟器中运行良好。Undefinedsymbolsforarchitecturei386:"___gxx_personality_v0",referencedfrom:    _RCTDefaultLogFunction_block_invokeinlibReact.a(RCTLog.o)    _RCTFormatLoginlibReact.a(RCTLog.o)    ___RCTAddLogFunction_bloc

ios - React-Native:模块 RCTLog 不是已注册的可调用模块

在React-Native0.29和0.30中。当我使用离线包在iOS设备上运行时,总是得到以下错误信息:UnhandledJSException:ModuleRCTLogisnotaregisteredcallablemodule.RCTFatal+124-[RCTExceptionsManagerreportFatalException:stack:exceptionId:]+584+144+296+68-[RCTModuleMethodinvokeWithBridge:module:arguments:]+1684-[RCTBatchedBridge_handleRequestN