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

Xcode 8.1 is reporting 'No such Module 'Charts'' #1743

Closed
cwoloszynski opened this issue Oct 29, 2016 · 3 comments
Closed

Xcode 8.1 is reporting 'No such Module 'Charts'' #1743

cwoloszynski opened this issue Oct 29, 2016 · 3 comments

Comments

@cwoloszynski
Copy link

I am using the latest version of Charts (8ef870a).

Just migrated to Xcode 8.1 this AM. Builds worked before this but after I am getting this new error.

When I look at the Charts project, it appears as a 'macOS' target not iOS. Any suggestions on how to fix this would be greatly appreciated.

@thierryH91200
Copy link
Contributor

look at #1538

@cwoloszynski
Copy link
Author

I suspect that Xcode 8.1 may have broken the ability to have a single Framework for multiple platforms. In looking at the compilation details for Charts framework, it now (under 8.1) builds differently than iOS frameworks.

The screen capture here shows XCGLogger output and the Charts output. The XCGLogger code compiles each source with its own line; Charts only shows a generic compilation line. The items after that show difference in architecture (x86 vs ARM), etc.

screenshot

@cwoloszynski
Copy link
Author

Looks like I found my issue. Somehow in the migration to Xcode, the target switched from an iOS simulator to 'MacOS'. Once I realized this and switched back to an iOS target, it all built fine.

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