Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to use ios-cmake toolchain but I get an empty project #135

Open
oskargargas opened this issue Feb 14, 2022 · 2 comments
Open

Trying to use ios-cmake toolchain but I get an empty project #135

oskargargas opened this issue Feb 14, 2022 · 2 comments

Comments

@oskargargas
Copy link

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?

@leetal
Copy link
Owner

leetal commented Apr 4, 2022

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!

@leetal
Copy link
Owner

leetal commented May 20, 2022

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants