ios-cmake icon indicating copy to clipboard operation
ios-cmake copied to clipboard

A CMake toolchain file for iOS/iPadOS, visionOS, macOS, watchOS & tvOS C/C++/Obj-C++ development

Results 40 ios-cmake issues
Sort by recently updated
recently updated
newest added

I downloaded the project, cd example/example-lib mkdir build cd build cmake .. -G Xcode -DCMAKE_TOOLCHAIN_FILE=../../ios.toolchain.cmake -DPLATFORM=OS64 Terminal error: -- [DEFAULTS] Using explicit named language support! E.g., enable_language(CXX) is needed in...

bug

I'm trying to build this crypto library to a library for ios: https://github.com/dfoxfranke/libaes_siv ``` cmake .. \ -G Xcode -DCMAKE_TOOLCHAIN_FILE=../../ios-cmake/ios.toolchain.cmake -DPLATFORM=OS64 cmake --build . ``` Is failing with: ``` error:...

bug

I tried to use this toolchain file for all the apple kernel related builds that we are doing - macOS, tvOS, watchOS, iOS etc. I believe this toolchain file can...

[This](https://github.com/leetal/ios-cmake/blob/master/ios.toolchain.cmake#L147-L150) breaks my build: ```cmake if(DEFINED ENV{_IOS_TOOLCHAIN_HAS_RUN}) return() endif() set(ENV{_IOS_TOOLCHAIN_HAS_RUN} true) ``` Where the previous version is fine: ```cmake if(IOS_TOOLCHAIN_HAS_RUN) return() endif(IOS_TOOLCHAIN_HAS_RUN) set(IOS_TOOLCHAIN_HAS_RUN true) ``` I believe that's because it...

bug

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...

When updating `CMAKE_FIND_ROOT_PATH`, invalid syntax is used: https://github.com/leetal/ios-cmake/blob/14092d317b84a3037e71b870d2117dda126811a3/ios.toolchain.cmake#L882 `CACHE INTERNAL ""` is not allowed with `list`. As a result, `CMAKE_FIND_ROOT_PATH` contains the literal entries "`CACHE`" and "`INTERNAL`". Since with CMake...

Hey! I'm just curious, why the defaults for the different `CMAKE_FIND_ROOT_PATH_MODE_*` switches had been changed to `BOTH` in this (old) change: https://github.com/leetal/ios-cmake/commit/96e13cf067500f51121df9c0e8a1e843da8c0966 Last week I was quite confused, because my...

I was wondering if it could be theoretically possible for XCode to produce **non**-FAT binaries that works in both iOS/MacOS. Provided there's an ABI that works in both the operating...

I want to compile FAT files containing armv7 and arm64, what should I do?

bug

This might be related to erroneous feature detection