jpush / jpush/jpush-react-native

m1 macOS 12.0.1 Xcode 13.1 iOS 构建 Debug 安装包报错

Open
#860 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.4k
Forks
348
PR merge metrics
No merged PRs in 30d

Description

你的运行环境

  • 插件版本: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-nativejcore-react-native 的情况下,yarn ios 正常启动。
一旦安装 npm 依赖包(不修改原生端代码),在 ios 文件夹下 pod install 后,yarn ios 编译报错。

Debug logs

包括 Android 或 iOS 的日志:
很大篇幅的报错日志,看的不是太明白。
image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported setup with React Native 0.66.3, jpush-react-native 2.8.7, JCore 1.9.4, and the listed M1 macOS/Xcode environment. Inspect the complete iOS build output rather than the attached screenshot, compare it with a project without these dependencies, and identify a reproducible package or build failure. Done means a confirmed cause and a documented fix or compatibility limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, react-native
Domain
build-system, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.