Uh oh!
There was an error while loading. Please reload this page.
fix: pod install with --project-directory - #35754
Conversation
analysis-bot
commented
Dec 31, 2022
Base commit: 4923a09 |
analysis-bot
commented
Dec 31, 2022
Base commit: 4923a09 |
pull-bot
commented
Dec 31, 2022
PR build artifact for e93b7e9 is ready. |
pull-bot
commented
Dec 31, 2022
PR build artifact for e93b7e9 is ready. |
facebook-github-bot
commented
Dec 31, 2022
@rshest has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
rshest
commented
Dec 31, 2022
CC @dmytrorykun to double check. |
facebook-github-bot
commented
Dec 31, 2022
arnaudambro
commented
Jan 17, 2023
@dcangulo I have the exact same error with but when I go into the |
@arnaudambro This issue should be fixed in 0.72. For 0.71, you can do the following for a workaround. post_install do |installer|
react_native_post_install(
installer,
+ 'node_modules/react-native',
# Set `mac_catalyst_enabled` to `true` in order to apply patches
# necessary for Mac Catalyst builds
:mac_catalyst_enabled => false
)
__apply_Xcode_12_5_M1_post_install_workaround(installer)
endIn your |
marcoj
commented
Jan 27, 2023
I'm using a monorepo and this worked perfectly, just needed to add the correct path. in my case: Thank! |
Doesn't this fix qualify for a 0.71.X cherry pick? Seems like it's worth including instead of waiting for another minor version release (0.72). |
dcangulo
commented
Feb 8, 2023
@varemenos#36096 would fix it for 0.71.X |
Summary: Exercise `pod install --project-directory=ios` when building the generated iOS project to make sure we don't regress in the future. See also #37992, #35754, #34215, https://github.com/facebook/react-native/issues/33909… ## Changelog: [INTERNAL] [ADDED] - Exercise `pod install --project-directory=ios` when testing the iOS template Pull Request resolved: #37996 Test Plan: CI should pass. Reviewed By: dmytrorykun Differential Revision: D46972815 Pulled By: cipolleschi fbshipit-source-id: 69617b09ac599eba3dde3ddddcf08db95bfc4da3
Summary
The variable
versionis previously used but in 2344860#diff-adcf572f001c2b710d14f409c14763f1a50b08369b3034548f1602685d21f67f, its usage have been removed the but the variable is kept.It also raises an error when using
bundle exec pod install --project-directory=ioswhich works on0.70.Xand below.Changelog
[IOS] [FIXED] - pod install with --project-directory
Test Plan
bundle exec pod install --project-directory=iosshould not raise an error.