Skip to content
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 cli bundle platform for Mac Catalyst in react-native-xcode.sh #31062

Closed
wants to merge 1 commit into from
Closed

Fix cli bundle platform for Mac Catalyst in react-native-xcode.sh #31062

wants to merge 1 commit into from

Conversation

robertying
Copy link
Contributor

@robertying robertying commented Feb 26, 2021

Summary

A recent commit 941bc0e#diff-0eeea47fa4bace26fa6c492a03fa0ea3923a2d8d54b7894f7760cb9131ab65eb on Hermes macOS brings a regression for Mac Catalyst target.

Once hardcoded cli bundle platform ios can now be either ios or macos. However, Mac Catalyst is identified as macos rather than ios.

This PR should fix it and close #31061.

Changelog

[iOS] [Fixed] - Fix cli bundle platform for Mac Catalyst in react-native-xcode.sh

Test Plan

  1. Build fails on a new RN 0.64-rc.3 project.
  2. Apply the fix.
  3. Build passes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 26, 2021
@analysis-bot
Copy link

Platform Engine Arch Size (bytes) Diff
ios - universal n/a --

Base commit: ab53332

@analysis-bot
Copy link

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,902,464 +0
android hermes armeabi-v7a 8,399,657 +0
android hermes x86 9,391,480 +0
android hermes x86_64 9,335,728 +0
android jsc arm64-v8a 10,636,494 +0
android jsc armeabi-v7a 10,116,786 +0
android jsc x86 10,687,010 +0
android jsc x86_64 11,271,491 +0

Base commit: ab53332

@ryfow
Copy link

ryfow commented Apr 29, 2021

I'd like to see this one merged in case anyone cares :)

@vincentjames501
Copy link

This one is the last blocker to getting it building on Catalyst. Can't wait for this one to be merged!

@tanaytanay
Copy link

This would be a very helpful fix!

@ganeshkbhat
Copy link

ganeshkbhat commented May 17, 2021

This would be a very helpful fix!

Tanay Parekhji, Why was the merging blocked? You were wrong??

@tanaytanay
Copy link

This would be a very helpful fix!

Tanay Parekhji, Why was the merging blocked? You were wrong??

Not sure if it's blocked. Looks like the PR has been picked for the next merge

@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

@appden merged this pull request in b496a53.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jun 11, 2021
kelset pushed a commit that referenced this pull request Jun 16, 2021
…31062)

Summary:
A recent commit 941bc0e#diff-0eeea47fa4bace26fa6c492a03fa0ea3923a2d8d54b7894f7760cb9131ab65eb on Hermes macOS brings a regression for Mac Catalyst target.

Once hardcoded cli bundle platform `ios` can now be either `ios` or `macos`. However, Mac Catalyst is identified as `macos` rather than `ios`.

This PR should fix it and close #31061.

## Changelog

[iOS] [Fixed] - Fix cli bundle platform for Mac Catalyst in `react-native-xcode.sh`

Pull Request resolved: #31062

Test Plan:
1. Build fails on a new RN 0.64-rc.3 project.
2. Apply the fix.
3. Build passes.

Reviewed By: TheSavior

Differential Revision: D29038793

Pulled By: appden

fbshipit-source-id: 29761f887ec7a9cc26f088953c3888c6d19bed71
danilobuerger pushed a commit to feastr/react-native that referenced this pull request Jun 18, 2021
…acebook#31062)

Summary:
A recent commit facebook@941bc0e#diff-0eeea47fa4bace26fa6c492a03fa0ea3923a2d8d54b7894f7760cb9131ab65eb on Hermes macOS brings a regression for Mac Catalyst target.

Once hardcoded cli bundle platform `ios` can now be either `ios` or `macos`. However, Mac Catalyst is identified as `macos` rather than `ios`.

This PR should fix it and close facebook#31061.

## Changelog

[iOS] [Fixed] - Fix cli bundle platform for Mac Catalyst in `react-native-xcode.sh`

Pull Request resolved: facebook#31062

Test Plan:
1. Build fails on a new RN 0.64-rc.3 project.
2. Apply the fix.
3. Build passes.

Reviewed By: TheSavior

Differential Revision: D29038793

Pulled By: appden

fbshipit-source-id: 29761f887ec7a9cc26f088953c3888c6d19bed71
danilobuerger pushed a commit to feastr/react-native that referenced this pull request Oct 28, 2021
…acebook#31062)

Summary:
A recent commit facebook@941bc0e#diff-0eeea47fa4bace26fa6c492a03fa0ea3923a2d8d54b7894f7760cb9131ab65eb on Hermes macOS brings a regression for Mac Catalyst target.

Once hardcoded cli bundle platform `ios` can now be either `ios` or `macos`. However, Mac Catalyst is identified as `macos` rather than `ios`.

This PR should fix it and close facebook#31061.

## Changelog

[iOS] [Fixed] - Fix cli bundle platform for Mac Catalyst in `react-native-xcode.sh`

Pull Request resolved: facebook#31062

Test Plan:
1. Build fails on a new RN 0.64-rc.3 project.
2. Apply the fix.
3. Build passes.

Reviewed By: TheSavior

Differential Revision: D29038793

Pulled By: appden

fbshipit-source-id: 29761f887ec7a9cc26f088953c3888c6d19bed71
danilobuerger pushed a commit to feastr/react-native that referenced this pull request Oct 28, 2021
…acebook#31062)

Summary:
A recent commit facebook@941bc0e#diff-0eeea47fa4bace26fa6c492a03fa0ea3923a2d8d54b7894f7760cb9131ab65eb on Hermes macOS brings a regression for Mac Catalyst target.

Once hardcoded cli bundle platform `ios` can now be either `ios` or `macos`. However, Mac Catalyst is identified as `macos` rather than `ios`.

This PR should fix it and close facebook#31061.

## Changelog

[iOS] [Fixed] - Fix cli bundle platform for Mac Catalyst in `react-native-xcode.sh`

Pull Request resolved: facebook#31062

Test Plan:
1. Build fails on a new RN 0.64-rc.3 project.
2. Apply the fix.
3. Build passes.

Reviewed By: TheSavior

Differential Revision: D29038793

Pulled By: appden

fbshipit-source-id: 29761f887ec7a9cc26f088953c3888c6d19bed71
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. Needs: React Native Team Attention
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[iOS][Mac Catalyst] Xcode build script changes cause regression on Catalyst build
8 participants