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 work with a pure Swift project #552

Closed
3 tasks done
bhariharan opened this issue Feb 26, 2019 · 0 comments
Closed
3 tasks done

Cordova dynamic target does not work with a pure Swift project #552

bhariharan opened this issue Feb 26, 2019 · 0 comments
Milestone

Comments

@bhariharan
Copy link
Contributor

Bug Report

The newly added dynamic target in the CordovaLib project does not work with a pure Swift project.

Problem

The problem is that Swift requires a module map to be defined and the dynamic targets to define modules. The newly added dynamic target in CordovaLib is missing the required flag Enable Modules and hence there's no module map generated for the library.

What is expected to happen?

Enable Modules should be enabled and module map file should be generated.

What does actually happen?

Enable Modules is not enabled and module map file is not generated.

Information

An easy way to reproduce is to try to pull in the CordovaLib dynamic target into another dynamic target which is then pulled into a pure Swift app.

Environment, Platform, Device

  • iOS
  • Swift

Version information

  • Cordova iOS 5.0.0
  • Xcode 10

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