Skip to content

πŸ› [firebase_core] flutter run/pod install returns errorΒ #8952

Closed
@function1983

Description

@function1983

Bug report

Describe the bug
MacOS with flutter pub add firebase_core in a minimum flutter create project will result in error exit code 1.

Logs with flutter run

Click To Expand
➜  ios pod install
Analyzing dependencies
firebase_core: Using Firebase SDK version '8.15.0' defined in 'firebase_core'
Downloading dependencies
Installing Firebase (8.15.0)
Installing FirebaseCore (8.15.0)
Installing FirebaseCoreDiagnostics (8.15.0)
Installing Flutter (1.0.0)
Installing GoogleDataTransport (9.1.4)
Installing GoogleUtilities (7.7.0)
Installing PromisesObjC (2.1.0)
Installing firebase_core (1.18.0)
Installing nanopb (2.30908.0)
Generating Pods project
[!] An error occurred while processing the post-install hook of the Podfile.

undefined local variable or method `continue' for #<Pod::Podfile:0x00007f78a6b56b18>

/Users/func/development/flutter/packages/flutter_tools/bin/podhelper.rb:63:in `block (2 levels) in flutter_additional_ios_build_settings'
/Users/func/development/flutter/packages/flutter_tools/bin/podhelper.rb:62:in `each_child'
/Users/func/development/flutter/packages/flutter_tools/bin/podhelper.rb:62:in `block in flutter_additional_ios_build_settings'
/Users/func/development/flutter/packages/flutter_tools/bin/podhelper.rb:51:in `each'
/Users/func/development/flutter/packages/flutter_tools/bin/podhelper.rb:51:in `flutter_additional_ios_build_settings'
/Users/func/development/huehue/ios/Podfile:39:in `block (3 levels) in from_ruby'
/Users/func/development/huehue/ios/Podfile:38:in `each'
/Users/func/development/huehue/ios/Podfile:38:in `block (2 levels) in from_ruby'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/podfile.rb:196:in `post_install!'
/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:945:in `run_podfile_post_install_hook'
/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:933:in `block in run_podfile_post_install_hooks'
/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/user_interface.rb:149:in `message'
/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:932:in `run_podfile_post_install_hooks'
/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:331:in `block (2 levels) in create_and_save_projects'
/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer/xcode/pods_project_generator/pods_project_writer.rb:61:in `write!'
/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:330:in `block in create_and_save_projects'
/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/user_interface.rb:64:in `section'
/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:309:in `create_and_save_projects'
/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:301:in `generate_pods_project'
/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:180:in `integrate'
/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:167:in `install!'
/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/command/install.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/command.rb:52:in `run'
/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/bin/pod:55:in `<top (required)>'
/usr/local/Cellar/cocoapods/1.11.3/libexec/bin/pod:23:in `load'
/usr/local/Cellar/cocoapods/1.11.3/libexec/bin/pod:23:in `<main>'

Logs with flutter run --verbose

Click To Expand
➜  huehue flutter run --verbose
[ +106 ms] executing: sysctl hw.optional.arm64
[  +20 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[   +7 ms] executing: [/Users/func/development/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +17 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] cd41fdd495f6944ecd3506c21e94c6567b073278
[        ] executing: [/Users/func/development/flutter/] git tag --points-at cd41fdd495f6944ecd3506c21e94c6567b073278
[  +23 ms] Exit code 0 from: git tag --points-at cd41fdd495f6944ecd3506c21e94c6567b073278
[        ] 3.0.2
[  +10 ms] executing: [/Users/func/development/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +14 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/Users/func/development/flutter/] git ls-remote --get-url origin
[  +15 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +110 ms] executing: [/Users/func/development/flutter/] git rev-parse --abbrev-ref HEAD
[  +16 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[   +5 ms] executing: sw_vers -productName
[  +14 ms] Exit code 0 from: sw_vers -productName
[        ] macOS
[        ] executing: sw_vers -productVersion
[  +14 ms] Exit code 0 from: sw_vers -productVersion
[        ] 12.4
[        ] executing: sw_vers -buildVersion
[  +14 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 21F79
[        ] executing: uname -m
[   +6 ms] Exit code 0 from: uname -m
[        ] x86_64
[  +67 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +52 ms] executing: /Users/func/Library/Android/sdk/platform-tools/adb devices -l
[  +12 ms] executing: sysctl hw.optional.arm64
[   +5 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[        ] executing: xcrun xcodebuild -version
[ +167 ms] Exit code 0 from: xcrun xcodebuild -version
[        ] Xcode 13.4.1
           Build version 13F100
[   +3 ms] executing: xcrun xcdevice list --timeout 2
[   +4 ms] xcrun simctl list --json devices
[        ] executing: xcrun simctl list --json devices
[   +5 ms] executing: xcrun simctl list
[ +128 ms] Exit code 0 from: xcrun simctl list

REDACTED

[  +17 ms] executing: [/Users/func/development/huehue/ios/Pods/Pods.xcodeproj/] xcrun xcodebuild -alltargets -sdk iphonesimulator -project
/Users/func/development/huehue/ios/Pods/Pods.xcodeproj -showBuildSettings BUILD_DIR=/Users/func/development/huehue/build/ios
OBJROOT=/Users/func/development/huehue/build/ios
[        ] executing: [/Users/func/development/huehue/ios/Pods/Pods.xcodeproj/] xcrun xcodebuild -alltargets -sdk iphonesimulator -project
/Users/func/development/huehue/ios/Pods/Pods.xcodeproj -showBuildSettings BUILD_DIR=/Users/func/development/huehue/build/ios
OBJROOT=/Users/func/development/huehue/build/ios
[ +784 ms] Command line invocation:
                        /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -alltargets -sdk iphonesimulator -project
                        /Users/func/development/huehue/ios/Pods/Pods.xcodeproj -showBuildSettings BUILD_DIR=/Users/func/development/huehue/build/ios
                        OBJROOT=/Users/func/development/huehue/build/ios

                    User defaults from command line:
                        IDEPackageSupportUseBuiltinSCM = YES

                    Build settings from command line:
                        BUILD_DIR = /Users/func/development/huehue/build/ios
                        OBJROOT = /Users/func/development/huehue/build/ios
                        SDKROOT = iphonesimulator15.5


                    2022-06-22 18:54:31.250 xcodebuild[29352:323999] Requested but did not find extension point with identifier
                    Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in
                    com.apple.dt.IDEWatchSupportCore
                    2022-06-22 18:54:31.251 xcodebuild[29352:323999] Requested but did not find extension point with identifier
                    Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension
                    Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
                    xcodebuild: error: Unable to read project 'Pods.xcodeproj' from folder '/Users/func/development/huehue/ios/Pods'.
                    	Reason: Project /Users/func/development/huehue/ios/Pods/Pods.xcodeproj cannot be opened because it is missing its project.pbxproj
                    	file.
[   +4 ms] Unexpected failure to get Pod Xcode project build settings: ProcessException: Process exited abnormally:
           Command line invocation:
               /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -alltargets -sdk iphonesimulator -project
               /Users/func/development/huehue/ios/Pods/Pods.xcodeproj -showBuildSettings BUILD_DIR=/Users/func/development/huehue/build/ios
               OBJROOT=/Users/func/development/huehue/build/ios

           User defaults from command line:
               IDEPackageSupportUseBuiltinSCM = YES

           Build settings from command line:
               BUILD_DIR = /Users/func/development/huehue/build/ios
               OBJROOT = /Users/func/development/huehue/build/ios
               SDKROOT = iphonesimulator15.5


           2022-06-22 18:54:31.250 xcodebuild[29352:323999] Requested but did not find extension point with identifier
           Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in
           com.apple.dt.IDEWatchSupportCore
           2022-06-22 18:54:31.251 xcodebuild[29352:323999] Requested but did not find extension point with identifier
           Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of
           plug-in com.apple.dt.IDEWatchSupportCore
           xcodebuild: error: Unable to read project 'Pods.xcodeproj' from folder '/Users/func/development/huehue/ios/Pods'.
           	Reason: Project /Users/func/development/huehue/ios/Pods/Pods.xcodeproj cannot be opened because it is missing its project.pbxproj file.
             Command: xcrun xcodebuild -alltargets -sdk iphonesimulator -project /Users/func/development/huehue/ios/Pods/Pods.xcodeproj
             -showBuildSettings BUILD_DIR=/Users/func/development/huehue/build/ios OBJROOT=/Users/func/development/huehue/build/ios.
[  +24 ms] Found plugin firebase_core at /Users/func/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core-1.18.0/
[   +2 ms] Found plugin firebase_core_web at /Users/func/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.5/
[  +22 ms] executing: which pod
[   +7 ms] executing: pod --version
[ +812 ms] 1.11.3
[   +2 ms] Running pod install...
[+1828 ms] Running pod install... (completed in 1,816ms)
[        ] CocoaPods' output:
           ↳
[   +8 ms]       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 `firebase_core` from `.symlinks/plugins/firebase_core/ios`
               firebase_core: Using Firebase SDK version '8.15.0' defined in 'firebase_core'
           
               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/9.2.0/Firebase.podspec.json exists! Returning local because checking is only performed
in repo
                 update
                 CDN: trunk Relative path: Specs/0/3/5/Firebase/8.15.0/Firebase.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/9.2.0/FirebaseCore.podspec.json exists! Returning local because checking is only
performed in
                 repo update
                 CDN: trunk Relative path: Specs/8/b/d/FirebaseCore/8.15.0/FirebaseCore.podspec.json exists! Returning local because checking is only
performed
                 in repo update
                 CDN: trunk Relative path: all_pods_versions_0_8_4.txt exists! Returning local because checking is only performed in repo update
                 CDN: trunk Relative path: Specs/0/8/4/GoogleUtilities/7.7.0/GoogleUtilities.podspec.json exists! Returning local because checking is
only
                 performed in repo update
                 CDN: trunk Relative path: Specs/0/8/4/GoogleUtilities/7.7.0/GoogleUtilities.podspec.json exists! Returning local because checking is
only
                 performed in repo update
                 CDN: trunk Relative path: Specs/0/8/4/GoogleUtilities/7.7.0/GoogleUtilities.podspec.json exists! Returning local because checking is
only
                 performed in repo update
                 CDN: trunk Relative path: all_pods_versions_8_3_c.txt exists! Returning local because checking is only performed in repo update
                 CDN: trunk Relative path: Specs/8/3/c/FirebaseCoreDiagnostics/9.2.0/FirebaseCoreDiagnostics.podspec.json exists! Returning local
because
                 checking is only performed in repo update
                 CDN: trunk Relative path: all_pods_versions_0_b_5.txt exists! Returning local because checking is only performed in repo update
                 CDN: trunk Relative path: Specs/0/b/5/PromisesObjC/2.1.0/PromisesObjC.podspec.json exists! Returning local because checking is only
performed in
                 repo update
                 CDN: trunk Relative path: Specs/0/8/4/GoogleUtilities/7.7.0/GoogleUtilities.podspec.json exists! Returning local because checking is
only
                 performed in repo update
                 CDN: trunk Relative path: Specs/0/b/5/PromisesObjC/2.1.0/PromisesObjC.podspec.json exists! Returning local because checking is only
performed in
                 repo update
                 CDN: trunk Relative path: Specs/0/b/5/PromisesObjC/2.0.0/PromisesObjC.podspec.json exists! Returning local because checking is only
performed in
                 repo update
                 CDN: trunk Relative path: Specs/0/b/5/PromisesObjC/1.2.12/PromisesObjC.podspec.json exists! Returning local because checking is only
performed
                 in repo update
                 CDN: trunk Relative path: Specs/0/b/5/PromisesObjC/1.2.11/PromisesObjC.podspec.json exists! Returning local because checking is only
performed
                 in repo update
                 CDN: trunk Relative path: Specs/0/b/5/PromisesObjC/1.2.10/PromisesObjC.podspec.json exists! Returning local because checking is only
performed
                 in repo update
                 CDN: trunk Relative path: Specs/0/b/5/PromisesObjC/1.2.9/PromisesObjC.podspec.json exists! Returning local because checking is only
performed in
                 repo update
                 CDN: trunk Relative path: Specs/0/b/5/PromisesObjC/1.2.8/PromisesObjC.podspec.json exists! Returning local because checking is only
performed in
                 repo update
                 CDN: trunk Relative path: Specs/0/b/5/PromisesObjC/1.2.7/PromisesObjC.podspec.json exists! Returning local because checking is only
performed in
                 repo update
                 CDN: trunk Relative path: Specs/0/b/5/PromisesObjC/1.2.6/PromisesObjC.podspec.json exists! Returning local because checking is only
performed in
                 repo update
                 CDN: trunk Relative path: Specs/0/b/5/PromisesObjC/1.2.5/PromisesObjC.podspec.json exists! Returning local because checking is only
performed in
                 repo update
                 CDN: trunk Relative path: Specs/0/b/5/PromisesObjC/1.2.4/PromisesObjC.podspec.json exists! Returning local because checking is only
performed in
                 repo update
                 CDN: trunk Relative path: Specs/0/b/5/PromisesObjC/1.2.3/PromisesObjC.podspec.json exists! Returning local because checking is only
performed in
                 repo update
                 CDN: trunk Relative path: Specs/0/b/5/PromisesObjC/1.2.2/PromisesObjC.podspec.json exists! Returning local because checking is only
performed in
                 repo update
                 CDN: trunk Relative path: Specs/0/b/5/PromisesObjC/1.2.1/PromisesObjC.podspec.json exists! Returning local because checking is only
performed in
                 repo update
                 CDN: trunk Relative path: Specs/0/b/5/PromisesObjC/1.2/PromisesObjC.podspec.json exists! Returning local because checking is only
performed in
                 repo update
                 CDN: trunk Relative path: Specs/8/3/c/FirebaseCoreDiagnostics/8.15.0/FirebaseCoreDiagnostics.podspec.json exists! Returning local
because
                 checking is only performed in repo update
                 CDN: trunk Relative path: Specs/8/3/c/FirebaseCoreDiagnostics/8.14.0/FirebaseCoreDiagnostics.podspec.json exists! Returning local
because
                 checking is only performed in repo update
                 CDN: trunk Relative path: Specs/8/3/c/FirebaseCoreDiagnostics/8.13.0/FirebaseCoreDiagnostics.podspec.json exists! Returning local
because
                 checking is only performed in repo update
                 CDN: trunk Relative path: Specs/8/3/c/FirebaseCoreDiagnostics/8.12.0/FirebaseCoreDiagnostics.podspec.json exists! Returning local
because
                 checking is only performed in repo update
                 CDN: trunk Relative path: Specs/8/3/c/FirebaseCoreDiagnostics/8.11.0/FirebaseCoreDiagnostics.podspec.json exists! Returning local
because
                 checking is only performed in repo update
                 CDN: trunk Relative path: Specs/8/3/c/FirebaseCoreDiagnostics/8.10.0/FirebaseCoreDiagnostics.podspec.json exists! Returning local
because
                 checking is only performed in repo update
                 CDN: trunk Relative path: Specs/8/3/c/FirebaseCoreDiagnostics/8.9.0/FirebaseCoreDiagnostics.podspec.json exists! Returning local
because
                 checking is only performed in repo update
                 CDN: trunk Relative path: Specs/8/3/c/FirebaseCoreDiagnostics/8.8.0/FirebaseCoreDiagnostics.podspec.json exists! Returning local
because
                 checking is only performed in repo update
                 CDN: trunk Relative path: Specs/8/3/c/FirebaseCoreDiagnostics/8.7.0/FirebaseCoreDiagnostics.podspec.json exists! Returning local
because
                 checking is only performed in repo update
                 CDN: trunk Relative path: Specs/8/3/c/FirebaseCoreDiagnostics/8.6.0/FirebaseCoreDiagnostics.podspec.json exists! Returning local
because
                 checking is only performed in repo update
                 CDN: trunk Relative path: Specs/8/3/c/FirebaseCoreDiagnostics/8.5.0/FirebaseCoreDiagnostics.podspec.json exists! Returning local
because
                 checking is only performed in repo update
                 CDN: trunk Relative path: Specs/8/3/c/FirebaseCoreDiagnostics/8.4.0/FirebaseCoreDiagnostics.podspec.json exists! Returning local
because
                 checking is only performed in repo update
                 CDN: trunk Relative path: Specs/8/3/c/FirebaseCoreDiagnostics/8.3.0/FirebaseCoreDiagnostics.podspec.json exists! Returning local
because
                 checking is only performed in repo update
                 CDN: trunk Relative path: Specs/8/3/c/FirebaseCoreDiagnostics/8.2.0/FirebaseCoreDiagnostics.podspec.json exists! Returning local
because
                 checking is only performed in repo update
                 CDN: trunk Relative path: Specs/8/3/c/FirebaseCoreDiagnostics/8.1.0/FirebaseCoreDiagnostics.podspec.json exists! Returning local
because
                 checking is only performed in repo update
                 CDN: trunk Relative path: Specs/8/3/c/FirebaseCoreDiagnostics/8.0.0/FirebaseCoreDiagnostics.podspec.json exists! Returning local
because
                 checking is only performed in repo update
                 CDN: trunk Relative path: all_pods_versions_0_6_a.txt exists! Returning local because checking is only performed in repo update
                 CDN: trunk Relative path: Specs/0/6/a/GoogleDataTransport/9.1.4/GoogleDataTransport.podspec.json exists! Returning local because
checking is
                 only performed in repo update
                 CDN: trunk Relative path: all_pods_versions_6_1_e.txt exists! Returning local because checking is only performed in repo update
                 CDN: trunk Relative path: Specs/6/1/e/nanopb/2.30909.0/nanopb.podspec.json exists! Returning local because checking is only performed
in repo
                 update
                 CDN: trunk Relative path: Specs/6/1/e/nanopb/2.30908.0/nanopb.podspec.json exists! Returning local because checking is only performed
in repo
                 update
                 CDN: trunk Relative path: Specs/6/1/e/nanopb/2.30908.0/nanopb.podspec.json exists! Returning local because checking is only performed
in repo
                 update
                 CDN: trunk Relative path: Specs/6/1/e/nanopb/2.30908.0/nanopb.podspec.json exists! Returning local because checking is only performed
in repo
                 update
                 CDN: trunk Relative path: Specs/0/6/a/GoogleDataTransport/9.1.4/GoogleDataTransport.podspec.json exists! Returning local because
checking is
                 only performed in repo update
                 CDN: trunk Relative path: Specs/0/6/a/GoogleDataTransport/9.1.3/GoogleDataTransport.podspec.json exists! Returning local because
checking is
                 only performed in repo update
                 CDN: trunk Relative path: Specs/0/6/a/GoogleDataTransport/9.1.2/GoogleDataTransport.podspec.json exists! Returning local because
checking is
                 only performed in repo update
                 CDN: trunk Relative path: Specs/0/6/a/GoogleDataTransport/9.1.0/GoogleDataTransport.podspec.json exists! Returning local because
checking is
                 only performed in repo update
                 CDN: trunk Relative path: Specs/6/1/e/nanopb/2.30909.0/nanopb.podspec.json exists! Returning local because checking is only performed
in repo
                 update
                 CDN: trunk Relative path: Specs/6/1/e/nanopb/2.30908.0/nanopb.podspec.json exists! Returning local because checking is only performed
in repo
                 update
           
               Comparing resolved specification to the sandbox manifest
                 A Firebase
                 A FirebaseCore
                 A FirebaseCoreDiagnostics
                 A Flutter
                 A GoogleDataTransport
                 A GoogleUtilities
                 A PromisesObjC
                 A firebase_core
                 A nanopb
           
               Downloading dependencies
           
               -> Installing Firebase (8.15.0)
                 > Copying Firebase from `/Users/func/Library/Caches/CocoaPods/Pods/Release/Firebase/8.15.0-5f819` to `Pods/Firebase`
           
               -> Installing FirebaseCore (8.15.0)
                 > Copying FirebaseCore from `/Users/func/Library/Caches/CocoaPods/Pods/Release/FirebaseCore/8.15.0-5743c` to `Pods/FirebaseCore`
           
               -> Installing FirebaseCoreDiagnostics (8.15.0)
                 > Copying FirebaseCoreDiagnostics from `/Users/func/Library/Caches/CocoaPods/Pods/Release/FirebaseCoreDiagnostics/8.15.0-92e07` to
                 `Pods/FirebaseCoreDiagnostics`
           
               -> Installing Flutter (1.0.0)
           
               -> Installing GoogleDataTransport (9.1.4)
                 > Copying GoogleDataTransport from `/Users/func/Library/Caches/CocoaPods/Pods/Release/GoogleDataTransport/9.1.4-5fffe` to
                 `Pods/GoogleDataTransport`
           
               -> Installing GoogleUtilities (7.7.0)
                 > Copying GoogleUtilities from `/Users/func/Library/Caches/CocoaPods/Pods/Release/GoogleUtilities/7.7.0-e0913` to
`Pods/GoogleUtilities`
           
               -> Installing PromisesObjC (2.1.0)
                 > Copying PromisesObjC from `/Users/func/Library/Caches/CocoaPods/Pods/Release/PromisesObjC/2.1.0-99b6f` to `Pods/PromisesObjC`
           
               -> Installing firebase_core (1.18.0)
           
               -> Installing nanopb (2.30908.0)
                 > Copying nanopb from `/Users/func/Library/Caches/CocoaPods/Pods/Release/nanopb/2.30908.0-a0ba3` to `Pods/nanopb`
                 - Running pre install hooks
                 - Running pre integrate hooks
           
               Generating Pods project
                 - Creating Pods project
                 - Installing files into Pods project
                   - Adding source files
                   - Adding frameworks
                   - Adding libraries
                   - Adding resources
                   - Adding development pod helper files
                   - Linking headers
                 - Installing Pod Targets
                   - Installing target `Firebase` iOS 9.0
                   - Installing target `FirebaseCore` iOS 9.0
                     - Generating module map file at `Pods/Target Support Files/FirebaseCore/FirebaseCore.modulemap`
                     - Generating umbrella header at `Pods/Target Support Files/FirebaseCore/FirebaseCore-umbrella.h`
                     - Generating Info.plist file at `Pods/Target Support Files/FirebaseCore/FirebaseCore-Info.plist`
                     - Generating dummy source at `Pods/Target Support Files/FirebaseCore/FirebaseCore-dummy.m`
                   - Installing target `FirebaseCoreDiagnostics` iOS 9.0
                     - Generating module map file at `Pods/Target Support Files/FirebaseCoreDiagnostics/FirebaseCoreDiagnostics.modulemap`
                     - Generating umbrella header at `Pods/Target Support Files/FirebaseCoreDiagnostics/FirebaseCoreDiagnostics-umbrella.h`
                     - Generating Info.plist file at `Pods/Target Support Files/FirebaseCoreDiagnostics/FirebaseCoreDiagnostics-Info.plist`
                     - Generating dummy source at `Pods/Target Support Files/FirebaseCoreDiagnostics/FirebaseCoreDiagnostics-dummy.m`
                   - Installing target `Flutter` iOS 9.0
                   - Installing target `GoogleDataTransport` iOS 9.0
                     - Generating module map file at `Pods/Target Support Files/GoogleDataTransport/GoogleDataTransport.modulemap`
                     - Generating umbrella header at `Pods/Target Support Files/GoogleDataTransport/GoogleDataTransport-umbrella.h`
                     - Generating Info.plist file at `Pods/Target Support Files/GoogleDataTransport/GoogleDataTransport-Info.plist`
                     - Generating dummy source at `Pods/Target Support Files/GoogleDataTransport/GoogleDataTransport-dummy.m`
                   - Installing target `GoogleUtilities` iOS 9.0
                     - Generating module map file at `Pods/Target Support Files/GoogleUtilities/GoogleUtilities.modulemap`
                     - Generating umbrella header at `Pods/Target Support Files/GoogleUtilities/GoogleUtilities-umbrella.h`
                     - Generating Info.plist file at `Pods/Target Support Files/GoogleUtilities/GoogleUtilities-Info.plist`
                     - Generating dummy source at `Pods/Target Support Files/GoogleUtilities/GoogleUtilities-dummy.m`
                   - Installing target `PromisesObjC` iOS 9.0
                     - Generating module map file at `Pods/Target Support Files/PromisesObjC/PromisesObjC.modulemap`
                     - Generating umbrella header at `Pods/Target Support Files/PromisesObjC/PromisesObjC-umbrella.h`
                     - Generating Info.plist file at `Pods/Target Support Files/PromisesObjC/PromisesObjC-Info.plist`
                     - Generating dummy source at `Pods/Target Support Files/PromisesObjC/PromisesObjC-dummy.m`
                   - Installing target `firebase_core` iOS 9.0
                     - Generating module map file at `Pods/Target Support Files/firebase_core/firebase_core.modulemap`
                     - Generating umbrella header at `Pods/Target Support Files/firebase_core/firebase_core-umbrella.h`
                     - Generating Info.plist file at `Pods/Target Support Files/firebase_core/firebase_core-Info.plist`
                     - Generating dummy source at `Pods/Target Support Files/firebase_core/firebase_core-dummy.m`
                   - Installing target `nanopb` iOS 9.0
                     - Generating module map file at `Pods/Target Support Files/nanopb/nanopb.modulemap`
                     - Generating umbrella header at `Pods/Target Support Files/nanopb/nanopb-umbrella.h`
                     - Generating Info.plist file at `Pods/Target Support Files/nanopb/nanopb-Info.plist`
                     - Generating dummy source at `Pods/Target Support Files/nanopb/nanopb-dummy.m`
                 - Installing Aggregate Targets
                   - Installing target `Pods-Runner` iOS 11.0
                     - Generating Info.plist file at `Pods/Target Support Files/Pods-Runner/Pods-Runner-Info.plist`
                     - Generating module map file at `Pods/Target Support Files/Pods-Runner/Pods-Runner.modulemap`
                     - Generating umbrella header at `Pods/Target Support Files/Pods-Runner/Pods-Runner-umbrella.h`
                     - Generating dummy source at `Pods/Target Support Files/Pods-Runner/Pods-Runner-dummy.m`
                 - Generating deterministic UUIDs
                 - Stabilizing target UUIDs
                 - Running post install hooks
               [!] An error occurred while processing the post-install hook of the Podfile.
           
               undefined local variable or method `continue' for #<Pod::Podfile:0x00007fbe109ce8e0>
           
               /Users/func/development/flutter/packages/flutter_tools/bin/podhelper.rb:63:in `block (2 levels) in
flutter_additional_ios_build_settings'
               /Users/func/development/flutter/packages/flutter_tools/bin/podhelper.rb:62:in `each_child'
               /Users/func/development/flutter/packages/flutter_tools/bin/podhelper.rb:62:in `block in flutter_additional_ios_build_settings'
               /Users/func/development/flutter/packages/flutter_tools/bin/podhelper.rb:51:in `each'
               /Users/func/development/flutter/packages/flutter_tools/bin/podhelper.rb:51:in `flutter_additional_ios_build_settings'
               /Users/func/development/huehue/ios/Podfile:39:in `block (3 levels) in from_ruby'
               /Users/func/development/huehue/ios/Podfile:38:in `each'
               /Users/func/development/huehue/ios/Podfile:38:in `block (2 levels) in from_ruby'
               /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/podfile.rb:196:in `post_install!'
               /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:945:in `run_podfile_post_install_hook'
               /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:933:in `block in
run_podfile_post_install_hooks'
               /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/user_interface.rb:149:in `message'
               /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:932:in `run_podfile_post_install_hooks'
               /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:331:in `block (2 levels) in
create_and_save_projects'

/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer/xcode/pods_project_generator/pods_project_writer.rb:61:in
               `write!'
               /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:330:in `block in create_and_save_projects'
               /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/user_interface.rb:64:in `section'
               /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:309:in `create_and_save_projects'
               /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:301:in `generate_pods_project'
               /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:180:in `integrate'
               /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:167:in `install!'
               /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/command/install.rb:52:in `run'
               /Library/Ruby/Gems/2.6.0/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
               /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/command.rb:52:in `run'
               /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/bin/pod:55:in `<top (required)>'
               /usr/local/Cellar/cocoapods/1.11.3/libexec/bin/pod:23:in `load'
               /usr/local/Cellar/cocoapods/1.11.3/libexec/bin/pod:23:in `<main>'
           
               /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:947:in `rescue in
run_podfile_post_install_hook'
               /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:944:in `run_podfile_post_install_hook'
               /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:933:in `block in
run_podfile_post_install_hooks'
               /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/user_interface.rb:149:in `message'
               /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:932:in `run_podfile_post_install_hooks'
               /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:331:in `block (2 levels) in
create_and_save_projects'

/usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer/xcode/pods_project_generator/pods_project_writer.rb:61:in
               `write!'
               /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:330:in `block in create_and_save_projects'
               /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/user_interface.rb:64:in `section'
               /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:309:in `create_and_save_projects'
               /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:301:in `generate_pods_project'
               /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:180:in `integrate'
               /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:167:in `install!'
               /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/command/install.rb:52:in `run'
               /Library/Ruby/Gems/2.6.0/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
               /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/command.rb:52:in `run'
               /usr/local/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/bin/pod:55:in `<top (required)>'
               /usr/local/Cellar/cocoapods/1.11.3/libexec/bin/pod:23:in `load'
               /usr/local/Cellar/cocoapods/1.11.3/libexec/bin/pod:23:in `<main>'
           
[  +13 ms] Error running pod install
[   +2 ms] Error launching application on iPhone SE (3rd generation).
[   +5 ms] "flutter run" took 12,805ms.
[   +9 ms] 
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:699:9)
           <asynchronous suspension>
           #2      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1183:27)
           <asynchronous suspension>
           #3      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #4      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
           <asynchronous suspension>
           #5      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
           <asynchronous suspension>
           #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
           <asynchronous suspension>
           #8      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
           <asynchronous suspension>
           #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #10     main (package:flutter_tools/executable.dart:94:3)
           <asynchronous suspension>
           
           
[  +60 ms] ensureAnalyticsSent: 58ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 1

Steps to reproduce

Steps to reproduce the behavior:

  1. create a new flutter project flutter create myapp
  2. flutter run will run fine, app is installed properly
  3. flutter pub add firebase_core then flutter run will return error. App cannot be installed.

Expected behavior

The app should be compiled and installed to iOS emulator in MacOS

Sample project

Just a minimum flutter create myapp will do


Additional context

Add any other context about the problem here.


Flutter doctor

Run flutter doctor and paste the output below:

Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[βœ“] Flutter (Channel stable, 3.0.2, on macOS 12.4 21F79 darwin-x64, locale en)
[βœ“] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[βœ“] Xcode - develop for iOS and macOS (Xcode 13.4.1)
[βœ“] Chrome - develop for the web
[βœ“] Android Studio (version 2021.2)
[βœ“] VS Code (version 1.68.0)
[βœ“] Connected device (2 available)
[βœ“] HTTP Host Availability

Flutter dependencies

Run flutter pub deps -- --style=compact and paste the output below:

Click To Expand
Dart SDK 2.17.3
Flutter SDK 3.0.2
huehue 1.0.0+1

dependencies:
- cupertino_icons 1.0.5
- firebase_core 1.18.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- fluro 2.0.3 [flutter]
- flutter 0.0.0 [characters collection material_color_utilities meta vector_math sky_engine]

dev dependencies:
- flutter_lints 2.0.1 [lints]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher material_color_utilities meta source_span stream_channel string_scanner term_glyph]

transitive dependencies:
- async 2.8.2 [collection meta]
- boolean_selector 2.1.0 [source_span string_scanner]
- characters 1.2.0
- charcode 1.3.1
- clock 1.1.0
- collection 1.16.0
- fake_async 1.3.0 [clock collection]
- firebase_core_platform_interface 4.4.1 [collection flutter meta plugin_platform_interface]
- firebase_core_web 1.6.5 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta vector_math]
- js 0.6.4
- lints 2.0.0
- matcher 0.12.11 [stack_trace]
- material_color_utilities 0.1.4
- meta 1.7.0
- path 1.8.1
- plugin_platform_interface 2.1.2 [meta]
- sky_engine 0.0.99
- source_span 1.8.2 [collection path term_glyph]
- stack_trace 1.10.0 [path]
- stream_channel 2.1.0 [async]
- string_scanner 1.1.0 [charcode source_span]
- term_glyph 1.2.0
- test_api 0.4.9 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- vector_math 2.1.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    resolution: invalidThis doesn't seem right and might not belong here.type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions