Uh oh!
There was an error while loading. Please reload this page.
[Cocoapods] min_ios_version_supported -> min_supported_versions - #39310
[Cocoapods] min_ios_version_supported -> min_supported_versions#39310Saadnajmi wants to merge 5 commits into
Conversation
dmytrorykun
commented
Sep 6, 2023
@Saadnajmi could you please rebase on the latest main, as there were unrelated CircleCI failures recently. |
Uuuh, I seem to have messed up the branch a bit with the rebase, I'll fix shortly |
facebook-github-bot
commented
Sep 6, 2023
@dmytrorykun has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Base commit: ef3e771 |
Saadnajmi
commented
Sep 6, 2023
Should be fixed now! |
facebook-github-bot
commented
Sep 6, 2023
@dmytrorykun has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
dmytrorykun
commented
Sep 6, 2023
@Saadnajmi there are some Ruby Test failures. Reproducible locally with Could you please fix them? |
Saadnajmi
commented
Sep 6, 2023
Sorry, I think this will still fail actually (seeing that locally). Give me a bit while I learn more about ruby :D |
Saadnajmi
commented
Sep 6, 2023
@dmytrorykun looks like we're good now! |
facebook-github-bot
commented
Sep 7, 2023
@dmytrorykun has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
This pull request was successfully merged by @Saadnajmi in 1b78da8. When will my fix make it into a release? | Upcoming Releases |
Summary: One of the most common diffs we have in React Native macOS is simply extending the `platforms` key Inside every pod spec to include macOS. React Native tvOS does the same to add tvOS. In the future, React Native may support visionOS, at which point we do the same thing again. Let's define a `min_supported_versions` hash that can be overridden at one place that is extensible to more platforms, instead of just specifying `min_ios_version_supported`. Note: In doing this change, I have set it that `React-Hermes.podspec` doesn't build for macOS anymore. I think this is safe, since anyone using Hermes on macOS was probably using React Native macOS where we already have a diff to add macOS back? [IOS] [CHANGED] - Add min_supported_versions helper to cocoa pods scripts Pull Request resolved: react#39310 Test Plan: CI should pass. Reviewed By: NickGerleman Differential Revision: D49014109 Pulled By: dmytrorykun fbshipit-source-id: d44fc7b750c70cc263a2c89502c022a0db9a4771
) * updateIphoneOSDeploymentTarget -> updateOSDeploymentTarget (react#39570) Summary: While merging new commits into React Native macOS, I noticed react#39478 I would like to also set `MACOS_DEPLOYMENT_TARGET` in our fork, and thought this slight rename would be something I can do upstream [Internal] - updateIphoneOSDeploymentTarget -> updateOSDeploymentTarget Pull Request resolved: react#39570 Test Plan: CI should pass Reviewed By: NickGerleman Differential Revision: D49514693 Pulled By: ryancat fbshipit-source-id: b4dafb1f9736d2977510712652cb8097263c489d * min_ios_version_supported -> min_supported_versions (react#39310) Summary: One of the most common diffs we have in React Native macOS is simply extending the `platforms` key Inside every pod spec to include macOS. React Native tvOS does the same to add tvOS. In the future, React Native may support visionOS, at which point we do the same thing again. Let's define a `min_supported_versions` hash that can be overridden at one place that is extensible to more platforms, instead of just specifying `min_ios_version_supported`. Note: In doing this change, I have set it that `React-Hermes.podspec` doesn't build for macOS anymore. I think this is safe, since anyone using Hermes on macOS was probably using React Native macOS where we already have a diff to add macOS back? [IOS] [CHANGED] - Add min_supported_versions helper to cocoa pods scripts Pull Request resolved: react#39310 Test Plan: CI should pass. Reviewed By: NickGerleman Differential Revision: D49014109 Pulled By: dmytrorykun fbshipit-source-id: d44fc7b750c70cc263a2c89502c022a0db9a4771 * Set macOS deployment target
bingDBdu
commented
Feb 5, 2024
@bingDBdu Without knowing much of your setup, I see you're using cocoapods 1.15.0, which I think is actually not compatible with React Native at the moment. Also are you on RN 0.73? |


Summary:
One of the most common diffs we have in React Native macOS is simply extending the
platformskey Inside every pod spec to include macOS. React Native tvOS does the same to add tvOS. In the future, React Native may support visionOS, at which point we do the same thing again. Let's define amin_supported_versionshash that can be overridden at one place that is extensible to more platforms, instead of just specifyingmin_ios_version_supported.Note: In doing this change, I have set it that
React-Hermes.podspecdoesn't build for macOS anymore. I think this is safe, since anyone using Hermes on macOS was probably using React Native macOS where we already have a diff to add macOS back?Changelog:
[IOS] [CHANGED] - Add min_supported_versions helper to cocoa pods scripts
Test Plan:
CI should pass.