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

Getting Error cannot load underlying module XCTest #965

Closed
FrancisZamora opened this issue Apr 21, 2016 · 5 comments
Closed

Getting Error cannot load underlying module XCTest #965

FrancisZamora opened this issue Apr 21, 2016 · 5 comments

Comments

@FrancisZamora
Copy link

Getting Error in my BarChartTests which says that the underlying module for XCTest cannot be loaded. What should I do?

@pmairoldi
Copy link
Collaborator

You most likely adding BarChartTests to a target that is not a test target.

@FrancisZamora
Copy link
Author

So what should I do to BarChartTests? I just did file..add files to project and added charts to my project and put import Charts in my view controller and thats all I did. I'm just trying to see if it will run like that.

@pmairoldi
Copy link
Collaborator

Just add the classes folder nothing else.

@FrancisZamora
Copy link
Author

Alright perfect... I have another question. So I should put the import Charts in my ViewContoller.swift file or should I make a new file for the view controller which I made in the story board and added a view with its class set to bar chart view?

@pmairoldi
Copy link
Collaborator

See #966

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