ios – unsupported possibility ‘-G’ for goal ‘arm64-apple-ios11.0-simulator’


That is my PodFile

platform :ios, min_ios_version_supported
use_modular_headers!
prepare_react_native_project!

flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled

linkage = ENV['USE_FRAMEWORKS']
if linkage != nil
  Pod::UI.places "Configuring Pod with #{linkage}ally linked Frameworks".inexperienced
  
  use_frameworks! :linkage => linkage.to_sym
finish

goal 'Fixturefix' do
  config = use_native_modules!

  # Flags change relying on the env values.
  flags = get_default_flags()
 
  pod 'Firebase', :modular_headers => true
  pod 'FirebaseCore', :modular_headers => true
  pod 'GoogleUtilities', :modular_headers => true
  pod 'react-native-config/Extension', :path => '../node_modules/react-native-config'

  $RNFirebaseAsStaticFramework = true
  
  use_react_native!(
    :path => config[:reactNativePath],
    :hermes_enabled => flags[:hermes_enabled],
    :fabric_enabled => flags[:fabric_enabled],
    :flipper_configuration => flipper_config,
    :app_path => "#{Pod::Config.occasion.installation_root}/.."
  )

  goal 'FixturefixTests' do
    inherit! :full
  finish

  post_install do |installer|
    react_native_post_install(
      installer,
      :mac_catalyst_enabled => false
    )
    __apply_Xcode_12_5_M1_post_install_workaround(installer)
    installer.pods_project.targets.every do |goal|
      if ['FirebaseCoreInternal', 'GoogleUtilities'].embody?(goal.title)
        goal.build_configurations.every do |config|
          config.build_settings['DEFINES_MODULE'] = 'YES'
        finish
      finish
    finish
  finish
finish

I’m utilizing a MacBook M1 with Sequoia 15.0
Xcode model 16.0
Then I get this error continuously when I’m constructing on Xcode. I’ve no situation constructing and working a brand new undertaking.
unsupported possibility ‘-G’ for goal ‘arm64-apple-ios11.0-simulator’
Issues I’ve tried.

rm -rf Podfile
rm -rf Podfile.lock
Pod set up

Additionally tried 
pod deintegrate
pod set up 

Double checked the iOS model of 16.0
I’ve misplaced a number of days on this please assist,

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles