jpush / jpush/jpush-react-native
ios build 失败
Open
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.61.5
- jcore-react-native 版本: 1.7.5
- jpush-react-native 版本: 2.7.5
Debug logs
iOS 的日志:
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_JCOREIntegrate", referenced from:
objc-class-ref in libjpush-ios-3.2.8.a(JPUSHService.o)
"_OBJC_CLASS_$_JCORELog", referenced from:
objc-class-ref in libjpush-ios-3.2.8.a(JPUSHService.o)
objc-class-ref in libjpush-ios-3.2.8.a(JPUSHHelper.o)
"_kJPFNetworkFailedRegisterNotification", referenced from:
-[RCTJPushModule init] in RCTJPushModule.o
"_kJPFNetworkDidCloseNotification", referenced from:
-[RCTJPushModule init] in RCTJPushModule.o
"_kJPFNetworkDidLoginNotification", referenced from:
-[RCTJPushModule init] in RCTJPushModule.o
-[RCTJPushModule convertConnect:] in RCTJPushModule.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Pod install 了
Detected React Native module pods for JCore and JPush
Analyzing dependencies
Downloading dependencies
Installing JCore (1.7.5)
Installing JPush (2.7.5)
Generating Pods project
Integrating client project
Pod installation complete! There are 48 dependencies from the Podfile and 52 total pods installed.
在Header Search Paths 加了以下这些也无效
"${PODS_ROOT}/Headers/Public"
"${PODS_ROOT}/Headers/Public/JCore"
"${PODS_ROOT}/Headers/Public/JPush"
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 with the reported x86_64 linker errors and the Pod installation output for JCore 1.7.5 and JPush 2.7.5. Check how those installed pods are integrated into the iOS build; done means the project links successfully without the missing JCORE symbols and network notification symbols.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, react-native
- Domain
- build-system, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100