Firebase-ios-sdk: GULSceneDelegateSwizzler.h not found

Created on 15 Jan 2020  Â·  29Comments  Â·  Source: firebase/firebase-ios-sdk

Describe your environment

  • Xcode version: 11.3.1
  • Firebase SDK version: 6.14.0
  • Firebase Component: Auth
  • Component version: 6.4.2

Describe the problem

import

Pods/FirebaseAuth/Firebase/Auth/Source/Auth/FIRAuth.m:32:9: 'GoogleUtilities/GULSceneDelegateSwizzler.h' file not found

Steps to reproduce:

Pod update to Firebase/Auth 6.4.2

GoogleUtilities auth

Most helpful comment

Hi.
I face same problem.
And pod update on flutter/ios solved in my case.
This was helpful.
https://stackoverflow.com/questions/59754797/googleutilities-gulscenedelegateswizzler-h-file-not-found

  • flutter clean - can't solve
  • pubspec.yaml change older version firebase_auth - can't solve
  • pod repo update* + pod update - solve.

I think flutter setup flow not support cocoapod's trash clean.

All 29 comments

Hi @raulrom13, thanks for reporting this issue. Looks like the GULSceneDelegateSwizzler.h was just added to Firebase/Auth 6.4.2 (see here). Could you try running the pod update command and see if the issue persists?

Yes, the issue persist with a pod update command.

I have seen that the issue is inside GoogleUtilities podspec. I have watchOS with platform 4.0, and in GoogleUtilities there are a minimum platform 6.0.

In my podspec, I'm using Firebase just in iOS dependencies, however Cocoapods doesn't update Firebase to 6.15.0 or GoogleUtilities to 6.5.0. If I change the watchOS version to 6.0, then Cocoapods updates all the firebase dependencies.

"name": "GoogleUtilities", "version": "6.5.0", "summary": "Google Utilities for iOS (plus community support for macOS and tvOS)", "description": "Internal Google Utilities including Network, Reachability Environment, Logger and Swizzling for\nother Google CocoaPods. They're not intended for direct public usage.", "homepage": "https://github.com/firebase/firebase-ios-sdk/tree/master/GoogleUtilities", "license": { "type": "Apache", "file": "LICENSE" }, "authors": "Google, Inc.", "source": { "git": "https://github.com/firebase/firebase-ios-sdk.git", "tag": "Utilities-6.5.0" }, "platforms": { "ios": "8.0", "osx": "10.11", "tvos": "10.0", "watchos": "6.0" }

@raulrom13, yes, I've seen here that the deployment target for watchOS is 6.0.

Hi @ryanwilson, any thoughts on this?

I am having the same issue and I am just at the beginning of learning to program. I found some answers but I don't know how to handle them . I will stick to this post maybe somebody experienced can give us an answer. Thank you

`Running pod install...
Running Xcode build...
Xcode build done. 126.5s
Failed to build iOS app
Error output from Xcode build:
↳
* BUILD FAILED *

Xcode's output:
↳
/Users/mac/AndroidStudioProjects/flutter_shop/ios/Pods/FirebaseAuth/Firebase/Auth/Source/Auth/FIRAuth.m:32:9: fatal error: 'GoogleUtilities/GULSceneDelegateSwizzler.h' file not found
#import
^~~~~~~~~~~~
/Users/mac/AndroidStudioProjects/flutter_shop/ios/Pods/FirebaseAuth/Firebase/Auth/Source/Auth/FIRAuth.m:32:9: note: did not find header 'GULSceneDelegateSwizzler.h' in framework 'GoogleUtilities' (loaded from '/Users/mac/AndroidStudioProjects/flutter_shop/build/ios/Debug-iphonesimulator/GoogleUtilities')
1 error generated.
note: Using new build system
note: Planning build
note: Constructing build description

Could not build the application for the simulator.
Error launching application on iPhone 11 Pro Max.`

Apologies everyone for the issues - @Aresgod112 can you confirm that you also have a watchOS application in your Podfile?

In the meantime while we sort this out, you can lock to an older version of Auth in your Podfile with:
pod 'FirebaseAuth', '6.4.1'

An immediate thing that sticks out is the spec on CocoaPods shows a dependency on GoogleUtilities 6.2 but the local spec declares a dependency on GoogleUtilities 6.5 which is the proper version.

Yes, I have a watchOS target in my Podfile.

I tried this:

ioscore.ios.dependency 'Firebase/Auth', '6.4.1'

And I got that error:

[!] CocoaPods could not find compatible versions for pod "Firebase/Auth": In Podfile: SkitudeCore (from../`) was resolved to 1006, which depends on
SkitudeCore/iOSCore (= 1006) was resolved to 1006, which depends on
Firebase/Auth (~> 6.4.1)

None of your spec sources contain a spec satisfying the dependency: Firebase/Auth (~> 6.4.1).

You have either:

  • mistyped the name or version.
  • not added the source repo that hosts the Podspec to your Podfile.`

I have changed:
'Firebase/Auth', '6.4.1'
for:
'FirebaseAuth', '6.4.1'

And now all is working again.

Beat me to it - was just about to comment to remove the /. Glad it's working, I think I found out the root cause and I'll post about it shortly after I type it up. Will need to find the right approach to resolve things as well.

Thank you @ryanwilson, I will try it again when you fix it.

The root cause of the issue:

Updates to the podspecs were cherry-picked to the release in #4640 and the associated tags were updated, but our tooling failed to push all podspecs to our staging area since there were inter-pod dependencies and it tried to push out of order. We manually pushed the podspecs to the staging area but missed FirebaseAuth.podspec and FirebaseCrashlytics.podspec.

The changes were as follows:

FirebaseAuth:

  • FirebaseCore dependency should be 6.6 but it stayed on 6.2
  • GoogleUtilities dependency should be 6.5 but it stayed on 6.2
    FirebaseCrashlytics:
  • FirebaseCore dependency should be 6.6 but it stayed on 6.3.2
  • FirebaseInstanceID dependency should be 4.3 but it stayed on 4.1

We're working on a resolution here but will have to wait a bit until the rest of folks get online (it's still early on the East coast).

One other thing we didn't foresee: adding watchOS support to FirebaseMessaging and all dependencies (including FirebaseCore and GoogleUtilities) ended up preventing you from being able to update to the latest pods even though you aren't using it in your older watchOS app. If possible, can you please share your Podfile? You can remove non-Firebase pods if you want but please keep the structure and any watchOS related items. I want to see if we can tell CocoaPods that the watchOS version should be limited to your watchOS target and not the iOS target as well, allowing you to upgrade to the latest version of FirebaseCore and deps.

Podfile:

def shared_pods
  #inhibit_all_warnings!
  pod 'SKCCore', :path => '../'
end

target 'XX' do
  platform :ios, '11.0'
  shared_pods
end

target 'XX' do
  platform :watchos, '4.0'
  shared_pods
end

Core Podspec:

...
spec.subspec 'iOSCore' do |ioscore|
...
  ioscore.ios.dependency 'FirebaseAnalytics'
  ioscore.ios.dependency 'FirebaseAuth', '6.4.1'
  ioscore.ios.dependency 'FirebaseMessaging'
  ioscore.ios.dependency 'FirebasePerformance'
...
end

spec.subspec 'WatchCore' do |watchcore|
... // No Firebase dependency
end

@raulrom13 can you please test something for me that will help confirm the issue?

Can you replace:

  ioscore.ios.dependency 'FirebaseAnalytics'
  ioscore.ios.dependency 'FirebaseAuth', '6.4.1'
  ioscore.ios.dependency 'FirebaseMessaging'
  ioscore.ios.dependency 'FirebasePerformance'

with

  ioscore.ios.dependency 'Firebase/Analytics', '6.15.0'
  ioscore.ios.dependency 'Firebase/Auth'
  ioscore.ios.dependency 'Firebase/Messaging'
  ioscore.ios.dependency 'Firebase/Performance'

I'm hoping to see what the exact error is that's preventing Firebase from being updated to 6.15.0 (which includes FirebaseCore 6.6 and others).

Thanks!

@ryanwilson To be honest all I was doing was trying to learn to create a simple ios login (not for watch ) app with firebase.
in my pubspec.yaml file the dependencies for firebase are
cloud_firestore: ^0.13.0+1
firebase_auth: ^0.15.3+1.

I'm working in Android studio , Dart Flutter .
I created just a login page for ios and also connected it to firebase. But when I want to launch the app on the simulator it gives me the above problem .
I don't know where to look for those files you guys are talking about. Sorry , as I said I am very new to this but I am trying my best to learn. So please if you would be kind to give me a bit of more guidance, I would appreciate it .

@ryanwilson this is the error with your configuration.

Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "FirebaseAnalytics":
  In Podfile:
    SkitudeCore (from '../') was resolved to 1006, which depends on
      SkitudeCore/iOSCore (= 1006) was resolved to 1006, which depends on
        FirebaseAnalytics (= 6.15.0)

None of your spec sources contain a spec satisfying the dependency: 'FirebaseAnalytics (= 6.15.0)'.

You have either:
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.

Thanks for the reply - did you add the slash back in? i.e Firebase/Analytics instead of FirebaseAnalytics.

@ryanwilson To be honest all I was doing was trying to learn to create a simple ios login (not for watch ) app with firebase.
in my pubspec.yaml file the dependencies for firebase are
cloud_firestore: ^0.13.0+1
firebase_auth: ^0.15.3+1.

I'm working in Android studio , Dart Flutter .
I created just a login page for ios and also connected it to firebase. But when I want to launch the app on the simulator it gives me the above problem .
I don't know where to look for those files you guys are talking about. Sorry , as I said I am very new to this but I am trying my best to learn. So please if you would be kind to give me a bit of more guidance, I would appreciate it .

No worries - thanks for any info you can provide! I'm not familiar with building Flutter apps myself - is there a tutorial you're following that I could try to replicate or some series of steps I could follow and try it myself?

@ryanwilson To be honest all I was doing was trying to learn to create a simple ios login (not for watch ) app with firebase.
in my pubspec.yaml file the dependencies for firebase are
cloud_firestore: ^0.13.0+1
firebase_auth: ^0.15.3+1.
I'm working in Android studio , Dart Flutter .
I created just a login page for ios and also connected it to firebase. But when I want to launch the app on the simulator it gives me the above problem .
I don't know where to look for those files you guys are talking about. Sorry , as I said I am very new to this but I am trying my best to learn. So please if you would be kind to give me a bit of more guidance, I would appreciate it .

No worries - thanks for any info you can provide! I'm not familiar with building Flutter apps myself - is there a tutorial you're following that I could try to replicate or some series of steps I could follow and try it myself?

Thank you for your answer . Sure here is the link.
https://youtu.be/13-jNF984C0

Sorry @ryanwilson, the new error message:

[!] CocoaPods could not find compatible versions for pod "FirebaseCore":
  In Podfile:
    SkitudeCore (from `../`) was resolved to 1006, which depends on
      SkitudeCore/iOSCore (= 1006) was resolved to 1006, which depends on
        Firebase/Analytics (= 6.15.0) was resolved to 6.15.0, which depends on
          Firebase/Core (= 6.15.0) was resolved to 6.15.0, which depends on
            Firebase/CoreOnly (= 6.15.0) was resolved to 6.15.0, which depends on
              FirebaseCore (= 6.6.0)

    SkitudeCore (from `../`) was resolved to 1006, which depends on
      SkitudeCore/iOSCore (= 1006) was resolved to 1006, which depends on
        Firebase/Analytics (= 6.15.0) was resolved to 6.15.0, which depends on
          Firebase/Core (= 6.15.0) was resolved to 6.15.0, which depends on
            FirebaseAnalytics (= 6.2.1) was resolved to 6.2.1, which depends on
              FirebaseCore (~> 6.6)

Specs satisfying the `FirebaseCore (= 6.6.0), FirebaseCore (~> 6.6)` dependency were found, but they required a higher minimum deployment target.

@raulrom13 I think this could potentially be a CocoaPods bug due to the complex setup in your Podfile that's preventing you from updating to the latest version.

I was able to get a simple project that has watchOS 4.0 project working when Firebase was included, bringing in the latest version of the SDK:

platform :ios, '9.0'

target 'Blank' do
  use_frameworks!
  pod 'Firebase/Analytics'
  pod 'Firebase/Messaging'
end

target 'WatchWatchWatch' do
  use_frameworks!
  platform :watchos, '4.0'
end

I'm curious, what are the default subspecs you have for your SKCCore pod? I assume the iOSCore subspec is being pulled into the watchOS target as well, and even though those pods aren't included for that platform maybe that happens after the version resolution step in CocoaPods.

A quick way to test this would be to only use the necessary subspecs for your watchOS target:

target 'XX' do
  platform :watchos, '4.0'
  pod 'SKCCore/WatchCore', :path => '../'
  # Also any other subspecs that are included by default in `SKCCore`...
end

@Aresgod112 I've asked a colleague who is more familiar with Flutter to look into this, but if they can't I'll get back to it shortly.

wow @ryanwilson I tried your recommendation and now all is working like a charm.

# Watch target
target 'WatchExtension' do
  platform :watchos, '4.0'
  pod 'xxxCore/watchOSCore', :path => '../'
end

Thank you! 💯

@raulrom13 happy to hear! You're very welcome. Sounds like you hit an edge case with CocoaPods, I'll see if I can get a small repro that I can file a bug with them. Cheers!

I won't close this bug yet until we figure out the problem @Aresgod112 is seeing.

@ryanwilson Much appreciated . I'm stuck for 2 days on this and I've searched all over . I've seen this problem in other places as well but no answer .

@Aresgod112 in the meantime as a workaround (so we can unblock you), can you please try an older version of Firebase? For firebase_auth the are here: https://pub.dev/packages/firebase_auth/versions so something like 0.15.3, 0.15.2, and moving backwards. You'll likely need to match cloud_firestore as well, 0.12.11 or 0.12.10+2 https://pub.dev/packages/cloud_firestore/versions

I'm at firebase_auth: ^0.15.2
cloud_firestore: ^0.12.10+2 still getting the same error , sorry it takes some time cause every time I have to clean the build. Tried all the combinations until now and including this one still same error.

Hmm we aren't able to reproduce it on our end. Can you please try: pod repo update to make sure you have all the latest SDKs available, and copy the contents of your Podfile.lock? It should be in the ios directory. That'll tell us which versions are being pulled in (moving back to the original versions specified below).

cloud_firestore: ^0.13.0+1
firebase_auth: ^0.15.3+1.

I did exactly as you said

`PODS:

  • abseil/algorithm (0.20190808):

    • abseil/algorithm/algorithm (= 0.20190808)

    • abseil/algorithm/container (= 0.20190808)

  • abseil/algorithm/algorithm (0.20190808)
  • abseil/algorithm/container (0.20190808):

    • abseil/algorithm/algorithm

    • abseil/base/core_headers

    • abseil/meta/type_traits

  • abseil/base (0.20190808):

    • abseil/base/atomic_hook (= 0.20190808)

    • abseil/base/base (= 0.20190808)

    • abseil/base/base_internal (= 0.20190808)

    • abseil/base/bits (= 0.20190808)

    • abseil/base/config (= 0.20190808)

    • abseil/base/core_headers (= 0.20190808)

    • abseil/base/dynamic_annotations (= 0.20190808)

    • abseil/base/endian (= 0.20190808)

    • abseil/base/log_severity (= 0.20190808)

    • abseil/base/malloc_internal (= 0.20190808)

    • abseil/base/pretty_function (= 0.20190808)

    • abseil/base/spinlock_wait (= 0.20190808)

    • abseil/base/throw_delegate (= 0.20190808)

  • abseil/base/atomic_hook (0.20190808)
  • abseil/base/base (0.20190808):

    • abseil/base/atomic_hook

    • abseil/base/base_internal

    • abseil/base/config

    • abseil/base/core_headers

    • abseil/base/dynamic_annotations

    • abseil/base/log_severity

    • abseil/base/spinlock_wait

    • abseil/meta/type_traits

  • abseil/base/base_internal (0.20190808):

    • abseil/meta/type_traits

  • abseil/base/bits (0.20190808):

    • abseil/base/core_headers

  • abseil/base/config (0.20190808)
  • abseil/base/core_headers (0.20190808):

    • abseil/base/config

  • abseil/base/dynamic_annotations (0.20190808)
  • abseil/base/endian (0.20190808):

    • abseil/base/config

    • abseil/base/core_headers

  • abseil/base/log_severity (0.20190808):

    • abseil/base/core_headers

  • abseil/base/malloc_internal (0.20190808):

    • abseil/base/base

    • abseil/base/config

    • abseil/base/core_headers

    • abseil/base/dynamic_annotations

    • abseil/base/spinlock_wait

  • abseil/base/pretty_function (0.20190808)
  • abseil/base/spinlock_wait (0.20190808):

    • abseil/base/core_headers

  • abseil/base/throw_delegate (0.20190808):

    • abseil/base/base

    • abseil/base/config

  • abseil/memory (0.20190808):

    • abseil/memory/memory (= 0.20190808)

  • abseil/memory/memory (0.20190808):

    • abseil/base/core_headers

    • abseil/meta/type_traits

  • abseil/meta (0.20190808):

    • abseil/meta/type_traits (= 0.20190808)

  • abseil/meta/type_traits (0.20190808):

    • abseil/base/config

  • abseil/numeric/int128 (0.20190808):

    • abseil/base/config

    • abseil/base/core_headers

  • abseil/strings/internal (0.20190808):

    • abseil/base/core_headers

    • abseil/base/endian

    • abseil/meta/type_traits

  • abseil/strings/strings (0.20190808):

    • abseil/base/base

    • abseil/base/bits

    • abseil/base/config

    • abseil/base/core_headers

    • abseil/base/endian

    • abseil/base/throw_delegate

    • abseil/memory/memory

    • abseil/meta/type_traits

    • abseil/numeric/int128

    • abseil/strings/internal

  • abseil/time (0.20190808):

    • abseil/time/internal (= 0.20190808)

    • abseil/time/time (= 0.20190808)

  • abseil/time/internal (0.20190808):

    • abseil/time/internal/cctz (= 0.20190808)

  • abseil/time/internal/cctz (0.20190808):

    • abseil/time/internal/cctz/civil_time (= 0.20190808)

    • abseil/time/internal/cctz/includes (= 0.20190808)

    • abseil/time/internal/cctz/time_zone (= 0.20190808)

  • abseil/time/internal/cctz/civil_time (0.20190808)
  • abseil/time/internal/cctz/includes (0.20190808)
  • abseil/time/internal/cctz/time_zone (0.20190808):

    • abseil/time/internal/cctz/civil_time

  • abseil/time/time (0.20190808):

    • abseil/base/base

    • abseil/base/core_headers

    • abseil/numeric/int128

    • abseil/strings/strings

    • abseil/time/internal/cctz/civil_time

    • abseil/time/internal/cctz/time_zone

  • abseil/types (0.20190808):

    • abseil/types/any (= 0.20190808)

    • abseil/types/bad_any_cast (= 0.20190808)

    • abseil/types/bad_any_cast_impl (= 0.20190808)

    • abseil/types/bad_optional_access (= 0.20190808)

    • abseil/types/bad_variant_access (= 0.20190808)

    • abseil/types/compare (= 0.20190808)

    • abseil/types/optional (= 0.20190808)

    • abseil/types/span (= 0.20190808)

    • abseil/types/variant (= 0.20190808)

  • abseil/types/any (0.20190808):

    • abseil/base/config

    • abseil/base/core_headers

    • abseil/meta/type_traits

    • abseil/types/bad_any_cast

    • abseil/utility/utility

  • abseil/types/bad_any_cast (0.20190808):

    • abseil/base/config

    • abseil/types/bad_any_cast_impl

  • abseil/types/bad_any_cast_impl (0.20190808):

    • abseil/base/base

    • abseil/base/config

  • abseil/types/bad_optional_access (0.20190808):

    • abseil/base/base

    • abseil/base/config

  • abseil/types/bad_variant_access (0.20190808):

    • abseil/base/base

    • abseil/base/config

  • abseil/types/compare (0.20190808):

    • abseil/base/core_headers

    • abseil/meta/type_traits

  • abseil/types/optional (0.20190808):

    • abseil/base/base_internal

    • abseil/base/config

    • abseil/base/core_headers

    • abseil/memory/memory

    • abseil/meta/type_traits

    • abseil/types/bad_optional_access

    • abseil/utility/utility

  • abseil/types/span (0.20190808):

    • abseil/algorithm/algorithm

    • abseil/base/core_headers

    • abseil/base/throw_delegate

    • abseil/meta/type_traits

  • abseil/types/variant (0.20190808):

    • abseil/base/base_internal

    • abseil/base/config

    • abseil/base/core_headers

    • abseil/meta/type_traits

    • abseil/types/bad_variant_access

    • abseil/utility/utility

  • abseil/utility/utility (0.20190808):

    • abseil/base/base_internal

    • abseil/base/config

    • abseil/meta/type_traits

  • BoringSSL-GRPC (0.0.3):

    • BoringSSL-GRPC/Implementation (= 0.0.3)

    • BoringSSL-GRPC/Interface (= 0.0.3)

  • BoringSSL-GRPC/Implementation (0.0.3):

    • BoringSSL-GRPC/Interface (= 0.0.3)

  • BoringSSL-GRPC/Interface (0.0.3)
  • cloud_firestore (0.0.1):

    • Firebase/Core

    • Firebase/Firestore (~> 6.0)

    • Flutter

  • Firebase/Auth (6.14.0):

    • Firebase/CoreOnly

    • FirebaseAuth (~> 6.4.1)

  • Firebase/Core (6.14.0):

    • Firebase/CoreOnly

    • FirebaseAnalytics (= 6.1.7)

  • Firebase/CoreOnly (6.14.0):

    • FirebaseCore (= 6.5.0)

  • Firebase/Firestore (6.14.0):

    • Firebase/CoreOnly

    • FirebaseFirestore (~> 1.8.2)

  • firebase_auth (0.0.1):

    • Firebase/Auth (~> 6.3)

    • Firebase/Core

    • Flutter

  • firebase_auth_web (0.1.0):

    • Flutter

  • firebase_core (0.0.1):

    • Firebase/Core

    • Flutter

  • firebase_core_web (0.1.0):

    • Flutter

  • FirebaseAnalytics (6.1.7):

    • FirebaseCore (~> 6.5)

    • FirebaseInstanceID (~> 4.2)

    • GoogleAppMeasurement (= 6.1.7)

    • GoogleUtilities/AppDelegateSwizzler (~> 6.0)

    • GoogleUtilities/MethodSwizzler (~> 6.0)

    • GoogleUtilities/Network (~> 6.0)

    • "GoogleUtilities/NSData+zlib (~> 6.0)"

    • nanopb (= 0.3.9011)

  • FirebaseAuth (6.4.2):

    • FirebaseAuthInterop (~> 1.0)

    • FirebaseCore (~> 6.2)

    • GoogleUtilities/AppDelegateSwizzler (~> 6.2)

    • GoogleUtilities/Environment (~> 6.2)

    • GTMSessionFetcher/Core (~> 1.1)

  • FirebaseAuthInterop (1.0.0)
  • FirebaseCore (6.5.0):

    • FirebaseCoreDiagnostics (~> 1.0)

    • FirebaseCoreDiagnosticsInterop (~> 1.0)

    • GoogleUtilities/Environment (~> 6.4)

    • GoogleUtilities/Logger (~> 6.4)

  • FirebaseCoreDiagnostics (1.1.2):

    • FirebaseCoreDiagnosticsInterop (~> 1.0)

    • GoogleDataTransportCCTSupport (~> 1.0)

    • GoogleUtilities/Environment (~> 6.2)

    • GoogleUtilities/Logger (~> 6.2)

    • nanopb (~> 0.3.901)

  • FirebaseCoreDiagnosticsInterop (1.1.0)
  • FirebaseFirestore (1.8.3):

    • abseil/algorithm (= 0.20190808)

    • abseil/base (= 0.20190808)

    • abseil/memory (= 0.20190808)

    • abseil/meta (= 0.20190808)

    • abseil/strings/strings (= 0.20190808)

    • abseil/time (= 0.20190808)

    • abseil/types (= 0.20190808)

    • FirebaseAuthInterop (~> 1.0)

    • FirebaseCore (~> 6.2)

    • "gRPC-C++ (= 0.0.9)"

    • leveldb-library (~> 1.22)

    • nanopb (~> 0.3.901)

  • FirebaseInstanceID (4.2.8):

    • FirebaseCore (~> 6.5)

    • GoogleUtilities/Environment (~> 6.4)

    • GoogleUtilities/UserDefaults (~> 6.4)

  • Flutter (1.0.0)
  • GoogleAppMeasurement (6.1.7):

    • GoogleUtilities/AppDelegateSwizzler (~> 6.0)

    • GoogleUtilities/MethodSwizzler (~> 6.0)

    • GoogleUtilities/Network (~> 6.0)

    • "GoogleUtilities/NSData+zlib (~> 6.0)"

    • nanopb (= 0.3.9011)

  • GoogleDataTransport (3.2.0)
  • GoogleDataTransportCCTSupport (1.2.3):

    • GoogleDataTransport (~> 3.2)

    • nanopb (~> 0.3.901)

  • GoogleUtilities/AppDelegateSwizzler (6.4.0):

    • GoogleUtilities/Environment

    • GoogleUtilities/Logger

    • GoogleUtilities/Network

  • GoogleUtilities/Environment (6.4.0)
  • GoogleUtilities/Logger (6.4.0):

    • GoogleUtilities/Environment

  • GoogleUtilities/MethodSwizzler (6.4.0):

    • GoogleUtilities/Logger

  • GoogleUtilities/Network (6.4.0):

    • GoogleUtilities/Logger

    • "GoogleUtilities/NSData+zlib"

    • GoogleUtilities/Reachability

  • "GoogleUtilities/NSData+zlib (6.4.0)"
  • GoogleUtilities/Reachability (6.4.0):

    • GoogleUtilities/Logger

  • GoogleUtilities/UserDefaults (6.4.0):

    • GoogleUtilities/Logger

  • "gRPC-C++ (0.0.9)":

    • "gRPC-C++/Implementation (= 0.0.9)"

    • "gRPC-C++/Interface (= 0.0.9)"

  • "gRPC-C++/Implementation (0.0.9)":

    • "gRPC-C++/Interface (= 0.0.9)"

    • gRPC-Core (= 1.21.0)

    • nanopb (~> 0.3)

  • "gRPC-C++/Interface (0.0.9)"
  • gRPC-Core (1.21.0):

    • gRPC-Core/Implementation (= 1.21.0)

    • gRPC-Core/Interface (= 1.21.0)

  • gRPC-Core/Implementation (1.21.0):

    • BoringSSL-GRPC (= 0.0.3)

    • gRPC-Core/Interface (= 1.21.0)

    • nanopb (~> 0.3)

  • gRPC-Core/Interface (1.21.0)
  • GTMSessionFetcher/Core (1.3.1)
  • leveldb-library (1.22)
  • nanopb (0.3.9011):

    • nanopb/decode (= 0.3.9011)

    • nanopb/encode (= 0.3.9011)

  • nanopb/decode (0.3.9011)
  • nanopb/encode (0.3.9011)

DEPENDENCIES:

  • cloud_firestore (from .symlinks/plugins/cloud_firestore/ios)
  • firebase_auth (from .symlinks/plugins/firebase_auth/ios)
  • firebase_auth_web (from .symlinks/plugins/firebase_auth_web/ios)
  • firebase_core (from .symlinks/plugins/firebase_core/ios)
  • firebase_core_web (from .symlinks/plugins/firebase_core_web/ios)
  • Flutter (from Flutter)

SPEC REPOS:
trunk:
- abseil
- BoringSSL-GRPC
- Firebase
- FirebaseAnalytics
- FirebaseAuth
- FirebaseAuthInterop
- FirebaseCore
- FirebaseCoreDiagnostics
- FirebaseCoreDiagnosticsInterop
- FirebaseFirestore
- FirebaseInstanceID
- GoogleAppMeasurement
- GoogleDataTransport
- GoogleDataTransportCCTSupport
- GoogleUtilities
- "gRPC-C++"
- gRPC-Core
- GTMSessionFetcher
- leveldb-library
- nanopb

EXTERNAL SOURCES:
cloud_firestore:
:path: ".symlinks/plugins/cloud_firestore/ios"
firebase_auth:
:path: ".symlinks/plugins/firebase_auth/ios"
firebase_auth_web:
:path: ".symlinks/plugins/firebase_auth_web/ios"
firebase_core:
:path: ".symlinks/plugins/firebase_core/ios"
firebase_core_web:
:path: ".symlinks/plugins/firebase_core_web/ios"
Flutter:
:path: Flutter

SPEC CHECKSUMS:
abseil: 18063d773f5366ff8736a050fe035a28f635fd27
BoringSSL-GRPC: db8764df3204ccea016e1c8dd15d9a9ad63ff318
cloud_firestore: 10fd4a09ebffc33efd64708106e2e7de701fe9ae
Firebase: 0219bb4782eb1406f1b9b0628a2e625484ce910d
firebase_auth: 697625863042c7af7a01b5f1a4cfff37d30743b4
firebase_auth_web: 0955c07bcc06e84af76b9d4e32e6f31518f2d7de
firebase_core: 9bd2e66a276153e219a87ff39dfecb6b671f524a
firebase_core_web: d501d8b946b60c8af265428ce483b0fff5ad52d1
FirebaseAnalytics: f68b9f3f1241385129ae0a83b63627fc420c05e5
FirebaseAuth: ce45d7c5d46bed90159f3a73b6efbe8976ed3573
FirebaseAuthInterop: 0ffa57668be100582bb7643d4fcb7615496c41fc
FirebaseCore: 632e05cc5e1199d9147122c16d92305eb04c34bd
FirebaseCoreDiagnostics: 511f4f3ed7d440bb69127e8b97c2bc8befae639e
FirebaseCoreDiagnosticsInterop: e9b1b023157e3a2fc6418b5cb601e79b9af7b3a0
FirebaseFirestore: 52120e2833f804a874ba1a9f59aab864a8ae2286
FirebaseInstanceID: ce993a3c3670a8f5d47ce371ac5d143c560608c5
Flutter: 0e3d915762c693b495b44d77113d4970485de6ec
GoogleAppMeasurement: db118eb61a97dd8c4f7014e368d3c335cbbcf80a
GoogleDataTransport: 8e9b210c97d55fbff306cc5468ff91b9cb32dcf5
GoogleDataTransportCCTSupport: 202d7cdf9c4a7d81a2bb7f7e7e1ba6faa421b1f2
GoogleUtilities: 29bd0d8f850efbd28cff6d99e8b7da1f8d236bcf
"gRPC-C++": 9dfe7b44821e7b3e44aacad2af29d2c21f7cde83
gRPC-Core: c9aef9a261a1247e881b18059b84d597293c9947
GTMSessionFetcher: cea130bbfe5a7edc8d06d3f0d17288c32ffe9925
leveldb-library: 55d93ee664b4007aac644a782d11da33fba316f7
nanopb: 18003b5e52dab79db540fe93fe9579f399bd1ccd

PODFILE CHECKSUM: c3b4b72c3f884620068e1bb2572dfba8ad6bf86f

COCOAPODS: 1.8.4
`

`Xcode's output:
↳
/Users/mac/AndroidStudioProjects/flutter_shop1/ios/Pods/FirebaseAuth/Firebase/Auth/Source/Auth/FIRAuth.m:32:9: fatal error: 'GoogleUtilities/GULSceneDelegateSwizzler.h' file not found
#import
^~~~~~~~~~~~
/Users/mac/AndroidStudioProjects/flutter_shop1/ios/Pods/FirebaseAuth/Firebase/Auth/Source/Auth/FIRAuth.m:32:9: note: did not find header 'GULSceneDelegateSwizzler.h' in framework 'GoogleUtilities' (loaded from '/Users/mac/AndroidStudioProjects/flutter_shop1/build/ios/Debug-iphonesimulator/GoogleUtilities')
1 error generated.
note: Using new build system
note: Planning build
note: Constructing build description

Could not build the application for the simulator.
Error launching application on iPhone 11.
`

Hi.
I face same problem.
And pod update on flutter/ios solved in my case.
This was helpful.
https://stackoverflow.com/questions/59754797/googleutilities-gulscenedelegateswizzler-h-file-not-found

  • flutter clean - can't solve
  • pubspec.yaml change older version firebase_auth - can't solve
  • pod repo update* + pod update - solve.

I think flutter setup flow not support cocoapod's trash clean.

Hi.
I face same problem.
And pod update on flutter/ios solved in my case.
This was helpful.
https://stackoverflow.com/questions/59754797/googleutilities-gulscenedelegateswizzler-h-file-not-found

  • flutter clean - can't solve
  • pubspec.yaml change older version firebase_auth - can't solve
  • pod repo update* + pod update - solve.

I think flutter setup flow not support cocoapod's trash clean.

This worked for me as well. Thank you.
In my case, I had to execute this command from AndoidStudioProjects/flutter_app_name/ios/ for anybody else who tried to do that directly from flutter_app_name directory

otherwise, you'll get this: [!] NoPodfile' found in the project directory.`

Now I am having another issue after fixing this.

`haseScriptExecution [CP]\ Embed\ Pods\ Frameworks /Users/mac/Library/Developer/Xcode/DerivedData/Runner-fgxkoxxcwtxceifctixthvenvsrs/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Script-763CFB666E743EDD9491ECFC.sh (in target 'Runner' from project 'Runner')
cd /Users/mac/AndroidStudioProjects/flutter_shop1/ios
/bin/sh -c /Users/mac/Library/Developer/Xcode/DerivedData/Runner-fgxkoxxcwtxceifctixthvenvsrs/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Script-763CFB666E743EDD9491ECFC.sh

/Users/mac/Library/Developer/Xcode/DerivedData/Runner-fgxkoxxcwtxceifctixthvenvsrs/Build/Intermediates.noindex/Runner.build/Debug-iphonesimulator/Runner.build/Script-763CFB666E743EDD9491ECFC.sh: line 2: /Users/mac/AndroidStudioProjects/flutter_shop1/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh: Permission denied
Command PhaseScriptExecution failed with a nonzero exit code
`

but I guess for this I should open a new ticket.

Thank you all @ryanwilson, @takuro-kira, @raulrom13 for the help.

Happy to hear the original issue is resolved, and thanks @takuro-kira for the specific instructions!

Yes, @Aresgod112 that doesn't look like a Firebase specific issue but try cleaning your derived data in Xcode and see if that helps. If you see any other Firebase specific issues please open another issue and we'll do our best to resolve it!

Was this page helpful?
0 / 5 - 0 ratings