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

Not detecting Database class in my swift files #14

Closed
Barbur01 opened this issue Sep 30, 2014 · 4 comments
Closed

Not detecting Database class in my swift files #14

Barbur01 opened this issue Sep 30, 2014 · 4 comments

Comments

@Barbur01
Copy link

I followed your installation instructions and added the call let onDiskDatabase = Database(...) and it does not find the Database class. Am I missing an import or a framework setup on my project?

@nerdyc
Copy link
Owner

nerdyc commented Sep 30, 2014

Have you included import statements for Squeal and sqlite3?

If you're able to share your project file that might help. Also the version of XCode you're using.

On Sep 30, 2014, at 10:30, Barbur01 notifications@github.com wrote:

I followed your installation instructions and added the call let onDiskDatabase = Database(...) and it does not find the Database class. Am I missing an import or a framework setup on my project?


Reply to this email directly or view it on GitHub.

@Barbur01
Copy link
Author

Ok seems that XCode 6.1 Beta 3 does not work very well. Sometimes compiles and sometimes not. Now I added import Squeal to my swift file and seems to find it. However it does not get the let onDiskDatabase = Database(...) . It says: 'Database' is unavailable: cannot find Swift declaration for this class. Maybe I have to add the Squael framework into my project setup (Linked Frameworks and Libraries section)?

@Barbur01
Copy link
Author

Ok that was. Adding Squeal framework into the Linked Frameworks and Libraries section makes this work :) Thanks and good job!

@nerdyc
Copy link
Owner

nerdyc commented Sep 30, 2014

I see that step is missing from the instructions. I'll correct that soon!

On Sep 30, 2014, at 10:46, Barbur01 notifications@github.com wrote:

Ok that was. Adding Squeal framework into the Linked Frameworks and Libraries section makes this work :) Thanks and good job!


Reply to this email directly or view it on GitHub.

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