react-native-selectable-text
react-native-selectable-text copied to clipboard
iOS build issues
Hi,
There seems to be an issue when building on iOS where I keep getting the issue seen in the image below.
I have tried all methods of installation including auto linking with the same results.
Any assistance would be appreciated.
Thanks Julian
"react": "17.0.2", "react-native": "0.67.4",
require File.join(File.dirname(
node --print "require.resolve('expo/package.json')"`), "scripts/autolinking")
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
platform :ios, '12.0'
target 'feeting' do use_expo_modules! post_integrate do |installer| begin expo_patch_react_imports!(installer) rescue => e Pod::UI.warn e end end config = use_native_modules!
use_react_native!(
:path => config[:reactNativePath],
# to enable hermes on iOS, change false
to true
and then install pods
:hermes_enabled => false
)
pod 'Firebase/Analytics'
target 'feetingTests' do inherit! :complete # Pods for testing end
Enables Flipper.
Note that if you have use_frameworks! enabled, Flipper will not work and
you should disable the next line.
use_flipper!()
permissions_path = '../node_modules/react-native-permissions/ios' pod 'Permission-AppTrackingTransparency', :path => "#{permissions_path}/AppTrackingTransparency"
post_install do |installer| react_native_post_install(installer) __apply_Xcode_12_5_M1_post_install_workaround(installer) end pod 'RNSelectableText', :path => '../node_modules/@alentoma/react-native-selectable-text/ios/RNSelectableText.podspec' end `
Xcode error: Definition of 'RCTTextSelection' must be imported from module 'React.RCTTextSelection' before it is required
