mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Restore Dynamic framework with Hermes in the Old Architecture
Summary: I discovered that 0.69 could run React Native as Dynamic framework with Hermes and starting from 0.70 that's not possible anymore. This diff restore that possibility. Notice that now Hermes provisdes JSI and Dynamic Frameworks requires that all the dependencies are explicitly defined, therefore, whenever we have a pod that depended on `React-jsi`, now it also has to explicitly depends on `hermes-engine` ## Changelog [iOS][Fixed] - Add Back dynamic framework support for the Old Architecture with Hermes Reviewed By: cortinico Differential Revision: D42829728 fbshipit-source-id: a660e3b1e346ec6cf3ceb8771dd8bceb0dbcb13a
This commit is contained in:
committed by
Lorenzo Sciandra
parent
4d3e7f8ba1
commit
5f536be2d8
@@ -45,4 +45,8 @@ Pod::Spec.new do |s|
|
||||
s.dependency "React-Core/RCTBlobHeaders", version
|
||||
s.dependency "React-Core/RCTWebSocket", version
|
||||
s.dependency "React-RCTNetwork", version
|
||||
|
||||
if ENV["USE_HERMES"] == nil || ENV["USE_HERMES"] == "1"
|
||||
s.dependency "hermes-engine"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user