Wednesday, May 29, 2024
HomeiOS Developmentios - Command SwiftDriver emitted errors however didn't return a nonzero exit...

ios – Command SwiftDriver emitted errors however didn’t return a nonzero exit code to point failure


After run commandflutter run
get error

Altering present working listing to: /Customers/Nikhil Dhiman/flutterProjects/loginsignup
Launching lib/fundamental.dart on iPhone 14 Professional in debug mode…
Working pod set up… 81.7s
Working Xcode construct…
└─Compiling, linking and signing… 29.6s
Xcode construct accomplished. 2448.1s
Didn’t construct iOS app
Swift Compiler Error (Xcode): Utilizing bridging headers with module interfaces is unsupported

Uncategorized (Xcode): Command SwiftDriver emitted errors however didn’t return a nonzero exit code to point failure

Error (Xcode): Undefined image: _SKAdNetworkCoarseConversionValueHigh

Error (Xcode): Undefined image: _SKAdNetworkCoarseConversionValueLow

Error (Xcode): Undefined image: _SKAdNetworkCoarseConversionValueMedium

Error (Xcode): Undefined image: _swift_FORCE_LOAD$_swiftCompatibility56

Couldn’t construct the applying for the simulator.
Error launching software on iPhone 14 Professional.

I’m searching for all options accessible on stack overflow however they did not work for me
right here is my pod file

# Uncomment this line to outline a world platform to your challenge
platform :ios, '12.0'

# CocoaPods analytics sends community stats synchronously affecting flutter construct latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

challenge 'Runner', {
  'Debug' => :debug,
  'Profile' => :launch,
  'Launch' => :launch,
}

def flutter_root
  generated_xcode_build_settings_path = File.expand_path(File.be part of('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
  except File.exist?(generated_xcode_build_settings_path)
    elevate "#{generated_xcode_build_settings_path} should exist. In case you're working pod set up manually, be sure flutter pub get is executed first"
  finish

  File.foreach(generated_xcode_build_settings_path) do |line|
    matches = line.match(/FLUTTER_ROOT=(.*)/)
    return matches[1].strip if matches
  finish
  elevate "FLUTTER_ROOT not present in #{generated_xcode_build_settings_path}. Attempt deleting Generated.xcconfig, then run flutter pub get"
finish

require File.expand_path(File.be part of('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)

flutter_ios_podfile_setup

goal 'Runner' do
  use_frameworks!
  use_modular_headers!

  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
  goal 'RunnerTests' do
    inherit! :search_paths
  finish
finish

post_install do |installer|
  installer.pods_project.targets.every do |goal|
    flutter_additional_ios_build_settings(goal)
    goal.build_configurations.every do |config|
      config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'NO'
    finish
  finish
finish

I’m attempt many answer accessible on stack

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments