Closed mhmzdev closed 1 year ago
@mhmzdev you are using facebook_app_events that plugin uses the facebook sdk 13.1.0 and this plugin uses 13.2.0 facebook_app_events needs to use facebook sdk 13.2.0
I am also having this issue, I am not using facebook sdk externally but I get same error sadly :(
I am also having this issue, I am not using facebook sdk externally but I get same error sadly :(
try with flutter clean
and update the plugin to 4.4.0 next run pod update flutter_facebook_auth
in your ios folder
try with
flutter clean
and update the plugin to 4.4.0 next runpod update flutter_facebook_auth
in your ios folder
This solution worked for me. Thanks!
@darwin-morocho can the release 4.x use with ios 10.x or must ios 11.x?
@darwin-morocho can the release 4.x use with ios 10.x or must ios 11.x?
11.x
Currently, if you use flutter_facebook_auth: 4.3.0
and use facebook_app_events: 0.16.0
the sdk versions will match and it'll solve your issue.
On facebook_app_events they have bumped the sdk version to 14.0.1 (not on pub.dev yet but you can see it on their main branch), however, the latest changes done on flutter_facebook_auth have set the version to 14.0.0, which will end up having the same mismatch issue when using those two packages.
@darwin-morocho any reason why you didn't set it to 14.0.1
?, or is it a mistake on their part?
Currently, if you use
flutter_facebook_auth: 4.3.0
and usefacebook_app_events: 0.16.0
the sdk versions will match and it'll solve your issue.On facebook_app_events they have bumped the sdk version to 14.0.1 (not on pub.dev yet but you can see it on their main branch), however, the latest changes done on flutter_facebook_auth have set the version to 14.0.0, which will end up having the same mismatch issue when using those two packages.
@darwin-morocho any reason why you didn't set it to
14.0.1
?, or is it a mistake on their part?
I did not use 14.0.1 due to that version was not available when I upgrade the package
Currently, if you use
flutter_facebook_auth: 4.3.0
and usefacebook_app_events: 0.16.0
the sdk versions will match and it'll solve your issue. On facebook_app_events they have bumped the sdk version to 14.0.1 (not on pub.dev yet but you can see it on their main branch), however, the latest changes done on flutter_facebook_auth have set the version to 14.0.0, which will end up having the same mismatch issue when using those two packages. @darwin-morocho any reason why you didn't set it to14.0.1
?, or is it a mistake on their part?I did not use 14.0.1 due to that version was not available when I upgrade the package
Alright, I'll wait then. I know you don't have to, but that'd be really great if you guys could collaborate to make sure your two packages are always in sync in terms of SDK version on pub.dev
Launching lib/main.dart on iPhone 15 Pro Max in debug mode... Running pod install... CocoaPods' output: ↳ Preparing
Analyzing dependencies
Inspecting targets to integrate
Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)
Fetching external sources
-> Fetching podspec for `Flutter` from `Flutter`
-> Fetching podspec for `cloud_firestore` from `.symlinks/plugins/cloud_firestore/ios`
cloud_firestore: Using Firebase SDK version '9.6.0' defined in 'firebase_core'
-> Fetching podspec for `connectivity_plus` from `.symlinks/plugins/connectivity_plus/ios`
-> Fetching podspec for `device_info_plus` from `.symlinks/plugins/device_info_plus/ios`
-> Fetching podspec for `facebook_app_events` from `.symlinks/plugins/facebook_app_events/ios`
-> Fetching podspec for `firebase_analytics` from `.symlinks/plugins/firebase_analytics/ios`
firebase_analytics: Using Firebase SDK version '9.6.0' defined in 'firebase_core'
-> Fetching podspec for `firebase_auth` from `.symlinks/plugins/firebase_auth/ios`
firebase_auth: Using Firebase SDK version '9.6.0' defined in 'firebase_core'
-> Fetching podspec for `firebase_core` from `.symlinks/plugins/firebase_core/ios`
firebase_core: Using Firebase SDK version '9.6.0' defined in 'firebase_core'
-> Fetching podspec for `firebase_crashlytics` from `.symlinks/plugins/firebase_crashlytics/ios`
Warning: firebase_app_id_file.json file does not exist. This may cause issues in upload-symbols. If this error is unexpected, try running flutterfire configure again.
firebase_crashlytics: Using Firebase SDK version '9.6.0' defined in 'firebase_core'
-> Fetching podspec for `firebase_messaging` from `.symlinks/plugins/firebase_messaging/ios`
firebase_messaging: Using Firebase SDK version '9.6.0' defined in 'firebase_core'
-> Fetching podspec for `firebase_performance` from `.symlinks/plugins/firebase_performance/ios`
firebase_performance: Using Firebase SDK version '9.6.0' defined in 'firebase_core'
-> Fetching podspec for `firebase_remote_config` from `.symlinks/plugins/firebase_remote_config/ios`
firebase_remote_config: Using Firebase SDK version '9.6.0' defined in 'firebase_core'
-> Fetching podspec for `firebase_storage` from `.symlinks/plugins/firebase_storage/ios`
firebase_storage: Using Firebase SDK version '9.6.0' defined in 'firebase_core'
-> Fetching podspec for `flutter_branch_sdk` from `.symlinks/plugins/flutter_branch_sdk/ios`
-> Fetching podspec for `flutter_inappwebview` from `.symlinks/plugins/flutter_inappwebview/ios`
-> Fetching podspec for `flutter_keyboard_visibility` from `.symlinks/plugins/flutter_keyboard_visibility/ios`
-> Fetching podspec for `flutter_local_notifications` from `.symlinks/plugins/flutter_local_notifications/ios`
-> Fetching podspec for `flutter_share_me` from `.symlinks/plugins/flutter_share_me/ios`
-> Fetching podspec for `fluttertoast` from `.symlinks/plugins/fluttertoast/ios`
-> Fetching podspec for `gallery_saver` from `.symlinks/plugins/gallery_saver/ios`
-> Fetching podspec for `geocoding_ios` from `.symlinks/plugins/geocoding_ios/ios`
-> Fetching podspec for `geolocator_apple` from `.symlinks/plugins/geolocator_apple/ios`
-> Fetching podspec for `google_maps_flutter_ios` from `.symlinks/plugins/google_maps_flutter_ios/ios`
-> Fetching podspec for `image_cropper` from `.symlinks/plugins/image_cropper/ios`
-> Fetching podspec for `image_picker_ios` from `.symlinks/plugins/image_picker_ios/ios`
-> Fetching podspec for `in_app_review` from `.symlinks/plugins/in_app_review/ios`
-> Fetching podspec for `package_info_plus` from `.symlinks/plugins/package_info_plus/ios`
-> Fetching podspec for `path_provider_foundation` from `.symlinks/plugins/path_provider_foundation/ios`
-> Fetching podspec for `paytm_allinonesdk` from `.symlinks/plugins/paytm_allinonesdk/ios`
-> Fetching podspec for `permission_handler_apple` from `.symlinks/plugins/permission_handler_apple/ios`
-> Fetching podspec for `realm` from `.symlinks/plugins/realm/ios`
-> Fetching podspec for `share_plus` from `.symlinks/plugins/share_plus/ios`
-> Fetching podspec for `shared_preferences_foundation` from `.symlinks/plugins/shared_preferences_foundation/ios`
-> Fetching podspec for `sqflite` from `.symlinks/plugins/sqflite/ios`
-> Fetching podspec for `url_launcher_ios` from `.symlinks/plugins/url_launcher_ios/ios`
-> Fetching podspec for `video_player_avfoundation` from `.symlinks/plugins/video_player_avfoundation/ios`
-> Fetching podspec for `webview_flutter_wkwebview` from `.symlinks/plugins/webview_flutter_wkwebview/ios`
Resolving dependencies of `Podfile`
CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: all_pods_versions_0_3_5.txt exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/0/3/5/Firebase/10.18.0/Firebase.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/0/3/5/Firebase/9.6.0/Firebase.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: all_pods_versions_d_d_6.txt exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/d/d/6/ReachabilitySwift/5.0.0/ReachabilitySwift.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: all_pods_versions_9_b_5.txt exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/9/b/5/FBSDKCoreKit/16.2.1/FBSDKCoreKit.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: all_pods_versions_2_1_5.txt exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/2/1/5/FBAudienceNetwork/6.14.0/FBAudienceNetwork.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/0/3/5/Firebase/9.6.0/Firebase.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/0/3/5/Firebase/9.6.0/Firebase.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/0/3/5/Firebase/9.6.0/Firebase.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/0/3/5/Firebase/9.6.0/Firebase.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/0/3/5/Firebase/9.6.0/Firebase.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: all_pods_versions_a_0_a.txt exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/a/0/a/BranchSDK/3.0.1/BranchSDK.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: all_pods_versions_6_8_6.txt exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/6/8/6/OrderedSet/5.0.0/OrderedSet.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: all_pods_versions_c_a_b.txt exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/c/a/b/FBSDKShareKit/16.2.1/FBSDKShareKit.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: all_pods_versions_b_3_c.txt exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/b/3/c/FBSDKLoginKit/16.2.1/FBSDKLoginKit.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: all_pods_versions_5_1_0.txt exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/5/1/0/Toast/4.0.0/Toast.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: all_pods_versions_a_d_d.txt exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/a/d/d/GoogleMaps/8.3.0/GoogleMaps.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/0/3/5/Firebase/9.6.0/Firebase.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: all_pods_versions_4_2_c.txt exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/4/2/c/FlutterMacOS/3.13.2/FlutterMacOS.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: all_pods_versions_f_4_e.txt exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/f/4/e/FMDB/2.7.5/FMDB.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/0/3/5/Firebase/9.6.0/Firebase.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/0/3/5/Firebase/9.6.0/Firebase.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: all_pods_versions_3_7_4.txt exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/3/7/4/TOCropViewController/2.6.1/TOCropViewController.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: all_pods_versions_8_b_d.txt exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/8/b/d/FirebaseCore/10.18.0/FirebaseCore.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: all_pods_versions_3_c_c.txt exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/3/c/c/FirebaseStorage/10.18.0/FirebaseStorage.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/c/a/b/FBSDKShareKit/14.0.0/FBSDKShareKit.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/9/b/5/FBSDKCoreKit/14.0.0/FBSDKCoreKit.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: all_pods_versions_5_4_9.txt exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/5/4/9/FBSDKCoreKit_Basics/16.2.1/FBSDKCoreKit_Basics.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: all_pods_versions_6_f_6.txt exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/6/f/6/FBAEMKit/16.2.1/FBAEMKit.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/9/b/5/FBSDKCoreKit/14.0.0/FBSDKCoreKit.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/9/b/5/FBSDKCoreKit/16.2.1/FBSDKCoreKit.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/9/b/5/FBSDKCoreKit/16.2.0/FBSDKCoreKit.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/9/b/5/FBSDKCoreKit/16.1.3/FBSDKCoreKit.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/9/b/5/FBSDKCoreKit/16.1.2/FBSDKCoreKit.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/9/b/5/FBSDKCoreKit/16.1.1/FBSDKCoreKit.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/9/b/5/FBSDKCoreKit/16.1.0/FBSDKCoreKit.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/9/b/5/FBSDKCoreKit/16.0.1/FBSDKCoreKit.podspec.json exists! Returning local because checking is only performed in repo update
CDN: trunk Relative path: Specs/9/b/5/FBSDKCoreKit/16.0.0/FBSDKCoreKit.podspec.json exists! Returning local because checking is only performed in repo update
[!] CocoaPods could not find compatible versions for pod "FBSDKCoreKit":
In Podfile:
facebook_app_events (from `.symlinks/plugins/facebook_app_events/ios`) was resolved to 0.0.1, which depends on
FBSDKCoreKit (~> 16.0)
flutter_share_me (from `.symlinks/plugins/flutter_share_me/ios`) was resolved to 0.0.1, which depends on
FBSDKCoreKit (~> 14.0.0)
flutter_share_me (from `.symlinks/plugins/flutter_share_me/ios`) was resolved to 0.0.1, which depends on
FBSDKShareKit (~> 14.0.0) was resolved to 14.0.0, which depends on
FBSDKCoreKit (= 14.0.0)
/opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:317:in `raise_error_unless_state'
/opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:299:in `block in unwind_for_conflict'
<internal:kernel>:90:in `tap'
/opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:297:in `unwind_for_conflict'
/opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:700:in `attempt_to_filter_existing_spec'
/opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:672:in `attempt_to_activate'
/opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:254:in `process_topmost_state'
/opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:182:in `resolve'
/opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/molinillo-0.8.0/lib/molinillo/resolver.rb:43:in `resolve'
/opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/resolver.rb:94:in `resolve'
/opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/installer/analyzer.rb:1082:in `block in resolve_dependencies'
/opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/user_interface.rb:64:in `section'
/opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/installer/analyzer.rb:1080:in `resolve_dependencies'
/opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/installer/analyzer.rb:125:in `analyze'
/opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/installer.rb:422:in `analyze'
/opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/installer.rb:244:in `block in resolve_dependencies'
/opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/user_interface.rb:64:in `section'
/opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/installer.rb:243:in `resolve_dependencies'
/opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/installer.rb:162:in `install!'
/opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/command/install.rb:52:in `run'
/opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
/opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/command.rb:52:in `run'
/opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/bin/pod:55:in `<top (required)>'
/opt/homebrew/Cellar/cocoapods/1.14.2/libexec/bin/pod:25:in `load'
/opt/homebrew/Cellar/cocoapods/1.14.2/libexec/bin/pod:25:in `<main>'
Error running pod install Error launching application on iPhone 15 Pro Max.
POD File ->
platform :ios, '11.0'
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! use_modular_headers!
flutter_install_all_ios_pods File.dirname(File.realpath(FILE)) end
post_install do |installer| installer.pods_project.targets.each do |target|
# Start of the permission_handler configuration
target.build_configurations.each do |config|
# You can enable the permissions needed here. For example to enable camera
# permission, just remove the `#` character in front so it looks like this:
#
# ## dart: PermissionGroup.camera
# 'PERMISSION_CAMERA=1'
#
# Preprocessor definitions can be found at: https://github.com/Baseflow/flutter-permission-handler/blob/master/permission_handler_apple/ios/Classes/PermissionHandlerEnums.h
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [
'$(inherited)',
## dart: [PermissionGroup.calendarWriteOnly, PermissionGroup.calendar (iOS 16 and below)]
# 'PERMISSION_EVENTS=1',
## dart: [PermissionGroup.calendarFullAccess, PermissionGroup.calendar (iOS 17 and above)]
# 'PERMISSION_EVENTS_FULL_ACCESS=1',
## dart: PermissionGroup.reminders
# 'PERMISSION_REMINDERS=1',
## dart: PermissionGroup.contacts
# 'PERMISSION_CONTACTS=1',
## dart: PermissionGroup.camera
'PERMISSION_CAMERA=1',
## dart: PermissionGroup.microphone
# 'PERMISSION_MICROPHONE=1',
## dart: PermissionGroup.speech
# 'PERMISSION_SPEECH_RECOGNIZER=1',
## dart: PermissionGroup.photos
'PERMISSION_PHOTOS=1',
## dart: [PermissionGroup.location, PermissionGroup.locationAlways, PermissionGroup.locationWhenInUse]
'PERMISSION_LOCATION=1',
## dart: PermissionGroup.notification
'PERMISSION_NOTIFICATIONS=1',
## dart: PermissionGroup.mediaLibrary
'PERMISSION_MEDIA_LIBRARY=1',
## dart: PermissionGroup.sensors
# 'PERMISSION_SENSORS=1',
## dart: PermissionGroup.bluetooth
# 'PERMISSION_BLUETOOTH=1',
## dart: PermissionGroup.appTrackingTransparency
# 'PERMISSION_APP_TRACKING_TRANSPARENCY=1',
## dart: PermissionGroup.criticalAlerts
# 'PERMISSION_CRITICAL_ALERTS=1'
]
end
# End of the permission_handler configuration
end end
What I have to do now I have same issue but with different plugins?
Launching lib/main.dart on iPhone 15 Pro Max in debug mode...
Running pod install...
CocoaPods' output:
↳
Preparing Analyzing dependencies Inspecting targets to integrate Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``) Fetching external sources -> Fetching podspec for `Flutter` from `Flutter` -> Fetching podspec for `cloud_firestore` from `.symlinks/plugins/cloud_firestore/ios` cloud_firestore: Using Firebase SDK version '9.6.0' defined in 'firebase_core' -> Fetching podspec for `connectivity_plus` from `.symlinks/plugins/connectivity_plus/ios` -> Fetching podspec for `device_info_plus` from `.symlinks/plugins/device_info_plus/ios` -> Fetching podspec for `facebook_app_events` from `.symlinks/plugins/facebook_app_events/ios` -> Fetching podspec for `firebase_analytics` from `.symlinks/plugins/firebase_analytics/ios` firebase_analytics: Using Firebase SDK version '9.6.0' defined in 'firebase_core' -> Fetching podspec for `firebase_auth` from `.symlinks/plugins/firebase_auth/ios` firebase_auth: Using Firebase SDK version '9.6.0' defined in 'firebase_core' -> Fetching podspec for `firebase_core` from `.symlinks/plugins/firebase_core/ios` firebase_core: Using Firebase SDK version '9.6.0' defined in 'firebase_core' -> Fetching podspec for `firebase_crashlytics` from `.symlinks/plugins/firebase_crashlytics/ios` Warning: firebase_app_id_file.json file does not exist. This may cause issues in upload-symbols. If this error is unexpected, try running flutterfire configure again. firebase_crashlytics: Using Firebase SDK version '9.6.0' defined in 'firebase_core' -> Fetching podspec for `firebase_messaging` from `.symlinks/plugins/firebase_messaging/ios` firebase_messaging: Using Firebase SDK version '9.6.0' defined in 'firebase_core' -> Fetching podspec for `firebase_performance` from `.symlinks/plugins/firebase_performance/ios` firebase_performance: Using Firebase SDK version '9.6.0' defined in 'firebase_core' -> Fetching podspec for `firebase_remote_config` from `.symlinks/plugins/firebase_remote_config/ios` firebase_remote_config: Using Firebase SDK version '9.6.0' defined in 'firebase_core' -> Fetching podspec for `firebase_storage` from `.symlinks/plugins/firebase_storage/ios` firebase_storage: Using Firebase SDK version '9.6.0' defined in 'firebase_core' -> Fetching podspec for `flutter_branch_sdk` from `.symlinks/plugins/flutter_branch_sdk/ios` -> Fetching podspec for `flutter_inappwebview` from `.symlinks/plugins/flutter_inappwebview/ios` -> Fetching podspec for `flutter_keyboard_visibility` from `.symlinks/plugins/flutter_keyboard_visibility/ios` -> Fetching podspec for `flutter_local_notifications` from `.symlinks/plugins/flutter_local_notifications/ios` -> Fetching podspec for `flutter_share_me` from `.symlinks/plugins/flutter_share_me/ios` -> Fetching podspec for `fluttertoast` from `.symlinks/plugins/fluttertoast/ios` -> Fetching podspec for `gallery_saver` from `.symlinks/plugins/gallery_saver/ios` -> Fetching podspec for `geocoding_ios` from `.symlinks/plugins/geocoding_ios/ios` -> Fetching podspec for `geolocator_apple` from `.symlinks/plugins/geolocator_apple/ios` -> Fetching podspec for `google_maps_flutter_ios` from `.symlinks/plugins/google_maps_flutter_ios/ios` -> Fetching podspec for `image_cropper` from `.symlinks/plugins/image_cropper/ios` -> Fetching podspec for `image_picker_ios` from `.symlinks/plugins/image_picker_ios/ios` -> Fetching podspec for `in_app_review` from `.symlinks/plugins/in_app_review/ios` -> Fetching podspec for `package_info_plus` from `.symlinks/plugins/package_info_plus/ios` -> Fetching podspec for `path_provider_foundation` from `.symlinks/plugins/path_provider_foundation/ios` -> Fetching podspec for `paytm_allinonesdk` from `.symlinks/plugins/paytm_allinonesdk/ios` -> Fetching podspec for `permission_handler_apple` from `.symlinks/plugins/permission_handler_apple/ios` -> Fetching podspec for `realm` from `.symlinks/plugins/realm/ios` -> Fetching podspec for `share_plus` from `.symlinks/plugins/share_plus/ios` -> Fetching podspec for `shared_preferences_foundation` from `.symlinks/plugins/shared_preferences_foundation/ios` -> Fetching podspec for `sqflite` from `.symlinks/plugins/sqflite/ios` -> Fetching podspec for `url_launcher_ios` from `.symlinks/plugins/url_launcher_ios/ios` -> Fetching podspec for `video_player_avfoundation` from `.symlinks/plugins/video_player_avfoundation/ios` -> Fetching podspec for `webview_flutter_wkwebview` from `.symlinks/plugins/webview_flutter_wkwebview/ios` Resolving dependencies of `Podfile` CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: all_pods_versions_0_3_5.txt exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/0/3/5/Firebase/10.18.0/Firebase.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/0/3/5/Firebase/9.6.0/Firebase.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: all_pods_versions_d_d_6.txt exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/d/d/6/ReachabilitySwift/5.0.0/ReachabilitySwift.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: all_pods_versions_9_b_5.txt exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/9/b/5/FBSDKCoreKit/16.2.1/FBSDKCoreKit.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: all_pods_versions_2_1_5.txt exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/2/1/5/FBAudienceNetwork/6.14.0/FBAudienceNetwork.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/0/3/5/Firebase/9.6.0/Firebase.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/0/3/5/Firebase/9.6.0/Firebase.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/0/3/5/Firebase/9.6.0/Firebase.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/0/3/5/Firebase/9.6.0/Firebase.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/0/3/5/Firebase/9.6.0/Firebase.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: all_pods_versions_a_0_a.txt exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/a/0/a/BranchSDK/3.0.1/BranchSDK.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: all_pods_versions_6_8_6.txt exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/6/8/6/OrderedSet/5.0.0/OrderedSet.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: all_pods_versions_c_a_b.txt exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/c/a/b/FBSDKShareKit/16.2.1/FBSDKShareKit.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: all_pods_versions_b_3_c.txt exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/b/3/c/FBSDKLoginKit/16.2.1/FBSDKLoginKit.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: all_pods_versions_5_1_0.txt exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/5/1/0/Toast/4.0.0/Toast.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: all_pods_versions_a_d_d.txt exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/a/d/d/GoogleMaps/8.3.0/GoogleMaps.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/0/3/5/Firebase/9.6.0/Firebase.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: all_pods_versions_4_2_c.txt exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/4/2/c/FlutterMacOS/3.13.2/FlutterMacOS.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: all_pods_versions_f_4_e.txt exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/f/4/e/FMDB/2.7.5/FMDB.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/0/3/5/Firebase/9.6.0/Firebase.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/0/3/5/Firebase/9.6.0/Firebase.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: all_pods_versions_3_7_4.txt exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/3/7/4/TOCropViewController/2.6.1/TOCropViewController.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: all_pods_versions_8_b_d.txt exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/8/b/d/FirebaseCore/10.18.0/FirebaseCore.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: all_pods_versions_3_c_c.txt exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/3/c/c/FirebaseStorage/10.18.0/FirebaseStorage.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/c/a/b/FBSDKShareKit/14.0.0/FBSDKShareKit.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/9/b/5/FBSDKCoreKit/14.0.0/FBSDKCoreKit.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: all_pods_versions_5_4_9.txt exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/5/4/9/FBSDKCoreKit_Basics/16.2.1/FBSDKCoreKit_Basics.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: all_pods_versions_6_f_6.txt exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/6/f/6/FBAEMKit/16.2.1/FBAEMKit.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/9/b/5/FBSDKCoreKit/14.0.0/FBSDKCoreKit.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/9/b/5/FBSDKCoreKit/16.2.1/FBSDKCoreKit.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/9/b/5/FBSDKCoreKit/16.2.0/FBSDKCoreKit.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/9/b/5/FBSDKCoreKit/16.1.3/FBSDKCoreKit.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/9/b/5/FBSDKCoreKit/16.1.2/FBSDKCoreKit.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/9/b/5/FBSDKCoreKit/16.1.1/FBSDKCoreKit.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/9/b/5/FBSDKCoreKit/16.1.0/FBSDKCoreKit.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/9/b/5/FBSDKCoreKit/16.0.1/FBSDKCoreKit.podspec.json exists! Returning local because checking is only performed in repo update CDN: trunk Relative path: Specs/9/b/5/FBSDKCoreKit/16.0.0/FBSDKCoreKit.podspec.json exists! Returning local because checking is only performed in repo update [!] CocoaPods could not find compatible versions for pod "FBSDKCoreKit": In Podfile: facebook_app_events (from `.symlinks/plugins/facebook_app_events/ios`) was resolved to 0.0.1, which depends on FBSDKCoreKit (~> 16.0) flutter_share_me (from `.symlinks/plugins/flutter_share_me/ios`) was resolved to 0.0.1, which depends on FBSDKCoreKit (~> 14.0.0) flutter_share_me (from `.symlinks/plugins/flutter_share_me/ios`) was resolved to 0.0.1, which depends on FBSDKShareKit (~> 14.0.0) was resolved to 14.0.0, which depends on FBSDKCoreKit (= 14.0.0) /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:317:in `raise_error_unless_state' /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:299:in `block in unwind_for_conflict' <internal:kernel>:90:in `tap' /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:297:in `unwind_for_conflict' /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:700:in `attempt_to_filter_existing_spec' /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:672:in `attempt_to_activate' /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:254:in `process_topmost_state' /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:182:in `resolve' /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/molinillo-0.8.0/lib/molinillo/resolver.rb:43:in `resolve' /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/resolver.rb:94:in `resolve' /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/installer/analyzer.rb:1082:in `block in resolve_dependencies' /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/user_interface.rb:64:in `section' /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/installer/analyzer.rb:1080:in `resolve_dependencies' /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/installer/analyzer.rb:125:in `analyze' /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/installer.rb:422:in `analyze' /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/installer.rb:244:in `block in resolve_dependencies' /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/user_interface.rb:64:in `section' /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/installer.rb:243:in `resolve_dependencies' /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/installer.rb:162:in `install!' /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/command/install.rb:52:in `run' /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/claide-1.1.0/lib/claide/command.rb:334:in `run' /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/lib/cocoapods/command.rb:52:in `run' /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/gems/cocoapods-1.14.2/bin/pod:55:in `<top (required)>' /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/bin/pod:25:in `load' /opt/homebrew/Cellar/cocoapods/1.14.2/libexec/bin/pod:25:in `<main>'
Error running pod install
Error launching application on iPhone 15 Pro Max.
POD File ->
Uncomment this line to define a global platform for your project
platform :ios, '11.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!
use_modular_headers!
flutter_install_all_ios_pods File.dirname(File.realpath(FILE))
end
post_install do |installer|
installer.pods_project.targets.each do |target|
# Start of the permission_handler configuration target.build_configurations.each do |config| # You can enable the permissions needed here. For example to enable camera # permission, just remove the `#` character in front so it looks like this: # # ## dart: PermissionGroup.camera # 'PERMISSION_CAMERA=1' # # Preprocessor definitions can be found at: https://github.com/Baseflow/flutter-permission-handler/blob/master/permission_handler_apple/ios/Classes/PermissionHandlerEnums.h config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [ '$(inherited)', ## dart: [PermissionGroup.calendarWriteOnly, PermissionGroup.calendar (iOS 16 and below)] # 'PERMISSION_EVENTS=1', ## dart: [PermissionGroup.calendarFullAccess, PermissionGroup.calendar (iOS 17 and above)] # 'PERMISSION_EVENTS_FULL_ACCESS=1', ## dart: PermissionGroup.reminders # 'PERMISSION_REMINDERS=1', ## dart: PermissionGroup.contacts # 'PERMISSION_CONTACTS=1', ## dart: PermissionGroup.camera 'PERMISSION_CAMERA=1', ## dart: PermissionGroup.microphone # 'PERMISSION_MICROPHONE=1', ## dart: PermissionGroup.speech # 'PERMISSION_SPEECH_RECOGNIZER=1', ## dart: PermissionGroup.photos 'PERMISSION_PHOTOS=1', ## dart: [PermissionGroup.location, PermissionGroup.locationAlways, PermissionGroup.locationWhenInUse] 'PERMISSION_LOCATION=1', ## dart: PermissionGroup.notification 'PERMISSION_NOTIFICATIONS=1', ## dart: PermissionGroup.mediaLibrary 'PERMISSION_MEDIA_LIBRARY=1', ## dart: PermissionGroup.sensors # 'PERMISSION_SENSORS=1', ## dart: PermissionGroup.bluetooth # 'PERMISSION_BLUETOOTH=1', ## dart: PermissionGroup.appTrackingTransparency # 'PERMISSION_APP_TRACKING_TRANSPARENCY=1', ## dart: PermissionGroup.criticalAlerts # 'PERMISSION_CRITICAL_ALERTS=1' ] end # End of the permission_handler configuration
end
end
What I have to do now I have same issue but with different plugins?
Please read the log. This is not an issue of this plugin. The problem is with facebook_app_events that uses an old version of the Facebook sdk. You can try using a previos version of this plugin compatible with facebook_app_events
What version are you using?
flutter_facebook_auth: ^4.3.4+2
What OS and version are you using to local deploy your application?
macOs 12.4
What platforms are you seeing the problem on?
iOS
Describe the Bug
Migrated the app to
flutter 3.0.4
and afterwards getting this error while runningpod install
Expected Behavior
Pod must be installed and the app must run as it was running before migration
To Reproduce
flutter clean
rm -rf ios/Pods
rm -rf ios/Podfile.lock
flutter pub get
cd ios
pod install
Relevant log output
Podfile (iOS)
AndroidManifest.xml
No response
MainActivity.java
No response
MainActivity.kt
No response
index.html
No response
Info.plist (macOS)
No response