jpush / jpush/jpush-react-native
最新版本上存在bug,导致iOS编译失败
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.4k
- Forks
- 348
- PR merge metrics
- No merged PRs in 30d
Description
你的运行环境
- 插件版本:
- react-native 版本:
期望效果
请把Build Phases -> Link Binary With Libraries 中的 libjpush-ios-3.3.6.a 改为 libjpush-ios-3.7.4.a
重现步骤
编译报错
Debug logs
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't locate file for: -ljpush-ios-3.3.6
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: -ljpush-ios-3.3.6 is not an object file (not allowed in a library)
Command Libtool failed with a nonzero exit code
can't locate file for: -ljpush-ios-3.3.6
file: -ljpush-ios-3.3.6 is not an object file (not allowed in a library)
备注:jcore-react-native存在相同的问题
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the iOS project’s Build Phases and inspect the Link Binary With Libraries entries for libjpush-ios-3.3.6.a. Reproduce the reported Xcode linker failure, then verify that the project references libjpush-ios-3.7.4.a and the iOS build succeeds; check whether jcore-react-native has the same outdated reference.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100