react-naitve使用Pods中使用Swift和Objec

2021-03-13  本文已影响0人  朱传武

今天遇到rn问题:

ld: warning: Could not find or use auto-linked library 'swiftCoreMIDI'
Undefined symbols for architecture x86_64:
  "___darwin_check_fd_set_overflow", referenced from:
      _RAND_poll in libcrypto.a(rand_unix.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
image.png

解决办法:项目里面创建一个空的swift文件,xcode提示:


image.png
image.png
上一篇下一篇

猜你喜欢

热点阅读