反应原生iOS Today扩展错误链接器命令失败

问题描述

我想在我的本机应用程序中添加iOS Today Extension。这是返回错误。我正在尝试通过三天来解决此问题,但仍然出现错误。

我的错误是类似的

      Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_RCTRootView",referenced from:
      objc-class-ref in TodayViewController.o
  "_OBJC_CLASS_$_RCTBundleURLProvider",referenced from:
      objc-class-ref in TodayViewController.o
  "_RCTRegisterModule",referenced from:
      +[Linking load] in Linking.o
      +[DisplayMode load] in DisplayMode.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

我关注此博客以获取更多信息 https://medium.com/@maximtoyberman/building-a-react-native-today-widget-in-ios-102830825e42#:~:text=1.,Target%E2%80%A6%20and%20select%20Today%20Extension

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...