Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal error: 'Flutter\Flutter.h' file not found #import <Flutter\Flutter.h> - IOS #70895

Closed
Tmarks2a opened this issue Nov 19, 2020 · 61 comments · Fixed by #72306
Closed

fatal error: 'Flutter\Flutter.h' file not found #import <Flutter\Flutter.h> - IOS #70895

Tmarks2a opened this issue Nov 19, 2020 · 61 comments · Fixed by #72306
Labels
c: crash Stack traces logged to the console c: regression It was better in the past than it is now found in release: 1.22 Found to occur in 1.22 found in release: 1.24 Found to occur in 1.24 has reproducible steps The issue has been confirmed reproducible and is ready to work on platform-ios iOS applications specifically tool Affects the "flutter" command-line tool. See also t: labels.

Comments

@Tmarks2a
Copy link

Tmarks2a commented Nov 19, 2020

Steps to Reproduce

Not sure what Steps. App has been running Fine until today.
was trying to solve an issue with Hot-restart, pressed stop app, then went to restart, and now the app wont load with this failure.

  1. Run flutter create bug.
  2. Update the files as follows: ...
  3. ...
logs
fatal error: 'Flutter\Flutter.h' file not found
    #import <Flutter\Flutter.h>
Launching lib/main.dart on iPhone 12 Pro Max in debug mode...
lib/main.dart:1
Xcode build done.                                            9.0s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **
Xcode's output:

    In file included from /Users/Tanner/FlutterDev/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.12+4/ios/Classes/FLTSharedPreferencesPlugin.m:5:
    /Users/Tanner/FlutterDev/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.12+4/ios/Classes/FLTSharedPreferencesPlugin.h:5:9: fatal error: 'Flutter\Flutter.h' file not found
    #import <Flutter\Flutter.h>
            ^~~~~~~~~~~~~~~~~~~
    1 error generated.
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description
Could not build the application for the simulator.
Error launching application on iPhone 12 Pro Max.


-I/Users/Tanner/FlutterDev/MTF_Project/MTF/build/ios/Debug-iphonesimulator/permission_handler/inc
                   lude

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/DerivedSources-norma
                   l/x86_64

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/DerivedSources/x86_6
                   4

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/DerivedSources

-F/Users/Tanner/FlutterDev/MTF_Project/MTF/build/ios/Debug-iphonesimulator/permission_handler
                   -include /Users/Tanner/FlutterDev/MTF_Project/MTF/ios/Pods/Target\ Support\
                   Files/permission_handler/permission_handler-prefix.pch -MMD -MT dependencies -MF

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/Objects-normal/x86_64/
                   SpeechPermissionStrategy.d --serialize-diagnostics

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/Objects-normal/x86_64/
                   SpeechPermissionStrategy.dia -c

/Users/Tanner/FlutterDev/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-4.4.
                   0+hotfix.4/ios/Classes/strategies/SpeechPermissionStrategy.m -o

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/Objects-normal/x86_64/
                   SpeechPermissionStrategy.o
           
               CompileC

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Intermedi

ates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/Objects-normal/x86_64/PhotoPer
               missionStrategy.o

/Users/Tanner/FlutterDev/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-4.4.0+ho
               tfix.4/ios/Classes/strategies/PhotoPermissionStrategy.m normal x86_64 objective-c
               com.apple.compilers.llvm.clang.1_0.compiler (in target 'permission_handler' from project
'Pods')
                   cd /Users/Tanner/FlutterDev/MTF_Project/MTF/ios/Pods
                   export LANG\=en_US.US-ASCII

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x
                   objective-c -target x86_64-apple-ios12.0-simulator -fmessage-length\=0
                   -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=gnu11
-fobjc-arc
                   -fobjc-weak -fmodules -gmodules

-fmodules-cache-path\=/Users/Tanner/Library/Developer/Xcode/DerivedData/ModuleCache.noindex
                   -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600

-fbuild-session-file\=/Users/Tanner/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Sessi
                   on.modulevalidation -fmodules-validate-once-per-build-session
                   -Wnon-modular-include-in-framework-module
-Werror\=non-modular-include-in-framework-module
                   -fmodule-name\=permission_handler -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
                   -Wno-objc-interface-ivars -Werror\=objc-root-class -Wno-arc-repeated-use-of-weak
                   -Wimplicit-retain-self -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 -Wdeprecated-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/iPho
                   neSimulator14.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol
-Wdeprecated-declarations -g
                   -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing
                   -Wstrict-prototypes -Wno-semicolon-before-method-body -Wunguarded-availability
                   -fobjc-abi-version\=2 -fobjc-legacy-dispatch -iquote

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/permission_handler-gen
                   erated-files.hmap

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/permission_handler-o
                   wn-target-headers.hmap

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/permission_handler-a
                   ll-non-framework-target-headers.hmap -ivfsoverlay

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/all-product-headers.ya
                   ml -iquote

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/permission_handler-pro
                   ject-headers.hmap

-I/Users/Tanner/FlutterDev/MTF_Project/MTF/build/ios/Debug-iphonesimulator/permission_handler/inc
                   lude

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/DerivedSources-norma
                   l/x86_64

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/DerivedSources/x86_6
                   4

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/DerivedSources

-F/Users/Tanner/FlutterDev/MTF_Project/MTF/build/ios/Debug-iphonesimulator/permission_handler
                   -include /Users/Tanner/FlutterDev/MTF_Project/MTF/ios/Pods/Target\ Support\
                   Files/permission_handler/permission_handler-prefix.pch -MMD -MT dependencies -MF

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/Objects-normal/x86_64/
                   PhotoPermissionStrategy.d --serialize-diagnostics

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/Objects-normal/x86_64/
                   PhotoPermissionStrategy.dia -c

/Users/Tanner/FlutterDev/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-4.4.
                   0+hotfix.4/ios/Classes/strategies/PhotoPermissionStrategy.m -o

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/Objects-normal/x86_64/
                   PhotoPermissionStrategy.o
           
               CompileC

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Intermedi

ates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/Objects-normal/x86_64/Permissi
               onManager.o

/Users/Tanner/FlutterDev/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-4.4.0+ho
               tfix.4/ios/Classes/PermissionManager.m normal x86_64 objective-c
               com.apple.compilers.llvm.clang.1_0.compiler (in target 'permission_handler' from project
'Pods')
                   cd /Users/Tanner/FlutterDev/MTF_Project/MTF/ios/Pods
                   export LANG\=en_US.US-ASCII

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x
                   objective-c -target x86_64-apple-ios12.0-simulator -fmessage-length\=0
                   -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=gnu11
-fobjc-arc
                   -fobjc-weak -fmodules -gmodules

-fmodules-cache-path\=/Users/Tanner/Library/Developer/Xcode/DerivedData/ModuleCache.noindex
                   -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600

-fbuild-session-file\=/Users/Tanner/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Sessi
                   on.modulevalidation -fmodules-validate-once-per-build-session
                   -Wnon-modular-include-in-framework-module
-Werror\=non-modular-include-in-framework-module
                   -fmodule-name\=permission_handler -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
                   -Wno-objc-interface-ivars -Werror\=objc-root-class -Wno-arc-repeated-use-of-weak
                   -Wimplicit-retain-self -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 -Wdeprecated-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/iPho
                   neSimulator14.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol
-Wdeprecated-declarations -g
                   -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing
                   -Wstrict-prototypes -Wno-semicolon-before-method-body -Wunguarded-availability
                   -fobjc-abi-version\=2 -fobjc-legacy-dispatch -iquote

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/permission_handler-gen
                   erated-files.hmap

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/permission_handler-o
                   wn-target-headers.hmap

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/permission_handler-a
                   ll-non-framework-target-headers.hmap -ivfsoverlay

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/all-product-headers.ya
                   ml -iquote

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/permission_handler-pro
                   ject-headers.hmap

-I/Users/Tanner/FlutterDev/MTF_Project/MTF/build/ios/Debug-iphonesimulator/permission_handler/inc
                   lude

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/DerivedSources-norma
                   l/x86_64

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/DerivedSources/x86_6
                   4

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/DerivedSources

-F/Users/Tanner/FlutterDev/MTF_Project/MTF/build/ios/Debug-iphonesimulator/permission_handler
                   -include /Users/Tanner/FlutterDev/MTF_Project/MTF/ios/Pods/Target\ Support\
                   Files/permission_handler/permission_handler-prefix.pch -MMD -MT dependencies -MF

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/Objects-normal/x86_64/
                   PermissionManager.d --serialize-diagnostics

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/Objects-normal/x86_64/
                   PermissionManager.dia -c

/Users/Tanner/FlutterDev/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-4.4.
                   0+hotfix.4/ios/Classes/PermissionManager.m -o

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/Objects-normal/x86_64/
                   PermissionManager.o
               In file included from

/Users/Tanner/FlutterDev/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-4.4.0+ho
               tfix.4/ios/Classes/PermissionManager.m:6:

/Users/Tanner/FlutterDev/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-4.4.0+ho
               tfix.4/ios/Classes/PermissionManager.h:8:9: fatal error: 'Flutter/Flutter.h' file not
found
               #import <Flutter/Flutter.h>
                       ^~~~~~~~~~~~~~~~~~~
           
               CompileC

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Intermedi

ates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/Objects-normal/x86_64/Permissi
               onHandlerPlugin.o

/Users/Tanner/FlutterDev/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-4.4.0+ho
               tfix.4/ios/Classes/PermissionHandlerPlugin.m normal x86_64 objective-c
               com.apple.compilers.llvm.clang.1_0.compiler (in target 'permission_handler' from project
'Pods')
                   cd /Users/Tanner/FlutterDev/MTF_Project/MTF/ios/Pods
                   export LANG\=en_US.US-ASCII

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x
                   objective-c -target x86_64-apple-ios12.0-simulator -fmessage-length\=0
                   -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=gnu11
-fobjc-arc
                   -fobjc-weak -fmodules -gmodules

-fmodules-cache-path\=/Users/Tanner/Library/Developer/Xcode/DerivedData/ModuleCache.noindex
                   -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600

-fbuild-session-file\=/Users/Tanner/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Sessi
                   on.modulevalidation -fmodules-validate-once-per-build-session
                   -Wnon-modular-include-in-framework-module
-Werror\=non-modular-include-in-framework-module
                   -fmodule-name\=permission_handler -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
                   -Wno-objc-interface-ivars -Werror\=objc-root-class -Wno-arc-repeated-use-of-weak
                   -Wimplicit-retain-self -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 -Wdeprecated-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/iPho
                   neSimulator14.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol
-Wdeprecated-declarations -g
                   -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing
                   -Wstrict-prototypes -Wno-semicolon-before-method-body -Wunguarded-availability
                   -fobjc-abi-version\=2 -fobjc-legacy-dispatch -iquote

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/permission_handler-gen
                   erated-files.hmap

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/permission_handler-o
                   wn-target-headers.hmap

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/permission_handler-a
                   ll-non-framework-target-headers.hmap -ivfsoverlay

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/all-product-headers.ya
                   ml -iquote

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/permission_handler-pro
                   ject-headers.hmap

-I/Users/Tanner/FlutterDev/MTF_Project/MTF/build/ios/Debug-iphonesimulator/permission_handler/inc
                   lude

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/DerivedSources-norma
                   l/x86_64

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/DerivedSources/x86_6
                   4

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/DerivedSources

-F/Users/Tanner/FlutterDev/MTF_Project/MTF/build/ios/Debug-iphonesimulator/permission_handler
                   -include /Users/Tanner/FlutterDev/MTF_Project/MTF/ios/Pods/Target\ Support\
                   Files/permission_handler/permission_handler-prefix.pch -MMD -MT dependencies -MF

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/Objects-normal/x86_64/
                   PermissionHandlerPlugin.d --serialize-diagnostics

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/Objects-normal/x86_64/
                   PermissionHandlerPlugin.dia -c

/Users/Tanner/FlutterDev/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-4.4.
                   0+hotfix.4/ios/Classes/PermissionHandlerPlugin.m -o

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/Objects-normal/x86_64/
                   PermissionHandlerPlugin.o
               In file included from

/Users/Tanner/FlutterDev/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-4.4.0+ho
               tfix.4/ios/Classes/PermissionHandlerPlugin.m:1:

/Users/Tanner/FlutterDev/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-4.4.0+ho
               tfix.4/ios/Classes/PermissionHandlerPlugin.h:1:9: fatal error: 'Flutter/Flutter.h' file
not found
               #import <Flutter/Flutter.h>
                       ^~~~~~~~~~~~~~~~~~~
           
               CompileC

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Intermedi

ates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/Objects-normal/x86_64/MediaLib
               raryPermissionStrategy.o

/Users/Tanner/FlutterDev/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-4.4.0+ho
               tfix.4/ios/Classes/strategies/MediaLibraryPermissionStrategy.m normal x86_64 objective-c
               com.apple.compilers.llvm.clang.1_0.compiler (in target 'permission_handler' from project
'Pods')
                   cd /Users/Tanner/FlutterDev/MTF_Project/MTF/ios/Pods
                   export LANG\=en_US.US-ASCII

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x
                   objective-c -target x86_64-apple-ios12.0-simulator -fmessage-length\=0
                   -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=gnu11
-fobjc-arc
                   -fobjc-weak -fmodules -gmodules

-fmodules-cache-path\=/Users/Tanner/Library/Developer/Xcode/DerivedData/ModuleCache.noindex
                   -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600

-fbuild-session-file\=/Users/Tanner/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Sessi
                   on.modulevalidation -fmodules-validate-once-per-build-session
                   -Wnon-modular-include-in-framework-module
-Werror\=non-modular-include-in-framework-module
                   -fmodule-name\=permission_handler -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
                   -Wno-objc-interface-ivars -Werror\=objc-root-class -Wno-arc-repeated-use-of-weak
                   -Wimplicit-retain-self -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 -Wdeprecated-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/iPho
                   neSimulator14.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol
-Wdeprecated-declarations -g
                   -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing
                   -Wstrict-prototypes -Wno-semicolon-before-method-body -Wunguarded-availability
                   -fobjc-abi-version\=2 -fobjc-legacy-dispatch -iquote

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/permission_handler-gen
                   erated-files.hmap

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/permission_handler-o
                   wn-target-headers.hmap

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/permission_handler-a
                   ll-non-framework-target-headers.hmap -ivfsoverlay

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/all-product-headers.ya
                   ml -iquote

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/permission_handler-pro
                   ject-headers.hmap

-I/Users/Tanner/FlutterDev/MTF_Project/MTF/build/ios/Debug-iphonesimulator/permission_handler/inc
                   lude

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/DerivedSources-norma
                   l/x86_64

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/DerivedSources/x86_6
                   4

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/DerivedSources

-F/Users/Tanner/FlutterDev/MTF_Project/MTF/build/ios/Debug-iphonesimulator/permission_handler
                   -include /Users/Tanner/FlutterDev/MTF_Project/MTF/ios/Pods/Target\ Support\
                   Files/permission_handler/permission_handler-prefix.pch -MMD -MT dependencies -MF

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/Objects-normal/x86_64/
                   MediaLibraryPermissionStrategy.d --serialize-diagnostics

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/Objects-normal/x86_64/
                   MediaLibraryPermissionStrategy.dia -c

/Users/Tanner/FlutterDev/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-4.4.
                   0+hotfix.4/ios/Classes/strategies/MediaLibraryPermissionStrategy.m -o

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/Objects-normal/x86_64/
                   MediaLibraryPermissionStrategy.o
           
               CompileC

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Intermedi

ates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/Objects-normal/x86_64/Location
               PermissionStrategy.o

/Users/Tanner/FlutterDev/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-4.4.0+ho
               tfix.4/ios/Classes/strategies/LocationPermissionStrategy.m normal x86_64 objective-c
               com.apple.compilers.llvm.clang.1_0.compiler (in target 'permission_handler' from project
'Pods')
                   cd /Users/Tanner/FlutterDev/MTF_Project/MTF/ios/Pods
                   export LANG\=en_US.US-ASCII

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x
                   objective-c -target x86_64-apple-ios12.0-simulator -fmessage-length\=0
                   -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=gnu11
-fobjc-arc
                   -fobjc-weak -fmodules -gmodules

-fmodules-cache-path\=/Users/Tanner/Library/Developer/Xcode/DerivedData/ModuleCache.noindex
                   -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600

-fbuild-session-file\=/Users/Tanner/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Sessi
                   on.modulevalidation -fmodules-validate-once-per-build-session
                   -Wnon-modular-include-in-framework-module
-Werror\=non-modular-include-in-framework-module
                   -fmodule-name\=permission_handler -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
                   -Wno-objc-interface-ivars -Werror\=objc-root-class -Wno-arc-repeated-use-of-weak
                   -Wimplicit-retain-self -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 -Wdeprecated-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/iPho
                   neSimulator14.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol
-Wdeprecated-declarations -g
                   -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing
                   -Wstrict-prototypes -Wno-semicolon-before-method-body -Wunguarded-availability
                   -fobjc-abi-version\=2 -fobjc-legacy-dispatch -iquote

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/permission_handler-gen
                   erated-files.hmap

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/permission_handler-o
                   wn-target-headers.hmap

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/permission_handler-a
                   ll-non-framework-target-headers.hmap -ivfsoverlay

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/all-product-headers.ya
                   ml -iquote

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/permission_handler-pro
                   ject-headers.hmap

-I/Users/Tanner/FlutterDev/MTF_Project/MTF/build/ios/Debug-iphonesimulator/permission_handler/inc
                   lude

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/DerivedSources-norma
                   l/x86_64

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/DerivedSources/x86_6
                   4

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/DerivedSources

-F/Users/Tanner/FlutterDev/MTF_Project/MTF/build/ios/Debug-iphonesimulator/permission_handler
                   -include /Users/Tanner/FlutterDev/MTF_Project/MTF/ios/Pods/Target\ Support\
                   Files/permission_handler/permission_handler-prefix.pch -MMD -MT dependencies -MF

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/Objects-normal/x86_64/
                   LocationPermissionStrategy.d --serialize-diagnostics

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/Objects-normal/x86_64/
                   LocationPermissionStrategy.dia -c

/Users/Tanner/FlutterDev/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-4.4.
                   0+hotfix.4/ios/Classes/strategies/LocationPermissionStrategy.m -o

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/Objects-normal/x86_64/
                   LocationPermissionStrategy.o
           
               CompileC

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Intermedi

ates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/Objects-normal/x86_64/EventPer
               missionStrategy.o

/Users/Tanner/FlutterDev/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-4.4.0+ho
               tfix.4/ios/Classes/strategies/EventPermissionStrategy.m normal x86_64 objective-c
               com.apple.compilers.llvm.clang.1_0.compiler (in target 'permission_handler' from project
'Pods')
                   cd /Users/Tanner/FlutterDev/MTF_Project/MTF/ios/Pods
                   export LANG\=en_US.US-ASCII

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x
                   objective-c -target x86_64-apple-ios12.0-simulator -fmessage-length\=0
                   -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=gnu11
-fobjc-arc
                   -fobjc-weak -fmodules -gmodules

-fmodules-cache-path\=/Users/Tanner/Library/Developer/Xcode/DerivedData/ModuleCache.noindex
                   -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600

-fbuild-session-file\=/Users/Tanner/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Sessi
                   on.modulevalidation -fmodules-validate-once-per-build-session
                   -Wnon-modular-include-in-framework-module
-Werror\=non-modular-include-in-framework-module
                   -fmodule-name\=permission_handler -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
                   -Wno-objc-interface-ivars -Werror\=objc-root-class -Wno-arc-repeated-use-of-weak
                   -Wimplicit-retain-self -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 -Wdeprecated-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/iPho
                   neSimulator14.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol
-Wdeprecated-declarations -g
                   -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing
                   -Wstrict-prototypes -Wno-semicolon-before-method-body -Wunguarded-availability
                   -fobjc-abi-version\=2 -fobjc-legacy-dispatch -iquote

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/permission_handler-gen
                   erated-files.hmap

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/permission_handler-o
                   wn-target-headers.hmap

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/permission_handler-a
                   ll-non-framework-target-headers.hmap -ivfsoverlay

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/all-product-headers.ya
                   ml -iquote

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/permission_handler-pro
                   ject-headers.hmap

-I/Users/Tanner/FlutterDev/MTF_Project/MTF/build/ios/Debug-iphonesimulator/permission_handler/inc
                   lude

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/DerivedSources-norma
                   l/x86_64

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/DerivedSources/x86_6
                   4

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/DerivedSources

-F/Users/Tanner/FlutterDev/MTF_Project/MTF/build/ios/Debug-iphonesimulator/permission_handler
                   -include /Users/Tanner/FlutterDev/MTF_Project/MTF/ios/Pods/Target\ Support\
                   Files/permission_handler/permission_handler-prefix.pch -MMD -MT dependencies -MF

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/Objects-normal/x86_64/
                   EventPermissionStrategy.d --serialize-diagnostics

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/Objects-normal/x86_64/
                   EventPermissionStrategy.dia -c

/Users/Tanner/FlutterDev/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-4.4.
                   0+hotfix.4/ios/Classes/strategies/EventPermissionStrategy.m -o

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/Objects-normal/x86_64/
                   EventPermissionStrategy.o
           
               CompileC

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Intermedi

ates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/Objects-normal/x86_64/ContactP
               ermissionStrategy.o

/Users/Tanner/FlutterDev/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-4.4.0+ho
               tfix.4/ios/Classes/strategies/ContactPermissionStrategy.m normal x86_64 objective-c
               com.apple.compilers.llvm.clang.1_0.compiler (in target 'permission_handler' from project
'Pods')
                   cd /Users/Tanner/FlutterDev/MTF_Project/MTF/ios/Pods
                   export LANG\=en_US.US-ASCII

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x
                   objective-c -target x86_64-apple-ios12.0-simulator -fmessage-length\=0
                   -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=gnu11
-fobjc-arc
                   -fobjc-weak -fmodules -gmodules

-fmodules-cache-path\=/Users/Tanner/Library/Developer/Xcode/DerivedData/ModuleCache.noindex
                   -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600

-fbuild-session-file\=/Users/Tanner/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Sessi
                   on.modulevalidation -fmodules-validate-once-per-build-session
                   -Wnon-modular-include-in-framework-module
-Werror\=non-modular-include-in-framework-module
                   -fmodule-name\=permission_handler -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
                   -Wno-objc-interface-ivars -Werror\=objc-root-class -Wno-arc-repeated-use-of-weak
                   -Wimplicit-retain-self -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 -Wdeprecated-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/iPho
                   neSimulator14.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol
-Wdeprecated-declarations -g
                   -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing
                   -Wstrict-prototypes -Wno-semicolon-before-method-body -Wunguarded-availability
                   -fobjc-abi-version\=2 -fobjc-legacy-dispatch -iquote

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/permission_handler-gen
                   erated-files.hmap

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/permission_handler-o
                   wn-target-headers.hmap

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/permission_handler-a
                   ll-non-framework-target-headers.hmap -ivfsoverlay

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/all-product-headers.ya
                   ml -iquote

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/permission_handler-pro
                   ject-headers.hmap

-I/Users/Tanner/FlutterDev/MTF_Project/MTF/build/ios/Debug-iphonesimulator/permission_handler/inc
                   lude

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/DerivedSources-norma
                   l/x86_64

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/DerivedSources/x86_6
                   4

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/DerivedSources

-F/Users/Tanner/FlutterDev/MTF_Project/MTF/build/ios/Debug-iphonesimulator/permission_handler
                   -include /Users/Tanner/FlutterDev/MTF_Project/MTF/ios/Pods/Target\ Support\
                   Files/permission_handler/permission_handler-prefix.pch -MMD -MT dependencies -MF

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/Objects-normal/x86_64/
                   ContactPermissionStrategy.d --serialize-diagnostics

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/Objects-normal/x86_64/
                   ContactPermissionStrategy.dia -c

/Users/Tanner/FlutterDev/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-4.4.
                   0+hotfix.4/ios/Classes/strategies/ContactPermissionStrategy.m -o

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/Objects-normal/x86_64/
                   ContactPermissionStrategy.o
           
               CompileC

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Intermedi

ates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/Objects-normal/x86_64/Codec.o

/Users/Tanner/FlutterDev/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-4.4.0+ho
               tfix.4/ios/Classes/util/Codec.m normal x86_64 objective-c
com.apple.compilers.llvm.clang.1_0.compiler
               (in target 'permission_handler' from project 'Pods')
                   cd /Users/Tanner/FlutterDev/MTF_Project/MTF/ios/Pods
                   export LANG\=en_US.US-ASCII

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x
                   objective-c -target x86_64-apple-ios12.0-simulator -fmessage-length\=0
                   -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=gnu11
-fobjc-arc
                   -fobjc-weak -fmodules -gmodules

-fmodules-cache-path\=/Users/Tanner/Library/Developer/Xcode/DerivedData/ModuleCache.noindex
                   -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600

-fbuild-session-file\=/Users/Tanner/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Sessi
                   on.modulevalidation -fmodules-validate-once-per-build-session
                   -Wnon-modular-include-in-framework-module
-Werror\=non-modular-include-in-framework-module
                   -fmodule-name\=permission_handler -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
                   -Wno-objc-interface-ivars -Werror\=objc-root-class -Wno-arc-repeated-use-of-weak
                   -Wimplicit-retain-self -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 -Wdeprecated-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/iPho
                   neSimulator14.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol
-Wdeprecated-declarations -g
                   -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing
                   -Wstrict-prototypes -Wno-semicolon-before-method-body -Wunguarded-availability
                   -fobjc-abi-version\=2 -fobjc-legacy-dispatch -iquote

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/permission_handler-gen
                   erated-files.hmap

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/permission_handler-o
                   wn-target-headers.hmap

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/permission_handler-a
                   ll-non-framework-target-headers.hmap -ivfsoverlay

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/all-product-headers.ya
                   ml -iquote

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/permission_handler-pro
                   ject-headers.hmap

-I/Users/Tanner/FlutterDev/MTF_Project/MTF/build/ios/Debug-iphonesimulator/permission_handler/inc
                   lude

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/DerivedSources-norma
                   l/x86_64

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/DerivedSources/x86_6
                   4

-I/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Int

ermediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/DerivedSources

-F/Users/Tanner/FlutterDev/MTF_Project/MTF/build/ios/Debug-iphonesimulator/permission_handler
                   -include /Users/Tanner/FlutterDev/MTF_Project/MTF/ios/Pods/Target\ Support\
                   Files/permission_handler/permission_handler-prefix.pch -MMD -MT dependencies -MF

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/Objects-normal/x86_64/
                   Codec.d --serialize-diagnostics

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/Objects-normal/x86_64/
                   Codec.dia -c

/Users/Tanner/FlutterDev/Tools/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler-4.4.
                   0+hotfix.4/ios/Classes/util/Codec.m -o

/Users/Tanner/Library/Developer/Xcode/DerivedData/Runner-dyntvzdcwcxlqraqwwrpxgzsubtl/Build/Inter

mediates.noindex/Pods.build/Debug-iphonesimulator/permission_handler.build/Objects-normal/x86_64/
                   Codec.o
           
           
[ +296 ms] Could not build the application for the simulator.
[   +3 ms] Error launching application on iPhone 12 Pro Max.
[   +5 ms] "flutter run" took 41,804ms.
[   +7 ms] 
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:14:3)
           #1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:607:7)
           <asynchronous suspension>
           #2      FlutterCommand.verifyThenRunCommand
           (package:flutter_tools/src/runner/flutter_command.dart:977:18)
           #3      _rootRunUnary (dart:async/zone.dart:1198:47)
           #4      _CustomZone.runUnary (dart:async/zone.dart:1100:19)
           #5      _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
           #6      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
           #7      Future._propagateToListeners (dart:async/future_impl.dart:725:32)
           #8      Future._completeWithValue (dart:async/future_impl.dart:529:5)
           #9      _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15)
           #10     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13)
           #11     RunCommand.usageValues (package:flutter_tools/src/commands/run.dart)
           #12     _rootRunUnary (dart:async/zone.dart:1198:47)
           #13     _CustomZone.runUnary (dart:async/zone.dart:1100:19)
           #14     _FutureListener.handleValue (dart:async/future_impl.dart:143:18)
           #15     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45)
           #16     Future._propagateToListeners (dart:async/future_impl.dart:725:32)
           #17     Future._completeWithValue (dart:async/future_impl.dart:529:5)
           #18     Future._asyncCompleteWithValue.<anonymous closure> (dart:async/future_impl.dart:567:7)
           #19     _rootRun (dart:async/zone.dart:1190:13)
           #20     _CustomZone.run (dart:async/zone.dart:1093:19)
           #21     _CustomZone.runGuarded (dart:async/zone.dart:997:7)
           #22     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1037:23)
           #23     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
           #24     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
           #25     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
           #26     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)
           
           
[ +261 ms] ensureAnalyticsSent: 244ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hook priority 4
[   +1 ms] Shutdown hooks complete
[        ] exiting with code 1
Darrell:MTF Tanner$ ```
Darrell:MTF Tanner$ flutter analyze
Analyzing MTF...                                                        
No issues found! (ran in 3.8s)
Darrell:MTF Tanner$ flutter analyze
Analyzing MTF...                                                        
No issues found! (ran in 3.8s)
Darrell:MTF Tanner$ flutter doctor -v
[✓] Flutter (Channel stable, 1.22.4, on macOS 11.0.1 20B29 darwin-x64, locale en-US)
    • Flutter version 1.22.4 at /Users/Tanner/FlutterDev/Tools/flutter
    • Framework revision 1aafb3a8b9 (6 days ago), 2020-11-13 09:59:28 -0800
    • Engine revision 2c956a31c0
    • Dart version 2.10.4

 
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/Tanner/Library/Android/sdk
    • Platform android-29, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.2, Build version 12B45b
    • CocoaPods version 1.10.0

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

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

[✓] Connected device (1 available)
    • iPhone 12 Pro Max (mobile) • D04DE642-1820-494F-AE4C-08FC51C949C5 • ios •
      com.apple.CoreSimulator.SimRuntime.iOS-14-2 (simulator)

• No issues found!
Darrell:MTF Tanner$ 
@TahaTesser
Copy link
Member

TahaTesser commented Nov 20, 2020

Hi @Tmarks2a
Please try this possible solution
If the problem persists, Can you please provide your a complete reproducible minimal code sample
Thank you

@TahaTesser TahaTesser added in triage Presently being triaged by the triage team waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds labels Nov 20, 2020
@kodi
Copy link

kodi commented Nov 20, 2020

Same here, it just started to produce same exact error, for shared_preference packag

@emmett-deen
Copy link

Having this same error log with url_launcher on flutter version 1.22.4 (stable channel)

@mzkai
Copy link

mzkai commented Nov 24, 2020

I tried the solution above suggested by @TahaTesser, incl. re-installing Flutter, however I also still have the same issue with the shared_preference package and the path_provider package. I have the issue both in the stable and beta channel. Current version tried is Flutter 1.24.0-10.2.pre • channel beta.

The error shows is:
In file included from
    /Users/example_path/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.12+4/ios/Classes/FLTSharedPreferencesPlugin.m:5:
    /Users/example_path/.pub-cache/hosted/pub.dartlang.org/shared_preferences-0.5.12+4/ios/Classes/FLTSharedPreferencesPlugin.h:5:9:
    fatal error: 'Flutter/Flutter.h' file not found
    #import <Flutter/Flutter.h>
            ^~~~~~~~~~~~~~~~~~~
    1 error generated.
    In file included from
    /Users/example_path/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.24/ios/Classes/FLTPathProviderPlugin.m:5:
    /Users/example_path/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.24/ios/Classes/FLTPathProviderPlugin.h:5:9: fatal error:
    'Flutter/Flutter.h' file not found
    #import <Flutter/Flutter.h>
            ^~~~~~~~~~~~~~~~~~~
    1 error generated.

@TahaTesser
Copy link
Member

Hi everyone, sorry for the delay, I was on vacation
I can finally reproduce this issue, using video_player as well

Running "flutter pub get" in video_player_example...
Launching lib/main.dart on iPhone 12 in debug mode...
 lib/main.dart
Xcode build done.                                            4.6s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **
Xcode's output:

    /Users/tahatesser/.pub-cache/hosted/pub.dartlang.org/video_player-1.0.1/ios/Classes/messages.m:4:9: fatal error: 'Flutter/Flutter.h' file not found
    #import <Flutter/Flutter.h>
            ^~~~~~~~~~~~~~~~~~~
    1 error generated.
    1 error generated.
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description
Could not build the application for the simulator.
Error launching application on iPhone 12.
Exited (sigterm)
flutter doctor -v
[✓] Flutter (Channel dev, 1.24.0-10.2.pre, on macOS 11.0.1 20B29 darwin-x64,
    locale en-GB)
    • Flutter version 1.24.0-10.2.pre at /Users/tahatesser/Code/flutter_dev
    • Framework revision 022b333a08 (12 days ago), 2020-11-18 11:35:09 -0800
    • Engine revision 07c1eed46b
    • Dart version 2.12.0 (build 2.12.0-29.10.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.2, Build version 12B45b
    • CocoaPods version 1.10.0

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

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

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

[✓] Connected device (4 available)
    • iPhone 12 (mobile) • BBCEDCF6-A80B-49DC-86EE-C9B542A9AD1B • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-2 (simulator)
    • macOS (desktop)    • macos                                • darwin-x64
      • macOS 11.0.1 20B29 darwin-x64
    • Web Server (web)   • web-server                           • web-javascript
      • Flutter Tools
    • Chrome (web)       • chrome                               • web-javascript
      • Google Chrome 87.0.4280.67

• No issues found!

@TahaTesser TahaTesser added cp: 1.21 completed found in release: 1.22 Found to occur in 1.22 found in release: 1.24 Found to occur in 1.24 has reproducible steps The issue has been confirmed reproducible and is ready to work on platform-ios iOS applications specifically c: crash Stack traces logged to the console c: regression It was better in the past than it is now tool Affects the "flutter" command-line tool. See also t: labels. and removed in triage Presently being triaged by the triage team waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds cp: 1.21 completed labels Nov 30, 2020
@jmagman
Copy link
Member

jmagman commented Dec 1, 2020

Hm, I just tried on video_player-v1.0.1 and 1.24.0-10.2.pre and couldn't reproduce.
@TahaTesser does it reproduce on master? I'm hoping #70224 gets rid of this class of problems.

@TahaTesser
Copy link
Member

Hi @jmagman
Only reproducing it on dev and beta, couldn't see it on the master. Thanks, confirmed when trying to reproduce this #71403 (comment)

@jmagman
Copy link
Member

jmagman commented Dec 11, 2020

We've been seeing reports like this for a very long time. #16036 https://github.com/flutter/flutter/issues?q=is%3Aissue+%22Flutter%2FFlutter.h+not+found%22+is%3Aclosed

#70224 is now available in 1.25.0-4.0.pre, which is currently on the dev channel. If anyone sees something similar in the dev or master channel, please let us know.

@jmagman jmagman closed this as completed Dec 11, 2020
@jmagman jmagman reopened this Dec 11, 2020
@pedromassango
Copy link
Member

pedromassango commented Jan 28, 2021

Just hit this, while switching from Master to stable channel.

Running the commands bellow does not solve the issue!

$ rm ios/Flutter/Flutter.podspec
$ flutter clean

logs
Launching lib/main.dart on iPhone 12 Pro Max in debug mode...
Running Xcode build...
Xcode build done.                                            7.2s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **


Xcode's output:

    In file included from /Users/pedromassango/Code/flutter_stable/.pub-cache/hosted/pub.dartlang.org/webview_flutter-1.0.7/ios/Classes/FlutterWebView.m:5:
    /Users/pedromassango/Code/flutter_stable/.pub-cache/hosted/pub.dartlang.org/webview_flutter-1.0.7/ios/Classes/FlutterWebView.h:5:9: fatal error: 'Flutter/Flutter.h' file not found
    #import <Flutter/Flutter.h>
            ^~~~~~~~~~~~~~~~~~~
    1 error generated.
    In file included from /Users/pedromassango/Code/flutter_stable/.pub-cache/hosted/pub.dartlang.org/webview_flutter-1.0.7/ios/Classes/JavaScriptChannelHandler.m:5:
    /Users/pedromassango/Code/flutter_stable/.pub-cache/hosted/pub.dartlang.org/webview_flutter-1.0.7/ios/Classes/JavaScriptChannelHandler.h:5:9: fatal error: 'Flutter/Flutter.h' file not found
    #import <Flutter/Flutter.h>
            ^~~~~~~~~~~~~~~~~~~
    1 error generated.
    In file included from /Users/pedromassango/Code/flutter_stable/.pub-cache/hosted/pub.dartlang.org/webview_flutter-1.0.7/ios/Classes/FLTWKNavigationDelegate.m:5:
    /Users/pedromassango/Code/flutter_stable/.pub-cache/hosted/pub.dartlang.org/webview_flutter-1.0.7/ios/Classes/FLTWKNavigationDelegate.h:5:9: fatal error: 'Flutter/Flutter.h' file not found
    #import <Flutter/Flutter.h>
            ^~~~~~~~~~~~~~~~~~~
    1 error generated.
    In file included from /Users/pedromassango/Code/flutter_stable/.pub-cache/hosted/pub.dartlang.org/webview_flutter-1.0.7/ios/Classes/FLTWebViewFlutterPlugin.m:5:
    /Users/pedromassango/Code/flutter_stable/.pub-cache/hosted/pub.dartlang.org/webview_flutter-1.0.7/ios/Classes/FLTWebViewFlutterPlugin.h:5:9: fatal error: 'Flutter/Flutter.h' file not found
    #import <Flutter/Flutter.h>
            ^~~~~~~~~~~~~~~~~~~
    1 error generated.
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.1.99. (in target 'webview_flutter' from project 'Pods')
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.1.99. (in target 'Flutter' from project 'Pods')

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

@cubeddu
Copy link

cubeddu commented Jan 28, 2021

Just Hit this, while switching from Master to stable channel.

Running the commands bellow does not solve the issue!

$ rm ios/Flutter/Flutter.podspec
$ flutter clean

logs

@pedromassango just got this same issue... what works for me right now was these steps hopefully works for you as well.

I was on master so:

$ flutter channel stable
$ flutter upgrade       
$ flutter clean

kill the IOS simulator then open a new one flutter run

@alirezava
Copy link

I think I see what's going on, and I believe this is caused by switching from master/dev back to beta/stable.

#70224 (on master/dev) purposely writes a bogus file to ios/Flutter/Flutter.podspec because the CocoaPods linking logic was moved into the flutter tool. However, when you switch back to beta/stable, that bogus podspec is still present, but the flutter tool linking logic has been reverted.

Can someone confirm this clears it up:

$ rm ios/Flutter/Flutter.podspec
$ flutter clean

Unfortunately this doesn't work for me.

It only happens in beta, not stable.

Not sure if it's a factor, but I'm using M1 chip.

@Sadmansamee
Copy link

Sadmansamee commented Feb 13, 2021

I do this, this is ultimate solution

1. pod deintegrate
2. rm ios/Flutter/Flutter.podspec
3. flutter clean
4. flutter pub get
5. pod install
6. Clean derive data
7. flutter run

@alirezava
Copy link

I do this, this is ultimate solution

1. pod deintegrate
2. rm ios/Flutter/Flutter.podspec
3. flutter clean
4. flutter pub get
5. pod install
6. flutter run

the ultimate solution didn't work. Sad times.

@jbryanh
Copy link

jbryanh commented Feb 15, 2021

Just ran into this, and thought I'd offer some observations:

  1. For me it occurred on a very simple app I opened after, probably too quickly, closing my production app project.
  2. The error was on shared_preferences which is not a plugin for the very simple app I was trying to load.
  3. I could create a brand new project on stable channel (where all this happened) and it loaded.
  4. I changed channels to dev and loaded simple app then. (restarted entire mac to be safe)
  5. I just changed channels back to stable to run my production app and it loaded.

Oh, and this is the 2nd or 3rd incident for me in last 3-4 mos. Seems to come back.

@alirezava
Copy link

alirezava commented Feb 15, 2021

Just ran into this, and thought I'd offer some observations:

  1. For me it occurred on a very simple app I opened after, probably too quickly, closing my production app project.
  2. The error was on shared_preferences which is not a plugin for the very simple app I was trying to load.
  3. I could create a brand new project on stable channel (where all this happened) and it loaded.
  4. I changed channels to dev and loaded simple app then. (restarted entire mac to be safe)
  5. I just changed channels back to stable to run my production app and it loaded.

Oh, and this is the 2nd or 3rd incident for me in last 3-4 mos. Seems to come back.

You're correct, Stable works well. I don't see this issue with stable. But I need flutter to work with Beta channel as I need to to use flutter build ipa command, which is only in beta at the moment.

@joniaiuser
Copy link

Have you all tried deleting the DerivedData folder from /Users//Library/Developer/Xcode/DerivedData? Usually after flutter clean and doing that, it should work.

@jbryanh
Copy link

jbryanh commented Feb 15, 2021

Just ran into this, and thought I'd offer some observations:

  1. For me it occurred on a very simple app I opened after, probably too quickly, closing my production app project.
  2. The error was on shared_preferences which is not a plugin for the very simple app I was trying to load.
  3. I could create a brand new project on stable channel (where all this happened) and it loaded.
  4. I changed channels to dev and loaded simple app then. (restarted entire mac to be safe)
  5. I just changed channels back to stable to run my production app and it loaded.

Oh, and this is the 2nd or 3rd incident for me in last 3-4 mos. Seems to come back.

You're correct, Stable works well. I don't see this issue with stable. But I need flutter to work with Beta channel as I need to to use flutter build ipa command, which is only in beta at the moment.

I should clarify that I had this come up on Stable channel. But changing channels (and the subsequent update of dev channel) seemed to reset things so that I could go back to stable and have it load.

@jbryanh
Copy link

jbryanh commented Feb 16, 2021

After having resolved the issue yesterday, working on my production project all day, and closing down, I reopened my class project this morning and on running to emulator, I got the error again. I removed the Flutter.podspec, which seemed to be the magic step for me in restoring things. My steps below got things working again:

  1. pod deintegrate
  2. rm ios/Flutter/Flutter.podspec
  3. flutter clean
  4. flutter pub get
  5. pod install (actually errored out and isn't necessary, since flutter run will do it)
  6. flutter run

Something's not clean in switching between projects.

@jmagman
Copy link
Member

jmagman commented Feb 16, 2021

I'm confident of my analysis in #70895 (comment), and 61 +1 agree. This issue was happening when upgrading Flutter to a version that contains #70224 and then downgrading it to a more stable channel. We cherry-picked a workaround to stable in 1.25 where a flutter clean should resolve it.

So if you are seeing this issue on any current channel after a flutter clean you are not hitting the originally reported issue. 'Flutter\Flutter.h' file not found implies there is a linker issue, which can be caused by many many things, and we'd like to take a look at your specific problem. Please file a new GitHub issue and completely fill out the template. Include a complete flutter run or flutter build log with the --verbose flag (please not just the end of the log where Flutter errors, we need to see the linker flags buried in the Xcode logs). Thanks!

@ahamzatariq
Copy link

Changing PodFile from
post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['ENABLE_BITCODE'] = 'NO' config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '10.0' end end end

to

post_install do |installer| installer.pods_project.targets.each do |target| flutter_additional_ios_build_settings(target) end end

solved it for me.

@LiMeitong

This comment has been minimized.

@jmagman
Copy link
Member

jmagman commented Mar 10, 2021

@LiMeitong @ahamzatariq

So if you are seeing this issue on any current channel after a flutter clean you are not hitting the originally reported issue. 'Flutter\Flutter.h' file not found implies there is a linker issue, which can be caused by many many things, and we'd like to take a look at your specific problem. Please file a new GitHub issue and completely fill out the template. Include a complete flutter run or flutter build log with the --verbose flag (please not just the end of the log where Flutter errors, we need to see the linker flags buried in the Xcode logs). Thanks!

@duzenko

This comment has been minimized.

@alirezava
Copy link

stable in 1.25

What is this? The last stable version before 2.0 is 1.22.6
https://flutter.dev/docs/development/tools/sdk/releases

I think he/she is talking about the beta channel but is just stating that it is stable since beta channel is stable (or should be)

@duzenko

This comment has been minimized.

@jmagman
Copy link
Member

jmagman commented Mar 12, 2021

@duzenko it's fixed with a flutter clean on every version after 1.25. You don't need to downgrade.

So, to repeat:

So if you are seeing this issue on any current channel after a flutter clean you are not hitting the originally reported issue. 'Flutter\Flutter.h' file not found implies there is a linker issue, which can be caused by many many things, and we'd like to take a look at your specific problem. Please file a new GitHub issue and completely fill out the template. Include a complete flutter run or flutter build log with the --verbose flag (please not just the end of the log where Flutter errors, we need to see the linker flags buried in the Xcode logs). Thanks!

I'm locking this closed issue as the originally reported problem has been resolved. If you are seeing an error like 'Flutter\Flutter.h' file not found #import <Flutter\Flutter.h> PLEASE file a new issue with the above info, we want to take a look!

@flutter flutter locked as resolved and limited conversation to collaborators Mar 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
c: crash Stack traces logged to the console c: regression It was better in the past than it is now found in release: 1.22 Found to occur in 1.22 found in release: 1.24 Found to occur in 1.24 has reproducible steps The issue has been confirmed reproducible and is ready to work on platform-ios iOS applications specifically tool Affects the "flutter" command-line tool. See also t: labels.
Projects
None yet
Development

Successfully merging a pull request may close this issue.