-
Notifications
You must be signed in to change notification settings - Fork 988
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
[bug] editable mode breaks XcodeDeps/XcodeToolchain #12839
Comments
Hi @mkoviazin Thanks for your report, lets have a look. |
Thanks, that's good to know! That wasn't documented here hence I didn't know it existed |
I wonder actually if I'm using editable mode correctly at all. Trying to report the expected behaviour, I did the same with CMakeDeps/CMakeToolchain and it caused a python stack trace: #12840 |
Submitting a PR in #12841 for fixing this. I am not sure what could be failing on your side, I am checking and in my tests the Can you please try the producer with the |
So I recreated producer with
Not sure if |
My PR will fix it, so this shouldn't be an issue. The main difference is the new |
I did use |
This was closed by #12841, the original None issue is fixed, and defining the components in the |
Environment details
Steps to reproduce
conan new producer/1.0 -s
CMakeToolchain
and overall Conan 2.0 compatible. The contents of all files in my producer result can be found hereconan create . -pr:h default -pr:b default -b missing
conanfile.txt
will be enough. My consumerconanfile.txt
can be found hereconan install . -u -pr:h default -pr:b default --build missing -if conan-install-xcode
producer
an editable dependency:conan editable add ../producer/ producer/1.0
conan install . -u -pr:h default -pr:b default --build missing -if conan-editable-xcode
diff -rup conan-install-xcode/conan_producer_producer_release_arm64.xcconfig conan-editable-xcode/conan_producer_producer_release_arm64.xcconfig
(replace arm64 with x86_64 on intel Mac)The diff will show that
PACKAGE_ROOT
for producer in editable mode isNone
.In my real example this causes
xcodebuild
to fail to find the needed headers.Logs
The text was updated successfully, but these errors were encountered: