Closed CarlosNano closed 2 years ago
Have you also included the libsqlite3 libraries in your project? They're not provided by the support package; they're provided by Apple as part of the iOS developer kit. Your frameworks list for your project should look something like:
Nice!, now it compiles
Thanks for your help, I totally forgot sqlite is included in the Apple Framework list.
Describe the bug I'm trying to create an app in iOS which can run python scripts. To do so I'm trying to follow: https://docs.python.org/3/extending/embedding.html
I've added the static libraries in the XCode project from (https://briefcase-support.org/python?platform=iOS&version=3.10 ) and I've also added the paths for the header files in "Header Search Paths"
I've added a function in C calling:
Py_Initialize();
:It seems that triggers a lot of errors about missing sqlite symbols. Is Sqlite required to compile libPython library?
I'm missing something I should add?
Symbols missing:
Expected behavior No compilation errors
Environment: