Hello,
Trying to use firebase C++ on IOS, with AdMob and Analytics :
I have noticed there are three archives :
A/ Firebase C++ SDK
https://firebase.google.com/docs/cpp/setup#dependenciesB/ Framework SDK
https://firebase.google.com/docs/ios/setup#available_pods
C/ Admob IOS Only SDK
https://firebase.google.com/docs/admob/ios/downloadI want to use the C++, but without cocapod.
But, got some issues :
1/ Cannot find the include "#include <cstdint>" in file "firebase_cpp_sdk/include/firebase/analytics.h"
though it can find the file "#include <tr1/cstdint>".
2/ Since I didn't want to use cocoapod, I try to use the set of framework from the zip file B/
=> it's really not clear what is needed.
there are always undefined function references to frameworks.
(currently my list is : AVFoundation CoreMedia CoreTelephony, EventKit, EventKitUI, AddressBook MessageUI ... )
it also require:
some compression "deflate" function (libz ?).
some "std::__1::__vector ... " , which STL is that ?
"_GADAdSizeFromGGSize, is this the archive [C] ?
There are IOS frameworks in [A] and [B], which one are needed ?
There are also IOS libs (libadmob.a, libanalytucs.a, libapp.a) in [A] for IOS, are they needed ?
3) You will probably ask what is my use case ...
- I'd like to use the same code as with my android app. For this reason, I want to use C++.
- I'd prefer to have no inter-action with xcode-project at all, not even cocoapod.
I use CMake for +40 projects, it works pretty well. It allows to save my project into a versionning system,
and to regenerated the xcode project when I want.
(xcode a pretty useless to IDE, and you always end up screwing up you project file with it !)
So I only need to write into my CMakeLists.txt the correct frameworks to use, the correct paths for includes and directories.
But, currently, this is really not clear to me what those information are.
Thanks for you help,
Cheers