Undefined Symbols for Architecture arm64:
"_sqlite3_prepare_v2", referenced from:
+[hmjschooltool querywithcondition:] in HMJSCHOOLTOOL.O
"_sqlite3_step", referenced from:
+[hmjschooltool querywithcondition:] in HMJSCHOOLTOOL.O
"_sqlite3_column_int", referenced from:
+[hmjschooltool querywithcondition:] in HMJSCHOOLTOOL.O
"_sqlite3_column_text", referenced from:
+[hmjschooltool querywithcondition:] in HMJSCHOOLTOOL.O
"_sqlite3_open", referenced from:
+[hmjschooltool Initialize] in HMJSCHOOLTOOL.O
"_sqlite3_exec", referenced from:
+[hmjschooltool Initialize] in HMJSCHOOLTOOL.O
+[hmjschooltool Save:] in HMJSCHOOLTOOL.O
Ld:symbol (s) not found for architecture arm64
Clang:error:linker command failed with exit code 1 (use-v to see invocation)
The main reason for this problem is that there is no reference to LIBSQLITE3.0.TBD, and Libsqlite3.0.tbd is added to the general linked frameworks and libraries in the project, when the problem is solved.
Undefined Symbols for Architecture arm64: Issue