Skip to content
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

Cordova dynamic target does not get embedded in a device build (dylib not found) #559

Closed
3 tasks done
bhariharan opened this issue Mar 2, 2019 · 0 comments
Closed
3 tasks done
Milestone

Comments

@bhariharan
Copy link
Contributor

Bug Report

The newly added dynamic target in the CordovaLib project does not get embedded correctly in an app binary. Attempting to build an IPA file will throw a dylib not found error with Cordova.framework.

Problem

The problem is that the dynamic target wasn't setting the standard framework installation path that's required for a dynamic target. This would prevent the app from embedding the framework binary in the correct location and a linker error dylib not found for Cordova.framework will be thrown.

What is expected to happen?

No such error should be thrown and the archive should succeed.

What does actually happen?

dylib not found for Cordova.framework linker error is thrown.

Command or Code

Embed the dynamic framework target in an app.

Environment, Platform, Device

  • iOS
  • Xcode 10

Version information

  • cordova-ios 5.0.0

Checklist

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants