jpush / jpush/jpush-react-native

iOS集成JPush失败

Open
#953 0 comments 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

你的运行环境

  • 插件版本:
  • react-native 版本:0.64.4
  • jpush-react-native: 2.8.8
  • jcore-react-native:1.9.5

期望效果

build success

实际效果

JPush build失败

重现步骤

  1. 下载依赖
  2. 执行build

Debug logs

包括 Android 或 iOS 的日志:
ld: Undefined symbols:
OBJC_CLASS$_JCOREIntegrate, referenced from:
in libjpush-ios-3.7.4.a[x86_64]3
OBJC_CLASS$_JCORELog, referenced from:
in libjpush-ios-3.7.4.a[x86_64]3
_kJPFNetworkDidCloseNotification, referenced from:
-[RCTJPushModule init] in RCTJPushModule.o
_kJPFNetworkDidLoginNotification, referenced from:
-[RCTJPushModule init] in RCTJPushModule.o
-[RCTJPushModule convertConnect:] in RCTJPushModule.o
_kJPFNetworkFailedRegisterNotification, referenced from:
-[RCTJPushModule init] in RCTJPushModule.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)

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

Reproduce the iOS build with react-native 0.64.4, jpush-react-native 2.8.8, and jcore-react-native 1.9.5. Inspect the native JPush integration and linked libraries around RCTJPushModule, libjpush-ios-3.7.4.a, and the missing JCORE symbols. Done means the build completes without the reported undefined-symbol linker errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, react-native
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.