Trying to archive my RN project but having this error. Currently using RN 0.65.1 with React 17.0.2.
Tried adding libReact-hermes.a
inside xcode "Link Binary With Libraries" but error still persists.
ld: library not found for -lReact-hermes
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
platform :ios, '11.0'
target 'MyAppp' do
config = use_native_modules!
use_react_native!(
:path => config[:reactNativePath],
:hermes_enabled => true
)
use_flipper!()
end
3
Answers
There is an option in Xcode to change the deployment target.
Make sure that that is also marked as
11.0
change
to
in .pbxproj file
same idea as @Amaan posted, but it didn’t change all the targets until edited all the values in the file.
I have updated my Podfile content as below:
to