Thursday, 3 September 2020

project | configuration debug | destination iphone 11 pro | sdk simulator 13.6 - react native

I am creating an app using react native. I updated my project from react native 0.60 to react native 0.63.2. In doing this I had to update my cocoapods within my iOS project (shown below).

My profile file.

# Uncomment the next line to define a global platform for your project
platform :ios, '12.0'
require_relative '../node_modules/react-native/scripts/react_native_pods'


target 'Example' do
  # Comment the next line if you don't want to use dynamic frameworks
  #use_frameworks!

  # Pods for Example

  use_react_native!

  pod 'RNSound', :path => '../node_modules/react-native-sound'


  pod 'RNCAsyncStorage', :path => '../node_modules/@react-native-community/async-storage'

  pod 'RNCMaskedView', :path => '../node_modules/@react-native-community/masked-view'

  pod 'RNCPushNotificationIOS', :path => '../node_modules/@react-native-community/push-notification-ios'

  pod 'react-native-slider', :path => '../node_modules/@react-native-community/slider'

  pod 'RNFBApp', :path => '../node_modules/@react-native-firebase/app'

  pod 'RNFBAuth', :path => '../node_modules/@react-native-firebase/auth'

  pod 'RNFirebase', :path => '../node_modules/react-native-firebase/ios'

  pod 'RNGestureHandler', :path => '../node_modules/react-native-gesture-handler'

  pod 'RNReanimated', :path => '../node_modules/react-native-reanimated'

  pod 'react-native-safe-area-context', :path => '../node_modules/react-native-safe-area-context'

  pod 'RNScreens', :path => '../node_modules/react-native-screens'

  pod 'react-native-notifications', :path => '../node_modules/react-native-notifications'

  pod 'RNFBMessaging', :path => '../node_modules/@react-native-firebase/messaging'

  pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'

  target 'Example-tvOSTests' do
    inherit! :search_paths
    # Pods for testing
   
  
  pod 'RNFBAnalytics', :path => '../node_modules/@react-native-firebase/analytics'

end 

  target 'Example' do
    inherit! :search_paths
    # Pods for testing
    
    
     # Enables Flipper.
  #
  # Note that if you have use_frameworks! enabled, Flipper will not work and
  # you should disable these next few lines.
  use_flipper!
  post_install do |installer|
    flipper_post_install(installer)
      end
    end
  end




target 'Example-tvOS' do
  # Comment the next line if you don't want to use dynamic frameworks
  #use_frameworks!

  # Pods for Example-tvOS

end

When I try to run my app on an iOS emulator in Xcode I get the following errors

error

error

Can't seem to find any fix for this online.



from project | configuration debug | destination iphone 11 pro | sdk simulator 13.6 - react native

No comments:

Post a Comment