Skip to content

Conversation

@Saadnajmi
Copy link
Contributor

Summary:

While merging new commits into React Native macOS, I noticed #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

Changelog:

[Internal] - updateIphoneOSDeploymentTarget -> updateOSDeploymentTarget

Test Plan:

CI should pass

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Microsoft Partner: Microsoft Partner Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. labels Sep 21, 2023
@github-actions
Copy link

Warnings
⚠️

E2E tests for ci/circleci: test_e2e_ios failed with errors. See the logs for details

⚠️

E2E tests for ci/circleci: test_e2e_ios failed with errors. See the logs for details

Generated by 🚫 dangerJS against 4425a03

@facebook-github-bot
Copy link
Contributor

@ryancat has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@ryancat
Copy link
Contributor

ryancat commented Sep 21, 2023

@Saadnajmi For people have less context, this changes so that the method would cover both iphoneos and macos?

@Saadnajmi
Copy link
Contributor Author

@Saadnajmi For people have less context, this changes so that the method would cover both iphoneos and macos?

Yeah, but I would only add the macOS deployment target in React Native macOS. Most of my changes to React Native are small renames / upstreaming bug fixes from React Native macOS. I was trying to be proactive about this one so we have one less diff between React Native and React Native macOS

@github-actions
Copy link

This pull request was successfully merged by @Saadnajmi in 8fa1127.

When will my fix make it into a release? | Upcoming Releases

@github-actions github-actions bot added the Merged This PR has been merged. label Sep 22, 2023
@Saadnajmi Saadnajmi deleted the iphone branch September 22, 2023 02:21
ShevO27 pushed a commit to ShevO27/react-native that referenced this pull request Sep 26, 2023
…39570)

Summary:
While merging new commits into React Native macOS, I noticed facebook#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

## Changelog:

[Internal] - updateIphoneOSDeploymentTarget -> updateOSDeploymentTarget

Pull Request resolved: facebook#39570

Test Plan: CI should pass

Reviewed By: NickGerleman

Differential Revision: D49514693

Pulled By: ryancat

fbshipit-source-id: b4dafb1f9736d2977510712652cb8097263c489d
Saadnajmi added a commit to Saadnajmi/react-native-macos that referenced this pull request Jan 19, 2024
…39570)

Summary:
While merging new commits into React Native macOS, I noticed facebook#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: facebook#39570

Test Plan: CI should pass

Reviewed By: NickGerleman

Differential Revision: D49514693

Pulled By: ryancat

fbshipit-source-id: b4dafb1f9736d2977510712652cb8097263c489d
Saadnajmi added a commit to microsoft/react-native-macos that referenced this pull request Jan 20, 2024
)

* updateIphoneOSDeploymentTarget -> updateOSDeploymentTarget (facebook#39570)

Summary:
While merging new commits into React Native macOS, I noticed facebook#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: facebook#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 (facebook#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: facebook#39310

Test Plan: CI should pass.

Reviewed By: NickGerleman

Differential Revision: D49014109

Pulled By: dmytrorykun

fbshipit-source-id: d44fc7b750c70cc263a2c89502c022a0db9a4771

* Set macOS deployment target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. p: Microsoft Partner: Microsoft Partner Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants