小编Qui*_*inn的帖子

在 macOS Big Sur 上安装 React Native 时出现“未定义符号:Swift.ExpressibleByFloatLiteral 的协议描述符”问题

我试图在我的系统上安装 React Native,但发现它无法安装该模板错误所需的 CocoaPods 依赖项。

sudo arch -x86_64 gem install ffi修复了这个问题,但最终出现event-config.h" file not found错误。

我将 pod 文件中的更改后的鳍状肢版本更改为use_flipper!({'Flipper'=>'0.76.0'}),然后我遇到了上面提到的错误。对此问题的任何帮助将不胜感激。

node version : 15.10.0
react-native version: 0.63.4
Xcode version: 12.4
Run Code Online (Sandbox Code Playgroud)

错误说明如下:

Showing Recent Messages

Could not find or use auto-linked library 'swiftCoreGraphics'
Could not find or use auto-linked library 'swiftUIKit'
Could not find or use auto-linked library 'swiftDarwin'
Could not find or use auto-linked library 'swiftFoundation'
Could not find or use auto-linked library 'swiftMetal'
Could not find or …
Run Code Online (Sandbox Code Playgroud)

xcode ios swift react-native react-native-ios

15
推荐指数
3
解决办法
6252
查看次数

标签 统计

ios ×1

react-native ×1

react-native-ios ×1

swift ×1

xcode ×1