jpush / jpush/jpush-phonegap-plugin

ld: library not found for -ljcore-ios-1.2.6

Open
#408 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
922
Forks
350
PR merge metrics
No merged PRs in 30d

Description

你的运行环境

  • 插件版本:

  • 平台(iOS):

  • Ionic Version (V4 & capacitor)

重现步骤

  1. npm i jpush-phonegap-plugin --save
  2. npx cap sync
  3. npx cap copy ios
  4. npx cap open ios

背景

添加插件,编译报错:
ld: library not found for -ljcore-ios-1.2.6
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Debug logs

包括 iOS 的日志:

  • iOS:
    ld: library not found for -ljcore-ios-1.2.6
    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 problem with jpush-phonegap-plugin using npm i, npx cap sync, npx cap copy ios, and the opened iOS project. Start from the linker error for jcore-ios-1.2.6 and trace the generated iOS dependency configuration; done means the plugin project builds without the missing-library error.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.