-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
[fix] change Yoga module name capitalisation in podspec to fix build issue #34058
Conversation
🤦 mentally taking notes: "as a release tester, I want to verify things work on case-sensitive filesystems" so...the matrix of all test things should be expanded to run once on case-sensitive fs and once on case-insensitive. Ouch! |
@@ -27,7 +27,7 @@ Pod::Spec.new do |spec| | |||
spec.authors = 'Facebook' | |||
spec.source = source | |||
|
|||
spec.module_name = 'yoga' | |||
spec.module_name = 'Yoga' | |||
spec.header_dir = 'yoga' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no special knowledge here but it seems suspicious to have header_dir lowercase while module name is upper? Makes the spidey-sense tingle but it may actually be lower for the files 🤷
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah tbh I was wondering if we should change both
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but wanted to get CI to run first, and get Riccardo's take ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The CI is red btw, and it seems related to this change
I am using a case-insensitive FS and I also get the second issue this is supposed to fix (#33976), even after applying the patch (and reinstalling the pods). Is it possible that this is not the proper fix, at least for the second linked issue? We did more investigation in the comments and have another possible cause for #33976. |
Changing the name of the module breaks all the Swift imports (Swift file are Also, this is not a fix for issue |
yeah let's close this off then, I just spun it up just in case it was a quick-fix that we could merge right away 🤣 thanks for the detailed explanation @cipolleschi ! |
Summary
This is just a quick PR that replicates the fix that @ackerleytng proposed here #33648; I'm not sure how to test the fix so I just went ahead and made the PR so that we can at least test it on CI and against internal + quickly merge and cherry pick it for 0.69.1.
Fixes #33648
Fixes #33976
Changelog
[iOS] [Fixed] - change Yoga module name capitalisation in podspec to fix build issue
Test plan
Verify against CI + internal CI, and maybe use the commit-ly to allow folks to verify the fix for themselves before we cherry pick?