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

Metadata for Swift classes is missing on the first build with Xcode 10.2 #1166

Closed
mbektchiev opened this issue Jun 26, 2019 · 0 comments
Closed
Assignees
Labels
Milestone

Comments

@mbektchiev
Copy link
Contributor

mbektchiev commented Jun 26, 2019

Environment

  • CLI: next -> 6.0.0-2019-06-26-141203-13503
  • Cross-platform modules: next -> 6.0.0-next-2019-06-26-125842-04
  • iOS Runtime: next -> 6.0.0-2019-06-19-084246-01

Describe the bug
App crashes with JS ERROR ReferenceError Can't find variable SwiftClass file:... when 1st build it then run it (after adding Swift class).

To Reproduce

  1. tns create TestApp --js
  2. tns build ios
  3. Add Swift class and use it
  4. tns run ios

Expected behavior
App to work when Swift files are added

Sample project

Additional context
If you first add Swift files and run the app it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants