React Native发布版本在启动时崩溃(iOS)

时间:2018-03-14 07:29:04

标签: ios react-native react-native-ios

在XCode上遇到此错误时遇到此静默崩溃:

Unhandled JS Exception: TypeError: undefined is not an object (evaluating 'this._propsAnimated.setNativeView')

This error is located at:
in n
in t
in n
in RCTView
in RCTView
in t
in RCTView
in n
in r
in Unknown
in t
in a
in RCTView
in t
in Styled(t)
in Unknown
in g
in RCTView
in l
in RCTView
in RootSiblingsWrapper
in RCTView
in t',

不确定该怎么做。

节点:8.4.0 npm:5.5.1 守望者:4.7.0 反应:^ 16.3.0-alpha.1 反应原生:^ 0.54.2

1 个答案:

答案 0 :(得分:0)

我们在升级React Native时遇到过这种情况,与 libRCTAnimation.a 有关。重新安装了所有内容, npm install pod install (因为我们使用React Native作为CocoaPod依赖项),然后就可以了