m1 macOS 12.0.1 Xcode 13.1 iOS 构建 Debug 安装包报错
onlyling opened this issue · 1 comments
你的运行环境
- 插件版本:2.8.7
- Installing JCore (1.9.4)
- Installing JPush (2.8.7)
- react-native 版本:0.66.3
期望效果
能构建出 Debug 的安装包
实际效果
iOS 构建 Debug 安装包的阶段中报错,Android 还没有尝试。
重现步骤
运行环境:M1 Pro,Xcode13.1 (13A1030d),macOS 12.0.1,Command Line Tools:Xcode 13.1 (13A1030d),cocoapods 1.11.2 、ffi 1.15.4
有参考Mac M1 搭建 React Native 环境这篇文章搭建环境。
npx react-native init AwesomeTSProject --template react-native-template-typescript
创建一个空白项目(0.66.3),添加一些第三方组件例如路由、启动页、config 之类的,不使用 jpush-react-native
和 jcore-react-native
的情况下,yarn ios
正常启动。
一旦安装 npm 依赖包(不修改原生端代码),在 ios 文件夹下 pod install
后,yarn ios
编译报错。
Debug logs
The module has not converted to .xcframework and will not work for M1s until they do the necessary work in their build scripts.
Right now it is using the old library packaging format where there is only a single "slice" for the arm64 architecture and they have used it for arm64 iOS, not the arm64 Simulator.