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
clang symbols not found #13
Comments
Are you using the Swift Development Snapshot 2016-03-24-a? We (me and @Joannis) haven't used MongoKitten with a 'normal' OS X app project, we just |
Eddy
|
Could you post your |
On another note: Why are you adding an import path? |
@EddyHahn I've managed to reproduce the error. Tell me if I'm incorrect: You've created a project in XCode. Added a package.swift with the required information. Then you've linked the Currently XCode does not support SPM (Swift Package Manager) projects by default. So to solve this you'll have to generate the project differently. Create a directory with the name of your project: This is not a bug in Open the Now you can open the project again with XCode and you'll be set with your new dependencies. I hope this helps! |
Thanks! I do not know what happened but this time around the swift build -X worked and all the packages now show up in Xcode. Build did work swell and I can debug too! Thank you Again! Eddy
|
No problem! Good luck with MongoKitten! Just enter another ticket if you need additional assistance. |
Hi,
I have all the toolchains setup correctly. When I build from the command line I get a successful build. However when I try to build from Xcode the linker cannot link to the MongoKitten.swiftmodule.
Do I have to use a different version of clang?
Undefined symbols for architecture x86_64:
"MongoKitten.Server.__allocating_init (at : Swift.String, port : Swift.Int, using : (username : Swift.String, password : Swift.String)?, automatically : Swift.Bool) throws -> MongoKitten.Server", referenced from:
test.AppDelegate.applicationDidFinishLaunching (__ObjC.NSNotification) -> () in AppDelegate.o
ld: symbol(s) not found for architecture x86_64
Any idea?
Thanks,
Eddy
The text was updated successfully, but these errors were encountered: