Skip to content

Commit 6d2faaa

Browse files
author
Shawn Dempsey
committed
Turbomodule working on macOS
1 parent 47eaff3 commit 6d2faaa

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

example/macos/Podfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ require_relative '../../node_modules/react-native-test-app/macos/test_app.rb'
22

33
workspace 'AsyncStorageExample.xcworkspace'
44

5+
options = {
6+
:fabric_enabled => true,
7+
:hermes_enabled => false,
8+
:turbomodule_enabled => true,
9+
}
10+
511
use_test_app! do |target|
612
target.app do
713
pod 'RNCAsyncStorage', :path => '../..'

react-native.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ const project = (() => {
99
ios: {
1010
sourceDir: path.join('example', 'ios'),
1111
},
12+
macos: {
13+
sourceDir: path.join('example', 'maacos'),
14+
},
1215
windows: {
1316
sourceDir: path.join('example', 'windows'),
1417
solutionFile: path.join(

0 commit comments

Comments
 (0)