React Native IOS Run Error – (in goal ‘RNFBMessaging’ from challenge ‘Pods’)

0
5


I didn’t have any issues with the Android utility, I efficiently accomplished all of the steps and printed my utility.

However I get an error whereas working the App in IOS emulator.

I will likely be glad when you will help me how you can remedy this downside. thanks

Podfile

require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

platform :ios, '13.0'
set up! 'cocoapods', :deterministic_uuids => false

manufacturing = ENV["PRODUCTION"] == "1"

goal 'cmsio' do
  config = use_native_modules!

  # Flags change relying on the env values.
  flags = get_default_flags()

  use_react_native!(
    :path => config[:reactNativePath],
    # to allow hermes on iOS, change `false` to `true` after which set up pods
    :manufacturing => manufacturing,
    :hermes_enabled => flags[:hermes_enabled],
    :fabric_enabled => flags[:fabric_enabled],
    :flipper_configuration => FlipperConfiguration.enabled,
    # An absolute path to your utility root.
    :app_path => "#{Pod::Config.occasion.installation_root}/.."
  )

  permissions_path="../node_modules/react-native-permissions/ios"

  pod 'RNFBMessaging', :path => '../node_modules/@react-native-firebase/messaging'
  pod 'react-native-google-maps', :path => '../node_modules/react-native-maps'
  pod 'Permission-PhotoLibrary', :path => "#{permissions_path}/PhotoLibrary"
  pod 'Permission-LocationAccuracy', :path => "#{permissions_path}/LocationAccuracy"
  pod 'Permission-LocationAlways', :path => "#{permissions_path}/LocationAlways"
  pod 'Permission-LocationWhenInUse', :path => "#{permissions_path}/LocationWhenInUse"
  pod 'Permission-Notifications', :path => "#{permissions_path}/Notifications"  

  pod 'Firebase', :modular_headers => true
  pod 'FirebaseCore', :modular_headers => true
  pod 'Firebase/Messaging', :modular_headers => true
  pod 'FirebaseCoreInternal', :modular_headers => true
  pod 'GoogleUtilities', :modular_headers => true
  pod 'Google-Cellular-Adverts-SDK'
  
  $RNFirebaseAsStaticFramework = true
  $RNGoogleMobileAdsAsStaticFramework = true

  goal 'cmsioTests' do
    inherit! :full
    # Pods for testing
  finish

  post_install do |installer|
    react_native_post_install(installer)
    __apply_Xcode_12_5_M1_post_install_workaround(installer)
  finish
finish

Error Message

The next construct instructions failed:
    CompileC /Customers/sirket/Library/Developer/Xcode/DerivedData/cmsio-doadelmxvtbipqeduigsnvnzbamx/Construct/Intermediates.noindex/Pods.construct/Debug-iphonesimulator/RNFBMessaging.construct/Objects-normal/x86_64/RNFBMessagingSerializer.o /Customers/sirket/Desktop/android/cmsio/node_modules/@react-native-firebase/messaging/ios/RNFBMessaging/RNFBMessagingSerializer.m regular x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in goal 'RNFBMessaging' from challenge 'Pods')
(1 failure)

With the ability to run the appliance

LEAVE A REPLY

Please enter your comment!
Please enter your name here