target 'your_project_target' do config = use_native_modules! IS_CI = ENV['APPCENTER_BUILD_ID']
use_react_native!( :path => config[:reactNativePath], :hermes_enabled => false )
Replace this:
target 'your_project_target' do config = use_native_modules! react_native_path = '../node_modules/react-native' react_native_path = config[:reactNativePath] if config && config[:reactNativePath]
IS_CI = ENV['APPCENTER_BUILD_ID'] != nil
use_react_native!( :path => react_native_path, :hermes_enabled => false )