ios-cmake
ios-cmake copied to clipboard
Trying to use `ios-cmake` toolchain but I get an empty project
Hi,
I try to incorporate ios-cmake into our build setup but I consistently get empty Xcode project.
My goal is to build RapidFuzz C++ library as a dynamic framework for iOS and Simulator https://github.com/maxbachmann/rapidfuzz-cpp/tree/b2240f75cb0308cdf928ead4e1f6422a7a3c4efa
I use following command:
mkdir build
cd build
cmake .. -G Xcode -DCMAKE_TOOLCHAIN_FILE=../../ios-cmake/ios.toolchain.cmake -DPLATFORM=OS64COMBINED -DDEPLOYMENT_TARGET=13.0
Is it problem on my side? Is it problem with CMakeList? Can I do something without modifying external CMakeList?
I'll look into this as soon as i've figured out the fixes needed to get XCode 13.3+ and CMake 3.23+ to work with this toolchain!
Ok, so I'm pretty sure that after looking through Kitware's documentation, that the combined builds support only works for static libraries. That might be the issue you are seeing here. Please try to build it as a static library first to verify that's the case :)