-
Notifications
You must be signed in to change notification settings - Fork 31
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
Comments
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.
|
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)? |
Ok that was. Adding Squeal framework into the Linked Frameworks and Libraries section makes this work :) Thanks and good job! |
I see that step is missing from the instructions. I'll correct that soon!
|
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?
The text was updated successfully, but these errors were encountered: