Skip to content

Commit 1a556a8

Browse files
author
Adam Gleitman
committedAug 22, 2023
Add macOS tags
1 parent 06194dc commit 1a556a8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎packages/react-native/scripts/react-native-xcode.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ set -x
1313
DEST=$CONFIGURATION_BUILD_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH
1414

1515
# Enables iOS devices to get the IP address of the machine running Metro
16-
if [[ ! "$SKIP_BUNDLING_METRO_IP" && "$CONFIGURATION" = *Debug* && ! "$PLATFORM_NAME" == *simulator && ! "$PLATFORM_NAME" == macosx ]]; then
16+
if [[ ! "$SKIP_BUNDLING_METRO_IP" && "$CONFIGURATION" = *Debug* && ! "$PLATFORM_NAME" == *simulator && ! "$PLATFORM_NAME" == macosx ]]; then # [macOS]
1717
for num in 0 1 2 3 4 5 6 7 8; do
1818
IP=$(ipconfig getifaddr en${num})
1919
if [ ! -z "$IP" ]; then

‎packages/rn-tester/metro.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ module.exports = {
3131
extraNodeModules: {
3232
'react-native': path.resolve(__dirname, '../react-native'),
3333
},
34-
platforms: ['ios', 'macos', 'android'],
34+
platforms: ['ios', 'macos', 'android'], // [macOS]
3535
},
3636
serializer: {
3737
getPolyfills,

0 commit comments

Comments
 (0)
Please sign in to comment.