Skip to content

Commit 6dde6aa

Browse files
committed
Udpate code with latest react native macos
1 parent a2565dd commit 6dde6aa

File tree

22 files changed

+4839
-255
lines changed

22 files changed

+4839
-255
lines changed

.eslintrc

+2-2
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,8 @@
225225
"react/jsx-sort-props": 0,
226226
"react/jsx-uses-react": 0,
227227
"react/jsx-uses-vars": 1,
228-
"react/no-did-mount-set-state": [1, "allow-in-func"],
229-
"react/no-did-update-set-state": [1, "allow-in-func"],
228+
"react/no-did-mount-set-state": 1,
229+
"react/no-did-update-set-state": 1,
230230
"react/no-multi-comp": 0,
231231
"react/no-unknown-property": 0,
232232
"react/prop-types": 0,

.flowconfig

+26-68
Original file line numberDiff line numberDiff line change
@@ -1,82 +1,35 @@
11
[ignore]
22

33
# We fork some components by platform.
4-
.*/*.web.js
54
.*/*.android.js
65
.*/*.ios.js
76

8-
# Some modules have their own node_modules with overlap
9-
.*/node_modules/node-haste/.*
10-
11-
# Examples
12-
.*/Examples/SimpleChatClient/*.*
13-
.*/Examples/SimpleGmailClient/*.*
14-
15-
# Ugh
16-
.*/node_modules/babel.*
17-
.*/node_modules/babylon.*
18-
.*/node_modules/invariant.*
19-
20-
# Ignore react and fbjs where there are overlaps, but don't ignore
21-
# anything that react-native relies on
22-
.*/node_modules/fbjs/lib/Map.js
23-
.*/node_modules/fbjs/lib/fetch.js
24-
.*/node_modules/fbjs/lib/fetchWithRetries.js
25-
.*/node_modules/fbjs/lib/ExecutionEnvironment.js
26-
.*/node_modules/fbjs/lib/ErrorUtils.js
27-
28-
# Flow has a built-in definition for the 'react' module which we prefer to use
29-
# over the currently-untyped source
30-
.*/node_modules/react/react.js
31-
.*/node_modules/react/lib/React.js
32-
.*/node_modules/react/lib/ReactDOM.js
33-
34-
.*/__mocks__/.*
35-
.*/__tests__/.*
36-
37-
.*/commoner/test/source/widget/share.js
38-
39-
# Ignore commoner tests
40-
.*/node_modules/commoner/test/.*
41-
42-
# See https://github.com/facebook/flow/issues/442
43-
.*/react-tools/node_modules/commoner/lib/reader.js
7+
# Ignore templates with `@flow` in header
8+
.*/local-cli/generator.*
449

45-
# Ignore jest
46-
.*/node_modules/jest-cli/.*
10+
# Ignore malformed json
11+
.*/node_modules/y18n/test/.*\.json
4712

48-
# Ignore Website
49-
.*/website/.*
13+
# Ignore the website subdir
14+
<PROJECT_ROOT>/website/.*
5015

51-
# Ignore generators
52-
.*/local-cli/generator.*
16+
# Ignore BUCK generated dirs
17+
<PROJECT_ROOT>/\.buckd/
5318

54-
# Ignore BUCK generated folders
55-
.*\.buckd/
56-
57-
.*/node_modules/is-my-json-valid/test/.*\.json
58-
.*/node_modules/iconv-lite/encodings/tables/.*\.json
59-
.*/node_modules/y18n/test/.*\.json
60-
.*/node_modules/spdx-license-ids/spdx-license-ids.json
61-
.*/node_modules/spdx-exceptions/index.json
62-
.*/node_modules/resolve/test/subdirs/node_modules/a/b/c/x.json
63-
.*/node_modules/resolve/lib/core.json
64-
.*/node_modules/jsonparse/samplejson/.*\.json
65-
.*/node_modules/json5/test/.*\.json
66-
.*/node_modules/ua-parser-js/test/.*\.json
67-
.*/node_modules/builtin-modules/builtin-modules.json
68-
.*/node_modules/binary-extensions/binary-extensions.json
69-
.*/node_modules/url-regex/tlds.json
70-
.*/node_modules/joi/.*\.json
71-
.*/node_modules/isemail/.*\.json
72-
.*/node_modules/tr46/.*\.json
19+
# Ignore unexpected extra @providesModule
20+
.*/node_modules/commoner/test/source/widget/share.js
7321

22+
# Ignore duplicate module providers
23+
# For RN Apps installed via npm, "Libraries" folder is inside node_modules/react-native but in the source repo it is in the root
24+
.*/Libraries/react-native/React.js
25+
.*/Libraries/react-native/ReactNative.js
26+
.*/node_modules/jest-runtime/build/__tests__/.*
7427

7528
[include]
7629

7730
[libs]
78-
node_modules/react-native-desktop/Libraries/react-native/react-native-interface.js
79-
node_modules/react-native-desktop/flow
31+
node_modules/react-native-macos/Libraries/react-native/react-native-interface.js
32+
node_modules/react-native-macos/flow
8033
flow/
8134

8235
[options]
@@ -85,18 +38,23 @@ module.system=haste
8538
esproposal.class_static_fields=enable
8639
esproposal.class_instance_fields=enable
8740

41+
experimental.strict_type_args=true
42+
8843
munge_underscores=true
8944

9045
module.name_mapper='^image![a-zA-Z0-9$_-]+$' -> 'GlobalImageStub'
91-
module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\)$' -> 'RelativeImageStub'
46+
module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub'
47+
module.name_mapper='react-native' -> 'react-native-macos'
9248

9349
suppress_type=$FlowIssue
9450
suppress_type=$FlowFixMe
9551
suppress_type=$FixMe
9652

97-
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(2[0-3]\\|1[0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
98-
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(2[0-3]\\|1[0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
53+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(30\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
54+
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(30\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
9955
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
10056

57+
unsafe.enable_getters_and_setters=true
58+
10159
[version]
102-
0.23.0
60+
^0.35.0

.gitignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# OSX
1+
# MacOS
22
#
33
.DS_Store
44

@@ -24,6 +24,7 @@ project.xcworkspace
2424

2525
# Android/IJ
2626
#
27+
*.iml
2728
.idea
2829
.gradle
2930
local.properties
@@ -38,5 +39,4 @@ buck-out/
3839
\.buckd/
3940
android/app/libs
4041
android/keystores/debug.keystore
41-
4242
_*

Readme.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@
22

33
Material Colors Native App for OS X
44

5+
> [Download the app](https://github.com/BafS/Material-Colors-native/releases/download/v0.2.0/MaterialColors.zip)
6+
57
Heavily inspired by [MaterialColorsApp
68
](https://github.com/romannurik/MaterialColorsApp).
79

8-
Build with [react-native-desktop
9-
](https://github.com/ptmt/react-native-desktop).
10+
Build with [react-native-macos
11+
](https://github.com/ptmt/react-native-macos).
1012

1113
<p align="center">
1214
<img src="http://i.imgur.com/jIJ4Gcf.gif">
1315
</p>
1416

1517
> Choose your color and click to copy the color code
16-
>
17-
> [Download the app](https://github.com/BafS/Material-Colors-native/releases/download/v0.1.0/MaterialColors.zip)
1818
1919
# Why ?
2020

21-
To test react-native-desktop and also MaterialColorsApp is OS X only so why use [Electron](http://electron.atom.io) ? This resulted in a ~114 Mo app vs ~4 Mo for this native one.
21+
To test react-native-desktop and also MaterialColorsApp is OS X only so why use [Electron](http://electron.atom.io) ? This resulted in a ~114 Mo app vs ~2.5 Mo for this native one.
2222

2323
## Running this app
2424

index.osx.js index.macos.js

+7-12
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1+
import React from 'react';
12
import {
23
AppRegistry,
34
StyleSheet,
4-
View,
5-
Clipboard,
6-
} from 'react-native-desktop';
7-
8-
import React from 'react';
5+
View
6+
} from 'react-native-macos';
97

108
import ColorsPanel from './src/ColorsPanel';
119
import ColorsListPanel from './src/ColorsListPanel';
@@ -23,7 +21,6 @@ class MaterialColors extends React.Component {
2321
}
2422

2523
changeColor(colorName) {
26-
Clipboard.setString(colorName);
2724
this.setState({
2825
colorName
2926
});
@@ -52,22 +49,20 @@ const styles = StyleSheet.create({
5249
flexDirection: 'row',
5350
justifyContent: 'flex-start',
5451
alignItems: 'flex-start',
55-
backgroundColor: '#fff',
52+
backgroundColor: '#fff'
5653
},
5754

5855
leftPane: {
59-
marginTop: 10,
56+
marginTop: 26,
6057
padding: 6,
6158
paddingTop: 4,
62-
paddingBottom: 20,
63-
borderRightWidth: 1,
64-
borderRightColor: '#eee'
59+
paddingBottom: 20
6560
},
6661

6762
rightPane: {
6863
flex: 1,
6964
paddingTop: 0,
70-
padding: 10
65+
paddingRight: 10
7166
},
7267
});
7368

osx/MaterialColors.xcodeproj/project.pbxproj macos/MaterialColors.xcodeproj/project.pbxproj

+30-27
Original file line numberDiff line numberDiff line change
@@ -80,22 +80,22 @@
8080
/* End PBXContainerItemProxy section */
8181

8282
/* Begin PBXFileReference section */
83-
00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = ../node_modules/react-native-desktop/Libraries/Image/RCTImage.xcodeproj; sourceTree = "<group>"; };
84-
00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = ../node_modules/react-native-desktop/Libraries/Network/RCTNetwork.xcodeproj; sourceTree = "<group>"; };
83+
00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native-macos/Libraries/Image/RCTImage.xcodeproj"; sourceTree = "<group>"; };
84+
00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native-macos/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = "<group>"; };
8585
00E356EE1AD99517003FC87E /* MaterialColorsTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MaterialColorsTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
8686
00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
8787
00E356F21AD99517003FC87E /* MaterialColorsTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MaterialColorsTests.m; sourceTree = "<group>"; };
88-
139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = ../node_modules/react-native-desktop/Libraries/Settings/RCTSettings.xcodeproj; sourceTree = "<group>"; };
89-
139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = ../node_modules/react-native-desktop/Libraries/WebSocket/RCTWebSocket.xcodeproj; sourceTree = "<group>"; };
88+
139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native-macos/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = "<group>"; };
89+
139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native-macos/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = "<group>"; };
9090
13B07F961A680F5B00A75B9A /* MaterialColors.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MaterialColors.app; sourceTree = BUILT_PRODUCTS_DIR; };
9191
13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = MaterialColors/AppDelegate.h; sourceTree = "<group>"; };
9292
13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = MaterialColors/AppDelegate.m; sourceTree = "<group>"; };
9393
13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = MaterialColors/Images.xcassets; sourceTree = "<group>"; };
9494
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = MaterialColors/Info.plist; sourceTree = "<group>"; };
9595
13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = MaterialColors/main.m; sourceTree = "<group>"; };
96-
146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = ../node_modules/react-native-desktop/React/React.xcodeproj; sourceTree = "<group>"; };
97-
78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = ../node_modules/react-native-desktop/Libraries/LinkingIOS/RCTLinking.xcodeproj; sourceTree = "<group>"; };
98-
832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = ../node_modules/react-native-desktop/Libraries/Text/RCTText.xcodeproj; sourceTree = "<group>"; };
96+
146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native-macos/React/React.xcodeproj"; sourceTree = "<group>"; };
97+
78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native-macos/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = "<group>"; };
98+
832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native-macos/Libraries/Text/RCTText.xcodeproj"; sourceTree = "<group>"; };
9999
/* End PBXFileReference section */
100100

101101
/* Begin PBXFrameworksBuildPhase section */
@@ -429,8 +429,7 @@
429429
);
430430
runOnlyForDeploymentPostprocessing = 0;
431431
shellPath = /bin/sh;
432-
shellScript = "../node_modules/react-native-desktop/packager/react-native-xcode.sh";
433-
showEnvVarsInLog = 1;
432+
shellScript = "../node_modules/react-native-macos/packager/react-native-xcode.sh";
434433
};
435434
/* End PBXShellScriptBuildPhase section */
436435

@@ -467,16 +466,14 @@
467466
isa = XCBuildConfiguration;
468467
buildSettings = {
469468
BUNDLE_LOADER = "$(TEST_HOST)";
470-
FRAMEWORK_SEARCH_PATHS = (
471-
"$(inherited)",
472-
);
469+
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
473470
GCC_PREPROCESSOR_DEFINITIONS = (
474471
"DEBUG=1",
475472
"$(inherited)",
476473
);
477474
INFOPLIST_FILE = MaterialColorsTests/Info.plist;
478-
MACOSX_DEPLOYMENT_TARGET = 10.11;
479475
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
476+
MACOSX_DEPLOYMENT_TARGET = 10.11;
480477
PRODUCT_NAME = "$(TARGET_NAME)";
481478
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/MaterialColors.app/Contents/MacOS/MaterialColors";
482479
};
@@ -487,12 +484,10 @@
487484
buildSettings = {
488485
BUNDLE_LOADER = "$(TEST_HOST)";
489486
COPY_PHASE_STRIP = NO;
490-
FRAMEWORK_SEARCH_PATHS = (
491-
"$(inherited)",
492-
);
487+
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
493488
INFOPLIST_FILE = MaterialColorsTests/Info.plist;
494-
MACOSX_DEPLOYMENT_TARGET = 10.11;
495489
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
490+
MACOSX_DEPLOYMENT_TARGET = 10.11;
496491
PRODUCT_NAME = "$(TARGET_NAME)";
497492
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/MaterialColors.app/Contents/MacOS/MaterialColors";
498493
};
@@ -506,11 +501,15 @@
506501
HEADER_SEARCH_PATHS = (
507502
"$(inherited)",
508503
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
509-
"$(SRCROOT)/../node_modules/react-native-desktop/React/**",
504+
"$(SRCROOT)/../node_modules/react-native-macos/React/**",
510505
);
511-
INFOPLIST_FILE = "MaterialColors/Info.plist";
506+
INFOPLIST_FILE = MaterialColors/Info.plist;
512507
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
513-
OTHER_LDFLAGS = "-ObjC";
508+
OTHER_LDFLAGS = (
509+
"-ObjC",
510+
"-lc++",
511+
);
512+
PRODUCT_BUNDLE_IDENTIFIER = com.bafs.materialcolors;
514513
PRODUCT_NAME = MaterialColors;
515514
};
516515
name = Debug;
@@ -522,11 +521,15 @@
522521
HEADER_SEARCH_PATHS = (
523522
"$(inherited)",
524523
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
525-
"$(SRCROOT)/../node_modules/react-native-desktop/React/**",
524+
"$(SRCROOT)/../node_modules/react-native-macos/React/**",
526525
);
527-
INFOPLIST_FILE = "MaterialColors/Info.plist";
526+
INFOPLIST_FILE = MaterialColors/Info.plist;
528527
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
529-
OTHER_LDFLAGS = "-ObjC";
528+
OTHER_LDFLAGS = (
529+
"-ObjC",
530+
"-lc++",
531+
);
532+
PRODUCT_BUNDLE_IDENTIFIER = com.bafs.materialcolors;
530533
PRODUCT_NAME = MaterialColors;
531534
};
532535
name = Release;
@@ -548,7 +551,7 @@
548551
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
549552
CLANG_WARN_UNREACHABLE_CODE = YES;
550553
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
551-
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
554+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Mac Developer";
552555
COPY_PHASE_STRIP = NO;
553556
ENABLE_STRICT_OBJC_MSGSEND = YES;
554557
GCC_C_LANGUAGE_STANDARD = gnu99;
@@ -568,7 +571,7 @@
568571
HEADER_SEARCH_PATHS = (
569572
"$(inherited)",
570573
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
571-
"$(SRCROOT)/../node_modules/react-native-desktop/React/**",
574+
"$(SRCROOT)/../node_modules/react-native-macos/React/**",
572575
);
573576
MACOSX_DEPLOYMENT_TARGET = 10.11;
574577
MTL_ENABLE_DEBUG_INFO = YES;
@@ -594,7 +597,7 @@
594597
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
595598
CLANG_WARN_UNREACHABLE_CODE = YES;
596599
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
597-
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
600+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "Mac Developer";
598601
COPY_PHASE_STRIP = YES;
599602
ENABLE_NS_ASSERTIONS = NO;
600603
ENABLE_STRICT_OBJC_MSGSEND = YES;
@@ -608,7 +611,7 @@
608611
HEADER_SEARCH_PATHS = (
609612
"$(inherited)",
610613
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
611-
"$(SRCROOT)/../node_modules/react-native-desktop/React/**",
614+
"$(SRCROOT)/../node_modules/react-native-macos/React/**",
612615
);
613616
MACOSX_DEPLOYMENT_TARGET = 10.11;
614617
MTL_ENABLE_DEBUG_INFO = YES;

0 commit comments

Comments
 (0)