美文网首页
xcode运行react-native报错"_OBJC_CLAS

xcode运行react-native报错"_OBJC_CLAS

作者: 太阳的小号 | 来源:发表于2018-12-13 11:17 被阅读0次

Undefined symbols for architecture x86_64:

  "_OBJC_CLASS_$_RCTBundleURLProvider", referenced from:

      objc-class-ref in AppDelegate.o

  "_OBJC_CLASS_$_RCTRootView", referenced from:

      objc-class-ref in AppDelegate.o

步骤:1,在终端输入:react-native start

2,回到xcode开发工具后,快捷键shift+command+K 完成项目clean

3,最后重新运行即可。

相关文章

网友评论

      本文标题:xcode运行react-native报错"_OBJC_CLAS

      本文链接:https://www.haomeiwen.com/subject/iwyvhqtx.html