mercredi 27 janvier 2016

tvOS sqlite linking error

I am trying to re-use sqlite related code from my iOS application on tvOS and getting few linking errors as below

Undefined symbols for architecture arm64:
  "_sqlite3_enable_load_extension", referenced from:
  "_sqlite3_load_extension", referenced from:

ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I am linking with libsqlite3.

The same code links fine on iOS. Seems like the library is missing some symbols for tvOS. Has anyone encountered this issue?

Aucun commentaire:

Enregistrer un commentaire