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

Swift package manager support + compile from command line #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mrtj
Copy link

@mrtj mrtj commented Feb 7, 2017

Fixes #4

@@ -22,6 +22,7 @@
// THE SOFTWARE.
//

import Cocoa
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this required? I don't think it will compile in iOS targets.

@mrtj
Copy link
Author

mrtj commented Feb 8, 2017

import Cocoa is needed only if you compile the project for macOS platform; without it the compiler laments with "use of undeclared type 'NSError'" type errors. Sorry for not checking the build break on iOS.

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

Successfully merging this pull request may close these issues.

2 participants