i’m utilizing Mac with Apple m4 chip
Flutter / ios
i’m utilizing Iphone 17 simulator
error output :
Flutter Physician
[✓] Flutter (Channel steady, 3.38.5, on macOS 26.2 25C56 darwin-arm64 (Rosetta), locale en-TR)
[✓] Android toolchain - develop for Android units (Android SDK model 36.1.0)
[✓] Xcode - develop for iOS and macOS (Xcode 26.2)
[✓] Chrome - develop for the net
[✓] Related system (3 accessible)
[✓] Community sources
• No points discovered!
my pod file :
# Uncomment this line to outline a world platform in your challenge
platform :ios, '15.5.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 the event you're operating pod set up manually, be certain 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}. Strive 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!:linkage => :static
use_modular_headers!
pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git',:tag => '12.6.0'
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
# goal 'RunnerTests' do
# inherit! :search_paths
# finish
finish
# QR plugin
$iOSVersion = '15.5.0'
post_install do |installer|
# QR plugin
installer.pods_project.build_configurations.every do |config|
config.build_settings["EXCLUDED_ARCHS[sdk=*]"] = "armv7"
# ✅ الحل لمشكلة ffmpeg_kit_flutter_new (مهم)take away perhaps when i exploit actual system
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = $iOSVersion
finish
installer.pods_project.targets.every do |goal|
flutter_additional_ios_build_settings(goal)
# QR plugin
goal.build_configurations.every do |config|
if Gem::Model.new($iOSVersion) > Gem::Model.new(config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'])
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = $iOSVersion
finish
finish
# geolocator forestall replace in background
installer.pods_project.targets.every do |goal|
if goal.identify == "geolocator_apple"
goal.build_configurations.every do |config|
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', 'BYPASS_PERMISSION_LOCATION_ALWAYS=1']
finish
finish
finish
finish
# Permissions configuration
installer.pods_project.targets.every do |goal|
goal.build_configurations.every do |config|
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [
'$(inherited)',
# Location permission
'PERMISSION_LOCATION_WHENINUSE=1',
# Photo Library permission
'PERMISSION_PHOTOS=1',
'PERMISSION_PHOTOS_ADD=1',
# Microphone permission
'PERMISSION_MICROPHONE=1',
# Camera permission
'PERMISSION_CAMERA=1',
# Apple Music permission
'PERMISSION_APPLE_MUSIC=1'
]
finish
finish
finish
I discovered many questions much like mine, however they had been all previous (from 2021), and none of them fastened my challenge. I attempted all of them.
I learn this query and tried all of the solutions, however nothing labored: module 'audio_session' not discovered
That is the second month I’ve been struggling to unravel this challenge with no outcomes. I’m very pissed off.


