I’m trying to build couchbase-lite-core for all platforms: Mac, Windows, iOS and Android.
My first build attempt command line based, using the build_cmake/scripts/build_ios_fat.sh script. It was successful and I had no pain.
Now that I have built a basic mockup I want to test the portability of the app and lib through all the other systems.
My nest step is iOS but so far no joy!
Using the build_cmake/scripts/build_ios_fat.sh script, it builds successfully and the resulting file is libLiteCore.dylib but that’s it, the other dependencies libs are not compiled (FleeceStatic, -lSQLite3_UnicodeSN, BLIPStatic, CivetWeb) and therefore it is not useful at all.
Then you pointed me that scripts are just for reference and I should be looking at Readme so as in the Readme:
- Select the scheme LiteCore static or LiteCore dylib .
- Choose Product>Build (for a debug build) or Product>Build For>Profiling (for a release/optimized build).
Besides I can’t find the scheme LiteCore static in the list, the build process fails.
So tried to checkout a stable release such as CBL2.1.3 but it stills fail to build.
Do you have an idea of what possibly could go wrong?
Thank you very much,
With my best regards,