darwin-morocho / flutter-facebook-auth

A flutter plugin to add login with facebook in your flutter app
193 stars 127 forks source link

CocoaPods could not find compatible versions for pod "FBSDKCoreKit": #262

Closed mhmzdev closed 1 year ago

mhmzdev commented 1 year ago

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 running pod install

Expected Behavior

Pod must be installed and the app must run as it was running before migration

To Reproduce

Relevant log output

Analyzing dependencies
cloud_firestore: Using Firebase SDK version '8.15.0' defined in 'firebase_core'
firebase_analytics: Using Firebase SDK version '8.15.0' defined in 'firebase_core'
firebase_auth: Using Firebase SDK version '8.15.0' defined in 'firebase_core'
firebase_core: Using Firebase SDK version '8.15.0' defined in 'firebase_core'
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 '8.15.0' defined in 'firebase_core'
firebase_messaging: Using Firebase SDK version '8.15.0' defined in 'firebase_core'
firebase_performance: Using Firebase SDK version '8.15.0' defined in 'firebase_core'
firebase_remote_config: Using Firebase SDK version '8.15.0' defined in 'firebase_core'
[!] 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 (~> 13.1.0)

    flutter_facebook_auth (from `.symlinks/plugins/flutter_facebook_auth/ios`) was resolved to 4.3.4, which depends on
      FBSDKLoginKit (~> 13.2.0) was resolved to 13.2.0, which depends on
        FBSDKCoreKit (= 13.2.0)

### flutter doctor -v

```shell
➜  ~ flutter doctor -v
[✓] Flutter (Channel stable, 3.0.4, on macOS 12.4 21F79 darwin-arm, locale
    en-PK)
    • Flutter version 3.0.4 at /users/hamza/Development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 85684f9300 (6 days ago), 2022-06-30 13:22:47 -0700
    • Engine revision 6ba2af10bb
    • Dart version 2.17.5
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version
    32.1.0-rc1)
    • Android SDK at /Users/hamza/Library/Android/sdk
    • Platform android-33, build-tools 32.1.0-rc1
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7772763)

[✓] VS Code (version 1.68.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.44.0

[✓] Connected device (3 available)
    • iPhone 12 Pro Max (mobile) • 15145630-E70E-4BAB-8016-EC301CC03AC5 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-15-4 (simulator)
    • macOS (desktop)            • macos                                •
      darwin-arm64   • macOS 12.4 21F79 darwin-arm
    • Chrome (web)               • chrome                               •
      web-javascript • Google Chrome 103.0.5060.114

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

### Info.plist (iOS)

```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>CFBundleDevelopmentRegion</key>
    <string>$(DEVELOPMENT_LANGUAGE)</string>
    <key>CFBundleExecutable</key>
    <string>$(EXECUTABLE_NAME)</string>
    <key>CFBundleIdentifier</key>
    <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
    <key>CFBundleInfoDictionaryVersion</key>
    <string>6.0</string>
    <key>CFBundleName</key>
    <string>$(BUNDLE_NAME)</string>
    <key>CFBundlePackageType</key>
    <string>APPL</string>
    <key>CFBundleShortVersionString</key>
    <string>$(MARKETING_VERSION)</string>
    <key>CFBundleSignature</key>
    <string>????</string>
    <key>CFBundleURLTypes</key>
    <array>
        <dict>
            <key>CFBundleTypeRole</key>
            <string>Editor</string>
            <key>CFBundleURLName</key>
            <string>sastaticket.pk</string>
            <key>CFBundleURLSchemes</key>
            <array>
                <string>sastaticket</string>
            </array>
        </dict>
        <dict>
            <key>CFBundleTypeRole</key>
            <string>Editor</string>
            <key>CFBundleURLName</key>
            <string>google-dev</string>
            <key>CFBundleURLSchemes</key>
            <array>
                <string>fb311943829393404</string>
                <string>com.googleusercontent.apps.479535497877-cr8ai6dnhti0eul4p0nbchuakllbds3d</string>
            </array>
        </dict>
        <dict>
            <key>CFBundleTypeRole</key>
            <string>Editor</string>
            <key>CFBundleURLName</key>
            <string>google-prod</string>
            <key>CFBundleURLSchemes</key>
            <array>
                <string>fb311943829393404</string>
                <string>com.googleusercontent.apps.817363293614-b1a8gm0c9r27ct0ksstc7p41vq2hd8lb</string>
            </array>
        </dict>
        <dict>
            <key>CFBundleTypeRole</key>
            <string>Editor</string>
            <key>CFBundleURLName</key>
            <string>google-qa</string>
            <key>CFBundleURLSchemes</key>
            <array>
                <string>fb311943829393404</string>
                <string>com.googleusercontent.apps.479535497877-cbmcudkpr0qs6v2qvrhfgcr5t6hcmvnr</string>
            </array>
        </dict>
        <dict>
            <key>CFBundleTypeRole</key>
            <string>Editor</string>
            <key>CFBundleURLName</key>
            <string>google-stage</string>
            <key>CFBundleURLSchemes</key>
            <array>
                <string>fb311943829393404</string>
                <string>com.googleusercontent.apps.479535497877-0a8tpe3np7u5qetsfaok20gef15igg6h</string>
            </array>
        </dict>
        <dict>
            <key>CFBundleURLSchemes</key>
            <array>
                <string>fb311943829393404</string>
            </array>
        </dict>
    </array>
    <key>CFBundleVersion</key>
    <string>$(CURRENT_PROJECT_VERSION)</string>
    <key>FacebookAppID</key>
    <string>311943829393404</string>
    <key>FacebookDisplayName</key>
    <string>Sastaticket Dev</string>
    <key>ITSAppUsesNonExemptEncryption</key>
    <false/>
    <key>LSApplicationQueriesSchemes</key>
    <array>
        <string>fbapi</string>
        <string>fbapi20130214</string>
        <string>fbapi20130410</string>
        <string>fbapi20130702</string>
        <string>fbapi20131010</string>
        <string>fbapi20131219</string>
        <string>fbapi20140410</string>
        <string>fbapi20140116</string>
        <string>fbapi20150313</string>
        <string>fbapi20150629</string>
        <string>fbapi20160328</string>
        <string>fbauth</string>
        <string>fb-messenger-share-api</string>
        <string>fbauth2</string>
        <string>fbshareextension</string>
    </array>
    <key>LSRequiresIPhoneOS</key>
    <true/>
    <key>NSAppTransportSecurity</key>
    <dict>
        <key>NSExceptionDomains</key>
        <dict>
            <key>akamaihd.net</key>
            <dict>
                <key>NSIncludesSubdomains</key>
                <true/>
                <key>NSThirdPartyExceptionRequiresForwardSecrecy</key>
                <false/>
            </dict>
            <key>facebook.com</key>
            <dict>
                <key>NSIncludesSubdomains</key>
                <true/>
                <key>NSThirdPartyExceptionRequiresForwardSecrecy</key>
                <false/>
            </dict>
            <key>fbcdn.net</key>
            <dict>
                <key>NSIncludesSubdomains</key>
                <true/>
                <key>NSThirdPartyExceptionRequiresForwardSecrecy</key>
                <false/>
            </dict>
        </dict>
    </dict>
    <key>NSCameraUsageDescription</key>
    <string>Camera access is required so you can upload any documents for our support team</string>
    <key>NSLocationAlwaysUsageDescription</key>
    <string>We need your permission to access your location</string>
    <key>NSLocationWhenInUseUsageDescription</key>
    <string>We need your location for maps we don't use it for tracking</string>
    <key>NSPhotoLibraryUsageDescription</key>
    <string>Photo Library is required so you can upload any documents for our support team</string>
    <key>UIBackgroundModes</key>
    <array>
        <string>fetch</string>
        <string>remote-notification</string>
    </array>
    <key>UILaunchStoryboardName</key>
    <string>LaunchScreen</string>
    <key>UIMainStoryboardFile</key>
    <string>Main</string>
    <key>UISupportedInterfaceOrientations</key>
    <array>
        <string>UIInterfaceOrientationPortrait</string>
    </array>
    <key>UISupportedInterfaceOrientations~ipad</key>
    <array>
        <string>UIInterfaceOrientationPortrait</string>
        <string>UIInterfaceOrientationPortraitUpsideDown</string>
        <string>UIInterfaceOrientationLandscapeLeft</string>
        <string>UIInterfaceOrientationLandscapeRight</string>
    </array>
    <key>UIViewControllerBasedStatusBarAppearance</key>
    <false/>
    <key>WEGLicenseCode</key>
    <string>$(WEB_ENGAGE_LICENSE_CODE)</string>
    <key>WEGLogLevel</key>
    <string>VERBOSE</string>
    <key>FacebookClientToken</key>
    <string>311943829393404</string>
    <key>CFBundleIcons</key>
    <dict>
        <key>CFBundleAlternateIcons</key>
        <dict>
            <key>Special-Icon</key>
            <dict>
                <key>CFBundleIconFiles</key>
                <array>
                    <string>app_icon_special</string>
                </array>
                <key>UIPrerenderedIcon</key>
                <false/>
            </dict>
        </dict>
        <key>CFBundlePrimaryIcon</key>
        <dict>
            <key>CFBundleIconFiles</key>
            <array>
                <string>app_icon_special</string>
            </array>
            <key>UIPrerenderedIcon</key>
            <false/>
        </dict>
    </dict>
</dict>
</plist>

Podfile (iOS)

# Uncomment this line to define a global platform for your project
platform :ios, '11.0'
# $FirebaseSDKVersion = '7.10.0'

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

project 'Runner', {
  'Debug' => :debug,
  'Profile' => :release,
  'Release' => :release,
  'Debug-dev' => :debug,
  'Profile-dev' => :release,
  'Release-dev' => :release,
  'Debug-prod' => :debug,
  'Profile-prod' => :release,
  'Release-prod' => :release,
  'Debug-stage' => :debug,
  'Profile-stage' => :release,
  'Release-stage' => :release,
  'Debug-qa' => :debug,
  'Profile-qa' => :release,
  'Release-qa' => :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
  #pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '8.6.0'
  use_frameworks!
  use_modular_headers!

  # clean-tag
  # $static_framework = ['FlipperKit', 'Flipper', 'Flipper-Folly',
  # 'ComponentKit', 'Flipper-DoubleConversion',
  # 'Flipper-Glog', 'Flipper-PeerTalk', 'Flipper-RSocket', 'Yoga', 'YogaKit',
  # 'CocoaLibEvent', 'OpenSSL-Universal', 'boost-for-react-native']
  # pre_install do |installer|
  # Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
  # installer.pod_targets.each do |pod|
  #     if $static_framework.include?(pod.name)
  #       def pod.build_type;
  #         Pod::BuildType.static_library
  #       end
  #     end
  #   end
  # end
  # clean-tag

  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    flutter_additional_ios_build_settings(target)
    target.build_configurations.each do |config|
      config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'

      config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [
        '$(inherited)',

        # dart: PermissionGroup.calendar
        'PERMISSION_EVENTS=0',

        # dart: PermissionGroup.reminders
        'PERMISSION_REMINDERS=0',

        # dart: PermissionGroup.contacts
        'PERMISSION_CONTACTS=0',

        # dart: PermissionGroup.camera
        'PERMISSION_CAMERA=1',

        # dart: PermissionGroup.microphone
        'PERMISSION_MICROPHONE=0',

        # dart: PermissionGroup.speech
        'PERMISSION_SPEECH_RECOGNIZER=0',

        # dart: PermissionGroup.photos
        'PERMISSION_PHOTOS=1',

        # dart: [PermissionGroup.location, PermissionGroup.locationAlways, PermissionGroup.locationWhenInUse]
        'PERMISSION_LOCATION=0',

        # # dart: PermissionGroup.notification
        # 'PERMISSION_NOTIFICATIONS=0',

        # dart: PermissionGroup.mediaLibrary
        'PERMISSION_MEDIA_LIBRARY=0',

        # dart: PermissionGroup.sensors
        'PERMISSION_SENSORS=0',

        # dart: PermissionGroup.bluetooth
        'PERMISSION_BLUETOOTH=0'
      ]
    end
  end
  installer.pods_project.build_configurations.each do |config|
    config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
  end
end

AndroidManifest.xml

No response

MainActivity.java

No response

MainActivity.kt

No response

index.html

No response

Info.plist (macOS)

No response

darwin-morocho commented 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

ragokan commented 1 year ago

I am also having this issue, I am not using facebook sdk externally but I get same error sadly :(

darwin-morocho commented 1 year ago

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

MathMesquita commented 1 year ago

try with flutter clean and update the plugin to 4.4.0 next run pod update flutter_facebook_auth in your ios folder

This solution worked for me. Thanks!

phamconganh commented 1 year ago

@darwin-morocho can the release 4.x use with ios 10.x or must ios 11.x?

darwin-morocho commented 1 year ago

@darwin-morocho can the release 4.x use with ios 10.x or must ios 11.x?

11.x

SebastienBtr commented 1 year ago

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?

darwin-morocho commented 1 year ago

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?

I did not use 14.0.1 due to that version was not available when I upgrade the package

SebastienBtr commented 1 year ago

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?

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

Amit0424 commented 5 months ago

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?

darwin-morocho commented 5 months ago

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