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

Unable to run from command line #5

Closed
kechan opened this issue Sep 18, 2014 · 2 comments
Closed

Unable to run from command line #5

kechan opened this issue Sep 18, 2014 · 2 comments

Comments

@kechan
Copy link

kechan commented Sep 18, 2014

$ xcrun swift main.swift complex.swift

main.swift:18:13: error: use of unresolved identifier 'Complex'
ok(1-1.i == Complex(1,-1), "1-1.i == Complex(1,-1)")
^

I think it is not picking up complex.swift? I had wanted to do this sort of thing and run into problems.
Please see: http://stackoverflow.com/questions/25860471/xcrun-swift-on-command-line-generate-unknown0-error-could-not-load-shared-l

@dankogai
Copy link
Owner

I've fixed readme to reflect the recent changes of swift. It is now:

xcrun -sdk macosx swiftc *.swift && ./main

@kechan
Copy link
Author

kechan commented Sep 23, 2014

I think this doesnt work with Version 6.0.1 (6A317), which is GM:

:0: error: the SDK 'MacOSX10.9.sdk' does not support Swift

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