File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,10 @@ target 'RNTester' do
7
7
# use_frameworks!
8
8
9
9
project 'RNTesterPods.xcodeproj'
10
+
11
+ # Enable TurboModule
10
12
use_react_native! ( path : ".." , turbo_modules_enabled : true )
13
+ pod 'React-turbomodule-samples' , :path => '../ReactCommon/turbomodule/samples'
11
14
12
15
# Additional Pods which aren't included in the default Podfile
13
16
pod 'React-RCTCameraRoll' , :path => '../Libraries/CameraRoll'
@@ -16,7 +19,6 @@ target 'RNTester' do
16
19
17
20
# Additional Pods which are classed as unstable
18
21
#
19
- # To use fabric: add `fabric_enabled` option to the use_react_native method above
20
-
21
- pod 'React-turbomodule-samples' , :path => '../ReactCommon/turbomodule/samples'
22
+ # To use fabric: add `fabric_enabled` option to the use_react_native method above, like below
23
+ # use_react_native!(path: "..", turbo_modules_enabled: true, fabric_enabled: true)
22
24
end
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ def use_react_native! (options={})
7
7
fabric_enabled = options [ :fabric_enabled ] ||= false
8
8
9
9
# Include Turbo Modules dependencies
10
- turbo_modules_enabled = options [ :turbo_modules_enabled ||= false
10
+ turbo_modules_enabled = options [ :turbo_modules_enabled ] ||= false
11
11
12
12
# Include DevSupport dependency
13
13
production = options [ :production ] ||= false
You can’t perform that action at this time.
0 commit comments