Skip to content

Commit

Permalink
Enable building XCFramework with Hermes
Browse files Browse the repository at this point in the history
  • Loading branch information
mokagio committed Jun 29, 2023
1 parent 1d87e3b commit 27b232f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ios-xcframework/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ require 'xcodeproj'
REACT_NATIVE_PATH = '../gutenberg/node_modules/react-native'
require_relative File.join(REACT_NATIVE_PATH, 'scripts', 'react_native_pods')

# TODO: If this experiment works, add explanation for why we might want to disable Hermes
HERMES_ENABLED = ENV.fetch('HERMES_ENABLED', false)
# We are still trying to decide whether to adopt Hermes or not.
#
# This switch allows us to switch between approaches on the go.
HERMES_ENABLED = ENV.fetch('HERMES_ENABLED', true)

puts "[Gutenberg] Installing pods with Hermes #{HERMES_ENABLED ? 'enabled' : 'disabled'}"

Expand Down

0 comments on commit 27b232f

Please sign in to comment.