Xcode 运行失败

来源:2-2 开发环境搭建指导-Mac平台【持续更新】

平平李

2023-03-19

图片描述
打开GitHub_RN/ios/GitHub_RN.xcworkspace 通过Xcode的运行按钮来和运行

写回答

2回答

CrazyCodeBoy

2023-03-21

嗯,应该是之前哪里配置出了问题,仅从log中无法看出是哪里的问题。
0
0

CrazyCodeBoy

2023-03-19

在iOS目录下,执行 pod install
完成之后在运行项目
0
2
平平李
重新init 的代码,把依赖安装之后 pod install 就会报错,报错信息是 Ignoring ffi-1.14.2 because its extensions are not built. Try: gem pristine ffi --version 1.14.2 Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0 Ignoring ffi-1.14.2 because its extensions are not built. Try: gem pristine ffi --version 1.14.2 Ignoring ffi-1.15.0 because its extensions are not built. Try: gem pristine ffi --version 1.15.0 Ignoring ffi-1.14.2 because its extensions are not built. Try: gem pristine ffi --version 1.14.2 [!] Invalid `Podfile` file: undefined local variable or method `min_ios_version_supported' for #. # from /Users/eva/Documents/my/my/mk-RN/GitHub_RN_/ios/Podfile:4 # ------------------------------------------- # > platform :ios, min_ios_version_supported # prepare_react_native_project!
2023-03-20
共2条回复

RN入门到进阶,打造高质量上线App

解锁React Native开发应用新姿势,React Native新版本热门技术

3144 学习 · 3241 问题

查看课程