I’m making an attempt to replace my ios app which has been launched since 2022.
Throughout “pod set up”, following error happens.
Ignoring strscan-3.1.0 as a result of its extensions should not constructed. Strive: gem pristine strscan --version 3.1.0
Analyzing dependencies
cloud_firestore: Utilizing Firebase SDK model '11.4.0' outlined in 'firebase_core'
firebase_analytics: Utilizing Firebase SDK model '11.4.0' outlined in 'firebase_core'
firebase_app_installations: Utilizing Firebase SDK model '11.4.0' outlined in 'firebase_core'
firebase_auth: Utilizing Firebase SDK model '11.4.0' outlined in 'firebase_core'
firebase_core: Utilizing Firebase SDK model '11.4.0' outlined in 'firebase_core'
firebase_in_app_messaging: Utilizing Firebase SDK model '11.4.0' outlined in 'firebase_core'
firebase_messaging: Utilizing Firebase SDK model '11.4.0' outlined in 'firebase_core'
[!] CocoaPods couldn't discover suitable variations for pod "FirebaseCore":
In Podfile:
cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`) was resolved to five.6.0, which will depend on
Firebase/Firestore (= 11.4.0) was resolved to 11.4.0, which will depend on
FirebaseFirestore (~> 11.4.0) was resolved to 11.4.0, which will depend on
FirebaseCore (~> 11.4)
cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`) was resolved to five.6.0, which will depend on
Firebase/Firestore (= 11.4.0) was resolved to 11.4.0, which will depend on
FirebaseFirestore (~> 11.4.0) was resolved to 11.4.0, which will depend on
FirebaseFirestoreInternal (= 11.4.0) was resolved to 11.4.0, which will depend on
FirebaseCore (~> 11.0)
firebase_core (from `.symlinks/plugins/firebase_core/ios`) was resolved to three.9.0, which will depend on
Firebase/CoreOnly (= 11.4.0) was resolved to 11.4.0, which will depend on
FirebaseCore (= 11.4.0)
CocoaPods couldn't discover suitable variations for pod "FirebaseInstallations":
In Podfile:
firebase_app_installations (from `.symlinks/plugins/firebase_app_installations/ios`) was resolved to 0.3.1-7, which will depend on
Firebase/Installations (= 11.4.0) was resolved to 11.4.0, which will depend on
FirebaseInstallations (~> 11.4.0)
firebase_in_app_messaging (from `.symlinks/plugins/firebase_in_app_messaging/ios`) was resolved to 0.8.0-11, which will depend on
Firebase/InAppMessaging (= 11.4.0) was resolved to 11.4.0, which will depend on
FirebaseInAppMessaging (~> 11.4.0-beta) was resolved to 11.4.0-beta, which will depend on
FirebaseInstallations (~> 11.0)
CocoaPods couldn't discover suitable variations for pod "GoogleAppMeasurement":
In Podfile:
firebase_analytics (from `.symlinks/plugins/firebase_analytics/ios`) was resolved to 11.3.6, which will depend on
Firebase/Analytics (= 11.4.0) was resolved to 11.4.0, which will depend on
Firebase/Core (= 11.4.0) was resolved to 11.4.0, which will depend on
FirebaseAnalytics (~> 11.4.0) was resolved to 11.4.0, which will depend on
FirebaseAnalytics/AdIdSupport (= 11.4.0) was resolved to 11.4.0, which will depend on
GoogleAppMeasurement (= 11.4.0)
google_mobile_ads (from `.symlinks/plugins/google_mobile_ads/ios`) was resolved to 1.0.0, which will depend on
Google-Cell-Advertisements-SDK (~> 9.13) was resolved to 9.14.0, which will depend on
GoogleAppMeasurement (< 11.0, >= 7.0)
podfile:
# Uncomment this line to outline a worldwide platform to your undertaking
platform :ios, '13.0'
# CocoaPods analytics sends community stats synchronously affecting flutter construct latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
undertaking 'Runner', {
'Debug' => :debug,
'Profile' => :launch,
'Launch' => :launch,
}
def flutter_root
generated_xcode_build_settings_path = File.expand_path(File.be a part of('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
except File.exist?(generated_xcode_build_settings_path)
increase "#{generated_xcode_build_settings_path} should exist. In case you're working pod set up manually, ensure that 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
increase "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 a 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__))
finish
post_install do |installer|
installer.generated_projects.every do |undertaking|
undertaking.targets.every do |goal|
goal.build_configurations.every do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
finish
finish
finish
installer.pods_project.targets.every do |goal|
flutter_additional_ios_build_settings(goal)
finish
finish
What I’ve performed is:
- flutter clear
- flutter pub improve
- pod repo replace
- pod set up
- in pubspec.yaml, delete firebase_core, cloud_firebase, firebase_auth, and re-add them by flutter pub add ⚪︎⚪︎⚪︎.
additionally, podfile.lock file was eliminated.
flutter physician:
Physician abstract (to see all particulars, run flutter physician -v):
[✓] Flutter (Channel steady, 3.27.1, on macOS 15.0.1 24A348 darwin-arm64, locale ja-JP)
[✓] Android toolchain - develop for Android gadgets (Android SDK model 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.2)
[✓] Chrome - develop for the net
[✓] Android Studio (model 2024.2)
[✓] VS Code (model 1.92.2)
[✓] Linked machine (5 out there)
[✓] Community assets
Does anyone know what else ought to I do?