leogroup@Antonies-Mac-mini ios % pod install
Analyzing dependencies
cloud_firestore: Using Firebase SDK version '10.25.0' defined in 'firebase_core'
firebase_auth: Using Firebase SDK version '10.25.0' defined in 'firebase_core'
firebase_core: Using Firebase SDK version '10.25.0' defined in 'firebase_core'
firebase_messaging: Using Firebase SDK version '10.25.0' defined in 'firebase_core'
Downloading dependencies
Installing BoringSSL-GRPC (0.0.32)
Installing Firebase (10.25.0)
Installing FirebaseAppCheckInterop (10.29.0)
Installing FirebaseAuth (10.25.0)
Installing FirebaseCore (10.25.0)
Installing FirebaseCoreExtension (10.29.0)
Installing FirebaseCoreInternal (10.29.0)
Installing FirebaseFirestore (10.25.0)
Installing FirebaseFirestoreInternal (10.25.0)
Installing FirebaseInstallations (10.29.0)
Installing FirebaseMessaging (10.25.0)
Installing FirebaseSharedSwift (10.29.0)
Installing Flutter (1.0.0)
Installing GTMSessionFetcher (3.5.0)
Installing GoogleDataTransport (9.4.1)
Installing GoogleUtilities (7.13.3)
Installing PromisesObjC (2.4.0)
Installing RecaptchaInterop (100.0.0)
Installing Toast (4.1.1)
Installing abseil (1.20240116.2)
Installing cloud_firestore (4.17.5)
Installing device_info_plus (0.0.1)
Installing firebase_auth (4.16.0)
Installing firebase_core (2.32.0)
Installing firebase_messaging (14.7.10)
Installing flutter_local_notifications (0.0.1)
Installing flutter_native_splash (2.4.3)
Installing flutter_secure_storage (6.0.0)
Installing fluttertoast (0.0.2)
Installing gRPC-C++ (1.62.5)
Installing gRPC-Core (1.62.5)
Installing geolocator_apple (1.2.0)
Installing leveldb-library (1.22.6)
Installing local_auth_darwin (0.0.1)
Installing nanopb (2.30910.0)
Installing path_provider_foundation (0.0.1)
Installing rive_common (0.0.1)
Installing shared_preferences_foundation (0.0.1)
Generating Pods project
Integrating client project
Pod installation complete! There are 16 dependencies from the Podfile and 38 total pods installed.
leogroup@Antonies-Mac-mini ios % cd ..
leogroup@Antonies-Mac-mini fpi_admin_portal % flutter run
Launching lib/main.dart on iPhone 15 Pro in debug mode...
Running pod install... 15.9s
Running Xcode build...
└─Compiling, linking and signing... 858ms
Xcode build done. 13.2s
Failed to build iOS app
Parse Issue (Xcode): Module 'cloud_firestore' not found
/Users/leogroup/Downloads/fpi_admin_portal/ios/Runner/GeneratedPluginRegistrant.m:11:8
Could not build the application for the simulator.
Error launching application on iPhone 15 Pro.
this is my Podfile:
# Uncomment this line to define a global platform for your project
platform :ios, '12.0'
CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
project 'Runner', {
'Debug' => :debug,
'Profile' => :release,
'Release' => :release,
}
def flutter_root
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), FILE)
unless File.exist?(generated_xcode_build_settings_path)
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
end
File.foreach(generated_xcode_build_settings_path) do |line|
matches = line.match(/FLUTTER_ROOT=(.*)/)
return matches[1].strip if matches
end
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end
require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
flutter_ios_podfile_setup
target 'Runner' do
use_frameworks!
flutter_install_all_ios_pods(File.dirname(File.realpath(FILE)))
Adding the Toast pod explicitly
pod 'Toast', '~> 4.1.1'
target 'RunnerTests' do
inherit! :search_paths
end
post_install do |installer|
installer.pods_project.targets.each do |target|
# Apply Flutter additional settings
flutter_additional_ios_build_settings(target)
# Exclude ARM64 architecture from simulators
target.build_configurations.each do |config|
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
# Ensure only active architectures are used
config.build_settings['ONLY_ACTIVE_ARCH'] = 'YES'
end
end
end
end
leogroup@Antonies-Mac-mini ios % pod install
Analyzing dependencies
cloud_firestore: Using Firebase SDK version '10.25.0' defined in 'firebase_core'
firebase_auth: Using Firebase SDK version '10.25.0' defined in 'firebase_core'
firebase_core: Using Firebase SDK version '10.25.0' defined in 'firebase_core'
firebase_messaging: Using Firebase SDK version '10.25.0' defined in 'firebase_core'
Downloading dependencies
Installing BoringSSL-GRPC (0.0.32)
Installing Firebase (10.25.0)
Installing FirebaseAppCheckInterop (10.29.0)
Installing FirebaseAuth (10.25.0)
Installing FirebaseCore (10.25.0)
Installing FirebaseCoreExtension (10.29.0)
Installing FirebaseCoreInternal (10.29.0)
Installing FirebaseFirestore (10.25.0)
Installing FirebaseFirestoreInternal (10.25.0)
Installing FirebaseInstallations (10.29.0)
Installing FirebaseMessaging (10.25.0)
Installing FirebaseSharedSwift (10.29.0)
Installing Flutter (1.0.0)
Installing GTMSessionFetcher (3.5.0)
Installing GoogleDataTransport (9.4.1)
Installing GoogleUtilities (7.13.3)
Installing PromisesObjC (2.4.0)
Installing RecaptchaInterop (100.0.0)
Installing Toast (4.1.1)
Installing abseil (1.20240116.2)
Installing cloud_firestore (4.17.5)
Installing device_info_plus (0.0.1)
Installing firebase_auth (4.16.0)
Installing firebase_core (2.32.0)
Installing firebase_messaging (14.7.10)
Installing flutter_local_notifications (0.0.1)
Installing flutter_native_splash (2.4.3)
Installing flutter_secure_storage (6.0.0)
Installing fluttertoast (0.0.2)
Installing gRPC-C++ (1.62.5)
Installing gRPC-Core (1.62.5)
Installing geolocator_apple (1.2.0)
Installing leveldb-library (1.22.6)
Installing local_auth_darwin (0.0.1)
Installing nanopb (2.30910.0)
Installing path_provider_foundation (0.0.1)
Installing rive_common (0.0.1)
Installing shared_preferences_foundation (0.0.1)
Generating Pods project
Integrating client project
Pod installation complete! There are 16 dependencies from the Podfile and 38 total pods installed.
leogroup@Antonies-Mac-mini ios % cd ..
leogroup@Antonies-Mac-mini fpi_admin_portal % flutter run
Launching lib/main.dart on iPhone 15 Pro in debug mode...
Running pod install... 15.9s
Running Xcode build...
└─Compiling, linking and signing... 858ms
Xcode build done. 13.2s
Failed to build iOS app
Parse Issue (Xcode): Module 'cloud_firestore' not found
/Users/leogroup/Downloads/fpi_admin_portal/ios/Runner/GeneratedPluginRegistrant.m:11:8
Could not build the application for the simulator.
Error launching application on iPhone 15 Pro.
this is my Podfile:
platform :ios, '12.0'
CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
project 'Runner', {
'Debug' => :debug,
'Profile' => :release,
'Release' => :release,
}
def flutter_root
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), FILE)
unless File.exist?(generated_xcode_build_settings_path)
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
end
File.foreach(generated_xcode_build_settings_path) do |line|
matches = line.match(/FLUTTER_ROOT=(.*)/)
return matches[1].strip if matches
end
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end
require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
flutter_ios_podfile_setup
target 'Runner' do
use_frameworks!
flutter_install_all_ios_pods(File.dirname(File.realpath(FILE)))
Adding the Toast pod explicitly
pod 'Toast', '~> 4.1.1'
target 'RunnerTests' do
inherit! :search_paths
end
post_install do |installer|
installer.pods_project.targets.each do |target|
end
end