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

Linker errors for architecture armv7 #43

Closed
heatherSnepenger opened this issue Dec 10, 2013 · 3 comments
Closed

Linker errors for architecture armv7 #43

heatherSnepenger opened this issue Dec 10, 2013 · 3 comments

Comments

@heatherSnepenger
Copy link

I'm using xcode 5, and I'm getting a whole bunch of linker errors. I added the libsqlite3.dylib, and that got rid of most of them. Is there another one I need to add? This is the error I'm getting now:

Undefined symbols for architecture armv7:
  "_sqlite3_key", referenced from:
   -[EncryptedStore configureDatabasePassphrase] in EncryptedStore.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
@gavin-black
Copy link
Member

Sounds like sqlcipher didn't get set-up properly. I'm assuming you followed the tutorial here: http://sqlcipher.net/ios-tutorial/ ? You don't want to use libsqlite3.dylib, since that is probably the vanilla sqlite libraries with no encryption (Thus the sqlite3_key issue, which is only in sqlcipher). Try removing that and then carefully stepping through the xcode tutorial for sqlcipher.

Another note, is make sure you clean and then rebuild at some point. It's not hard to get in a state where not all the steps are going, or are compiled for the wrong target.

@gavin-black
Copy link
Member

Any luck on this? I will probably close it out next week if I don't see any update, since it doesn't sound like it's on our end. Still would like to help you work through this though, and we can still communicate through this issue (it just won't show up in our stats anymore).

@gavin-black
Copy link
Member

Closing this out, let me know if you still do have compilation issues though and I can try to help you through them.

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