jpush / jpush/jcore-react-native
最新版本上存在bug,导致iOS编译失败
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 50
- Forks
- 65
- PR merge metrics
- No merged PRs in 30d
Description
你的运行环境
- 插件版本:
- react-native 版本:
期望效果
请把Build Phases -> Link Binary With Libraries 中的 libjcore-ios-2.4.0.a 改为 libjcore-ios-2.7.1.a
重现步骤
编译报错
Debug logs
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't locate file for: -ljcore-ios-2.4.0
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: -ljcore-ios-2.4.0 is not an object file (not allowed in a library)
Command Libtool failed with a nonzero exit code
can't locate file for: -ljcore-ios-2.4.0
file: -ljcore-ios-2.4.0 is not an object file (not allowed in a library)
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 by locating the iOS project settings that populate Build Phases → Link Binary With Libraries and search for references to libjcore-ios-2.4.0. Reproduce the build failure, update the stale library reference to libjcore-ios-2.7.1 if supported by the project, and confirm the iOS build completes without the libtool errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, react-native
- Domain
- build-system, mobile-dev
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100