-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: ios xcode build width error "library not found for -ljcore-ios-2.1.4" #2632
Comments
Can you provide a sample app? |
there is https://github.com/AlwaysLoveme/ionic5DemoApp.git |
I tried [email protected], but also build error |
I can't reproduce the |
since I add plugin "jpush-phonegap-plugin", Xcode build with error "library not found for -ljcore-ios-2.1.4" |
so, the other one error can resolved? |
there is something wrong with the jcore-ios.a file, I've reported it in their repository and proposed a possible solution they can implement |
so, the problem is CocoaPods doesn't allow .a libraries without lib prefix in the name, I've patched the CLI to prepend lib to .a files if they didn't have it already. |
Hi, i copy this commit change to my local @capacitor/cli which is "fix(cordova): Add lib prefix to .a library names (#2636)", now Xcode build success width no errors, but the app in my iphone can not running, it is crashed, here is my demo: https://github.com/AlwaysLoveme/demo_.git |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out. |
Bug Report
Capacitor Version
npx cap doctor
output:Affected Platform(s)
Current Behavior
xcode build error
Expected Behavior
xcode build success
Sample Code or Sample Application Repo
Reproduction Steps
Other Technical Details
npm --version
output: 6.13.4node --version
output: 12.16.1pod --version
output (iOS issues only): 1.9.1Other Information
The text was updated successfully, but these errors were encountered: