Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ - (JSRuntimeFactoryRef)createJSRuntimeFactory
{
#if USE_THIRD_PARTY_JSC != 1
return jsrt_create_hermes_factory();
#else
[NSException raise:@"JSRuntimeFactory"
format:@"createJSRuntimeFactory must be overridden when using third-party JSC"];
return nil;
#endif
}

Expand Down
2 changes: 1 addition & 1 deletion packages/react-native/scripts/react_native_pods.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def use_react_native! (
react_native_path = Pod::Config.instance.installation_root.join(path)
prefix = react_native_path.relative_path_from(Pod::Config.instance.installation_root)

hermes_enabled= true
hermes_enabled= !use_third_party_jsc()
# Set the app_path as env variable so the podspecs can access it.
ENV['APP_PATH'] = app_path
ENV['REACT_NATIVE_PATH'] = react_native_path.to_s
Expand Down