Uh oh!
There was an error while loading. Please reload this page.
iOS: don't override EXCLUDED_ARCHS when installing Hermes - #39060
iOS: don't override EXCLUDED_ARCHS when installing Hermes#39060jpdriver wants to merge 4 commits into
Conversation
Base commit: 10a076f |
cipolleschi
left a comment
There was a problem hiding this comment.
Hi @jpdriver! Thank you so much for this update. I think that is very good.
However, there are a couple of tests that are failing and need to be updated:
- https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/cocoapods/__tests__/utils-test.rb#L223
- https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/cocoapods/__tests__/utils-test.rb#L242
Can you take care of it?
cipolleschi
left a comment
There was a problem hiding this comment.
Amazing job, thank you so much for adding some tests on top of these changes.
I left some suggestions to improve maintainability and readibility.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
jpdriver
commented
Aug 24, 2023
@cipolleschi changed as requested 🙇🏻♂️ note that with the early returns in place these changes mean we will not set existing behaviour is we align all projects to use a blank string. (see changes to tests for more detail) so not sure if this now constitutes a "breaking" change or not? 😅 |
cipolleschi
commented
Aug 29, 2023
I think it is better this way, honestly. |
facebook-github-bot
commented
Aug 29, 2023
@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
facebook-github-bot
commented
Aug 29, 2023
@cipolleschi merged this pull request in f2447e6. |
Summary:
EXCLUDED_ARCHS, these settings are overwritten by thereact_native_post_installstep as part of the Cocoapods installEXCLUDED_ARCHSwhen using HermesExisting Behaviour
react_native_post_installstep isexclude_i386_architecture_while_using_hermes🐛 However 🐛
EXCLUDED_ARCHSset, the existing value will be overwritten either to"i386"or a blank stringChanged Behaviour
"i386"to existing string if set, or just sets the value to"i386"if there is no existing valueChangelog:
[IOS] [FIXED] don't override
EXCLUDED_ARCHSwhen installing HermesTest Plan: