Skip to content

Commit

Permalink
iOS: removed turbo_modules_enabled from autolink
Browse files Browse the repository at this point in the history
Summary: TurboModule is now included by default, so no need to have a toggle in autolink script anymore.

Reviewed By: mdvacca

Differential Revision: D16173820

fbshipit-source-id: 215ce7d188ce526b5a71df881bdc992c1ef34b34
  • Loading branch information
fkgozali authored and facebook-github-bot committed Jul 10, 2019
1 parent 6ef9106 commit 7dc0d4b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions RNTester/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def pods()
project 'RNTesterPods.xcodeproj'

# Enable TurboModule
use_react_native!(path: "..", turbo_modules_enabled: true)
use_react_native!(path: "..")
pod 'React-turbomodule-samples', :path => '../ReactCommon/turbomodule/samples'

# Additional Pods which aren't included in the default Podfile
Expand All @@ -19,7 +19,7 @@ def pods()
# Additional Pods which are classed as unstable
#
# To use fabric: add `fabric_enabled` option to the use_react_native method above, like below
# use_react_native!(path: "..", turbo_modules_enabled: true, fabric_enabled: true)
# use_react_native!(path: "..", fabric_enabled: true)
end

target 'RNTester' do
Expand Down
2 changes: 1 addition & 1 deletion RNTester/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,6 @@ SPEC CHECKSUMS:
React-TypeSafety: 1de5a1034398108f4ca866b68489734f8dbb4c44
yoga: b72aa5b3708cc93c5897f8297122d6eba1331e07

PODFILE CHECKSUM: bdc86d3bfde60c2637cfa8c4ed81afeaa2aaf6a3
PODFILE CHECKSUM: 5ebd7e7531d9b6db21435251001600722f432414

COCOAPODS: 1.7.1
3 changes: 0 additions & 3 deletions scripts/autolink-ios.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ def use_react_native! (options={})
# Include Fabric dependencies
fabric_enabled = options[:fabric_enabled] ||= false

# Include Turbo Modules dependencies
turbo_modules_enabled = options[:turbo_modules_enabled] ||= false

# Include DevSupport dependency
production = options[:production] ||= false

Expand Down

0 comments on commit 7dc0d4b

Please sign in to comment.