Skip to content

Can't build a Flutter project with Swift & Firebase #14551

@FrantisekGazo

Description

@FrantisekGazo

Steps to Reproduce

  1. create new project using flutter create -i swift demo
  2. add new dependency firebase_database: 0.3.4
  3. flutter run on iOS simulator

I'm not able to run the flutter app when I want to use Swift and firebase together. It's working fine when I create a flutter project with Objective-C.

Logs

...
 === BUILD TARGET firebase_core OF PROJECT Pods WITH CONFIGURATION Debug ===
    
    Check dependencies
    
    Write auxiliary files
    write-file /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/firebase_core-project-headers.hmap
    write-file /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/firebase_core-generated-files.hmap
    write-file /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/module.modulemap
    write-file /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/firebase_core.hmap
    write-file /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/firebase_core-all-target-headers.hmap
    write-file /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/firebase_core-all-non-framework-target-headers.hmap
    write-file /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/firebase_core-own-target-headers.hmap
    /bin/mkdir -p /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/DerivedSources
    write-file /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/DerivedSources/firebase_core_vers.c
    /bin/mkdir -p /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/Objects-normal/x86_64
    write-file /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/Objects-normal/x86_64/firebase_core.LinkFileList
    
    Create product structure
    /bin/mkdir -p /Users/franky/CODE/Inloop/flutter_temp/build/ios/Debug-iphonesimulator/firebase_core/firebase_core.framework
    /bin/mkdir -p /Users/franky/CODE/Inloop/flutter_temp/build/ios/Debug-iphonesimulator/firebase_core/firebase_core.framework/Headers
    
    ProcessInfoPlistFile /Users/franky/CODE/Inloop/flutter_temp/build/ios/Debug-iphonesimulator/firebase_core/firebase_core.framework/Info.plist Target\ Support\ Files/firebase_core/Info.plist
        cd /Users/franky/CODE/Inloop/flutter_temp/ios/Pods
        export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/franky/flutter/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
        builtin-infoPlistUtility /Users/franky/CODE/Inloop/flutter_temp/ios/Pods/Target\ Support\ Files/firebase_core/Info.plist -expandbuildsettings -format binary -platform iphonesimulator -o /Users/franky/CODE/Inloop/flutter_temp/build/ios/Debug-iphonesimulator/firebase_core/firebase_core.framework/Info.plist
    
    CompileC /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/Objects-normal/x86_64/firebase_core-dummy.o Target\ Support\ Files/firebase_core/firebase_core-dummy.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
        cd /Users/franky/CODE/Inloop/flutter_temp/ios/Pods
        export LANG=en_US.US-ASCII
        export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/franky/flutter/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu11 -fobjc-arc -fmodules -gmodules -fmodules-cache-path=/Users/franky/Library/Developer/Xcode/DerivedData/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/franky/Library/Developer/Xcode/DerivedData/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -fmodule-name=firebase_core -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wdocumentation -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DPOD_CONFIGURATION_DEBUG=1 -DDEBUG=1 -DCOCOAPODS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=8.0 -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wunguarded-availability -fobjc-abi-version=2 -fobjc-legacy-dispatch -index-store-path /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Index/DataStore -iquote /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/firebase_core-generated-files.hmap -I/Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/firebase_core-own-target-headers.hmap -I/Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/firebase_core-all-non-framework-target-headers.hmap -ivfsoverlay /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/all-product-headers.yaml -iquote /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/firebase_core-project-headers.hmap -I/Users/franky/CODE/Inloop/flutter_temp/build/ios/Debug-iphonesimulator/firebase_core/include -I/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/Headers/Private -I/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/Headers/Public -I/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/Headers/Public/Firebase -I/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/Headers/Public/FirebaseAnalytics -I/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/Headers/Public/FirebaseCore -I/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/Headers/Public/FirebaseDatabase -I/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/Headers/Public/FirebaseInstanceID -I/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/Headers/Public/Flutter -I/Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/DerivedSources/x86_64 -I/Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/DerivedSources -F/Users/franky/CODE/Inloop/flutter_temp/build/ios/Debug-iphonesimulator/firebase_core -F/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/../../../../../flutter/bin/cache/artifacts/engine/ios -F/Users/franky/CODE/Inloop/flutter_temp/build/ios/Debug-iphonesimulator/GoogleToolboxForMac -F/Users/franky/CODE/Inloop/flutter_temp/build/ios/Debug-iphonesimulator/leveldb-library -F/Users/franky/CODE/Inloop/flutter_temp/build/ios/Debug-iphonesimulator/nanopb -F/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/FirebaseAnalytics/Frameworks -F/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/FirebaseCore/Frameworks -F/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/FirebaseInstanceID/Frameworks -F/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/FirebaseDatabase/Frameworks -include /Users/franky/CODE/Inloop/flutter_temp/ios/Pods/Target\ Support\ Files/firebase_core/firebase_core-prefix.pch -MMD -MT dependencies -MF /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/Objects-normal/x86_64/firebase_core-dummy.d --serialize-diagnostics /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/Objects-normal/x86_64/firebase_core-dummy.dia -c /Users/franky/CODE/Inloop/flutter_temp/ios/Pods/Target\ Support\ Files/firebase_core/firebase_core-dummy.m -o /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/Objects-normal/x86_64/firebase_core-dummy.o
    
    CompileC /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/Objects-normal/x86_64/FirebaseCorePlugin.o /Users/franky/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.0.5/ios/Classes/FirebaseCorePlugin.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
        cd /Users/franky/CODE/Inloop/flutter_temp/ios/Pods
        export LANG=en_US.US-ASCII
        export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/franky/flutter/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu11 -fobjc-arc -fmodules -gmodules -fmodules-cache-path=/Users/franky/Library/Developer/Xcode/DerivedData/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/franky/Library/Developer/Xcode/DerivedData/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -fmodule-name=firebase_core -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wdocumentation -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DPOD_CONFIGURATION_DEBUG=1 -DDEBUG=1 -DCOCOAPODS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -mios-simulator-version-min=8.0 -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wunguarded-availability -fobjc-abi-version=2 -fobjc-legacy-dispatch -index-store-path /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Index/DataStore -iquote /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/firebase_core-generated-files.hmap -I/Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/firebase_core-own-target-headers.hmap -I/Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/firebase_core-all-non-framework-target-headers.hmap -ivfsoverlay /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/all-product-headers.yaml -iquote /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/firebase_core-project-headers.hmap -I/Users/franky/CODE/Inloop/flutter_temp/build/ios/Debug-iphonesimulator/firebase_core/include -I/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/Headers/Private -I/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/Headers/Public -I/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/Headers/Public/Firebase -I/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/Headers/Public/FirebaseAnalytics -I/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/Headers/Public/FirebaseCore -I/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/Headers/Public/FirebaseDatabase -I/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/Headers/Public/FirebaseInstanceID -I/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/Headers/Public/Flutter -I/Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/DerivedSources/x86_64 -I/Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/DerivedSources -F/Users/franky/CODE/Inloop/flutter_temp/build/ios/Debug-iphonesimulator/firebase_core -F/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/../../../../../flutter/bin/cache/artifacts/engine/ios -F/Users/franky/CODE/Inloop/flutter_temp/build/ios/Debug-iphonesimulator/GoogleToolboxForMac -F/Users/franky/CODE/Inloop/flutter_temp/build/ios/Debug-iphonesimulator/leveldb-library -F/Users/franky/CODE/Inloop/flutter_temp/build/ios/Debug-iphonesimulator/nanopb -F/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/FirebaseAnalytics/Frameworks -F/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/FirebaseCore/Frameworks -F/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/FirebaseInstanceID/Frameworks -F/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/FirebaseDatabase/Frameworks -include /Users/franky/CODE/Inloop/flutter_temp/ios/Pods/Target\ Support\ Files/firebase_core/firebase_core-prefix.pch -MMD -MT dependencies -MF /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/Objects-normal/x86_64/FirebaseCorePlugin.d --serialize-diagnostics /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/Objects-normal/x86_64/FirebaseCorePlugin.dia -c /Users/franky/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.0.5/ios/Classes/FirebaseCorePlugin.m -o /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/Objects-normal/x86_64/FirebaseCorePlugin.o
    
    CompileC /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/Objects-normal/x86_64/firebase_core_vers.o /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/DerivedSources/firebase_core_vers.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
        cd /Users/franky/CODE/Inloop/flutter_temp/ios/Pods
        export LANG=en_US.US-ASCII
        export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/franky/flutter/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu11 -fmodules -gmodules -fmodules-cache-path=/Users/franky/Library/Developer/Xcode/DerivedData/ModuleCache -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/franky/Library/Developer/Xcode/DerivedData/ModuleCache/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -fmodule-name=firebase_core -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wdocumentation -Wunreachable-code -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DPOD_CONFIGURATION_DEBUG=1 -DDEBUG=1 -DCOCOAPODS=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -mios-simulator-version-min=8.0 -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wunguarded-availability -index-store-path /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Index/DataStore -iquote /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/firebase_core-generated-files.hmap -I/Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/firebase_core-own-target-headers.hmap -I/Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/firebase_core-all-non-framework-target-headers.hmap -ivfsoverlay /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/all-product-headers.yaml -iquote /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/firebase_core-project-headers.hmap -I/Users/franky/CODE/Inloop/flutter_temp/build/ios/Debug-iphonesimulator/firebase_core/include -I/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/Headers/Private -I/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/Headers/Public -I/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/Headers/Public/Firebase -I/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/Headers/Public/FirebaseAnalytics -I/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/Headers/Public/FirebaseCore -I/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/Headers/Public/FirebaseDatabase -I/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/Headers/Public/FirebaseInstanceID -I/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/Headers/Public/Flutter -I/Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/DerivedSources/x86_64 -I/Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/DerivedSources -F/Users/franky/CODE/Inloop/flutter_temp/build/ios/Debug-iphonesimulator/firebase_core -F/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/../../../../../flutter/bin/cache/artifacts/engine/ios -F/Users/franky/CODE/Inloop/flutter_temp/build/ios/Debug-iphonesimulator/GoogleToolboxForMac -F/Users/franky/CODE/Inloop/flutter_temp/build/ios/Debug-iphonesimulator/leveldb-library -F/Users/franky/CODE/Inloop/flutter_temp/build/ios/Debug-iphonesimulator/nanopb -F/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/FirebaseAnalytics/Frameworks -F/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/FirebaseCore/Frameworks -F/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/FirebaseInstanceID/Frameworks -F/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/FirebaseDatabase/Frameworks -MMD -MT dependencies -MF /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/Objects-normal/x86_64/firebase_core_vers.d --serialize-diagnostics /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/Objects-normal/x86_64/firebase_core_vers.dia -c /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/DerivedSources/firebase_core_vers.c -o /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/Objects-normal/x86_64/firebase_core_vers.o
    
    Ld /Users/franky/CODE/Inloop/flutter_temp/build/ios/Debug-iphonesimulator/firebase_core/firebase_core.framework/firebase_core normal x86_64
        cd /Users/franky/CODE/Inloop/flutter_temp/ios/Pods
        export IPHONEOS_DEPLOYMENT_TARGET=8.0
        export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/franky/flutter/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk -L/Users/franky/CODE/Inloop/flutter_temp/build/ios/Debug-iphonesimulator/firebase_core -F/Users/franky/CODE/Inloop/flutter_temp/build/ios/Debug-iphonesimulator/firebase_core -F/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/../../../../../flutter/bin/cache/artifacts/engine/ios -F/Users/franky/CODE/Inloop/flutter_temp/build/ios/Debug-iphonesimulator/GoogleToolboxForMac -F/Users/franky/CODE/Inloop/flutter_temp/build/ios/Debug-iphonesimulator/leveldb-library -F/Users/franky/CODE/Inloop/flutter_temp/build/ios/Debug-iphonesimulator/nanopb -F/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/FirebaseAnalytics/Frameworks -F/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/FirebaseCore/Frameworks -F/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/FirebaseInstanceID/Frameworks -F/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/FirebaseDatabase/Frameworks -filelist /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/Objects-normal/x86_64/firebase_core.LinkFileList -install_name @rpath/firebase_core.framework/firebase_core -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -mios-simulator-version-min=8.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/Objects-normal/x86_64/firebase_core_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -framework Flutter -framework Foundation -framework GoogleToolboxForMac -framework nanopb -single_module -compatibility_version 1 -current_version 1 -Xlinker -dependency_info -Xlinker /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/Objects-normal/x86_64/firebase_core_dependency_info.dat -o /Users/franky/CODE/Inloop/flutter_temp/build/ios/Debug-iphonesimulator/firebase_core/firebase_core.framework/firebase_core
        /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.2.sdk -L/Users/franky/CODE/Inloop/flutter_temp/build/ios/Debug-iphonesimulator/firebase_core -F/Users/franky/CODE/Inloop/flutter_temp/build/ios/Debug-iphonesimulator/firebase_core -F/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/../../../../../flutter/bin/cache/artifacts/engine/ios -F/Users/franky/CODE/Inloop/flutter_temp/build/ios/Debug-iphonesimulator/GoogleToolboxForMac -F/Users/franky/CODE/Inloop/flutter_temp/build/ios/Debug-iphonesimulator/leveldb-library -F/Users/franky/CODE/Inloop/flutter_temp/build/ios/Debug-iphonesimulator/nanopb -F/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/FirebaseAnalytics/Frameworks -F/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/FirebaseCore/Frameworks -F/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/FirebaseInstanceID/Frameworks -F/Users/franky/CODE/Inloop/flutter_temp/ios/Pods/FirebaseDatabase/Frameworks -filelist /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/Objects-normal/x86_64/firebase_core.LinkFileList -install_name @rpath/firebase_core.framework/firebase_core -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -mios-simulator-version-min=8.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/Objects-normal/x86_64/firebase_core_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -framework Flutter -framework Foundation -framework GoogleToolboxForMac -framework nanopb -single_module -compatibility_version 1 -current_version 1 -Xlinker -dependency_info -Xlinker /Users/franky/Library/Developer/Xcode/DerivedData/Runner-avdqafnhbujpkhcypjkgdjffwwss/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/firebase_core.build/Objects-normal/x86_64/firebase_core_dependency_info.dat -o /Users/franky/CODE/Inloop/flutter_temp/build/ios/Debug-iphonesimulator/firebase_core/firebase_core.framework/firebase_core
Could not build the application for the simulator.
    Undefined symbols for architecture x86_64:
Error launching application on iPhone X.
      "_OBJC_CLASS_$_FIRApp", referenced from:
          objc-class-ref in FirebaseCorePlugin.o
      "_OBJC_CLASS_$_FIROptions", referenced from:
          objc-class-ref in FirebaseCorePlugin.o
          l_OBJC_$_CATEGORY_FIROptions_$_FLTFirebaseCorePlugin in FirebaseCorePlugin.o
    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

Command flutter analyze returned:

Analyzing /Users/franky/CODE/Inloop/flutter_temp...
No issues found!
Ran in 5.9s

Flutter Doctor

[✓] Flutter (on Mac OS X 10.13.3 17D47, locale en-US, channel dev)
    • Flutter version 0.0.23 at /Users/franky/flutter
    • Framework revision 14309b9311 (35 hours ago), 2018-02-06 13:24:16 -0800
    • Engine revision 9bc2efdf47
    • Tools Dart version 2.0.0-dev.19.0
    • Engine Dart version 2.0.0-edge.ea91bc9888184d5a2fc309c36656fdd325ef503c

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /Users/franky/Library/Android/sdk
    • Android NDK at /Users/franky/Library/Android/sdk/ndk-bundle
    • Platform android-27, build-tools 27.0.3
    • ANDROID_HOME = /Users/franky/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)

[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.2, Build version 9C40b
    • ios-deploy 1.9.2
    • CocoaPods version 1.4.0

[✓] Android Studio (version 3.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)

[!] IntelliJ IDEA Ultimate Edition (version 2017.2.5)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.io/intellij-setup/#installing-the-plugins
[!] IntelliJ IDEA Community Edition (version 2017.3.3)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.io/intellij-setup/#installing-the-plugins

[✓] Connected devices
    • iPhone X • E26C9F43-C2F3-4D84-8C2A-22EBD5965EA5 • ios • iOS 11.2 (simulator)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions