"_sqlite3_prepare_v3", referenced from: -[APMSqliteStore prepareSQL:error:] in GoogleAppMeasurement(APMSqliteStore_some_message.o)
Symbol(s) not found for architecture x86_64
Linker command failed with exit code 1 (use -v to see invocation)
"Undefined symbol: _sqlite3_prepare_v3"
Hello,
Regarding the use of xcframeworks error, you can try turning off the legacy build system. Go to File -> Workplace Settings -> Build System -> Change to New Build System (Default).
Regarding the use of older versions of our SDK, you can find a list of podspecs at https://github.com/CocoaPods/Specs/tree/master/Specs/5/9/a/Google-Mobile-Ads-SDK. In each podspec you will see the line (see attached screenshot):
"source": {
"http": "https://dl.google.com/dl/cpdc/0c10c95bd100a047/Google-Mobile-Ads-SDK-7.58.0.tar.gz"
},
This is the download URL for the given version of the SDK.
Have you also added '-ObjC' to the Other Linker Flags setting in your project build settings as per the documentation ?
If you could try the above steps and let us know your findings.
Thanks
Sam
Mobile Ads SDK support team

(Legacy build system message)

I've read the initial issue is this:
*"_sqlite3_prepare_v3", referenced from: -[APMSqliteStore
prepareSQL:error:] in GoogleAppMeasurement(APMSqliteStore_some_message.o)*
*Symbol(s) not found for architecture x86_64*
Does adding the flags: -l"c++" -l"sqlite3" -l"z" to your Other Linker Flags (as well as -ObjC) not solve the issue?
If you would be able to provide a sample project which reproduces the issue we would be able to help you further. Since it doesn't reproduce on our sample apps it sounds like it may be an issue specific to your project.
Regards