Open Nekto89 opened 9 months ago
Hi @Nekto89
We would need more information in order to reproduce this on our end, i.e., what type of errors are you getting?
That attribute is specific to xcode projects generate by CMake - I'm not sure if there needs to be a "universal way" if the issue can only be reproduced with CMake?
Hi @Nekto89
We would need more information in order to reproduce this on our end, i.e., what type of errors are you getting?
That attribute is specific to xcode projects generate by CMake - I'm not sure if there needs to be a "universal way" if the issue can only be reproduced with CMake?
I've just added fmt/*:shared=True
to example in cmake-conan
. But it can be reproduced without cmake-conan
by just manually adding tools.cmake.cmaketoolchain:generator=Xcode
to profile for cross-compilation.
git clone https://github.com/Nekto89/cmake-conan.git -b bug/reproduce_sign_xcode
cmake -GXcode -DCMAKE_CONFIGURATION_TYPES=Release -DCMAKE_PROJECT_TOP_LEVEL_INCLUDES=../conan_provider.cmake -DCMAKE_OSX_ARCHITECTURES=arm64 -DCMAKE_OSX_DEPLOYMENT_TARGET=13.7 -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_ALLOWED=NO -B build -S cmake-conan/example
What is your question?
Hi! I have a question regarding usage of Xcode for building conan packages. I was using default "Unix Makefiles" generator for some time on macOS but after switching to "Xcode" I'm getting errors. I would like to disable code signing. Is it possible to achieve this natively through conan like other apple-specific options (tools.apple:enable_arc, enable_bitcode, enable_visibility)? For cmake projects it can be done through "-DCMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_ALLOWED=NO" but I would prefer to use more universal way.
Have you read the CONTRIBUTING guide?