Closed HugoHeneault closed 3 years ago
Here is the output I got from XCode:
Showing All Messages
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.4.99.
WriteAuxiliaryFile /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/background_fetch-all-target-headers.hmap (in target 'background_fetch' from project 'Pods')
cd /Users/hugo/dev/company/project/ios/Pods
write-file /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/background_fetch-all-target-headers.hmap
CpHeader /Users/hugo/dev/company/project/ios/Pods/Target\ Support\ Files/background_fetch/background_fetch-umbrella.h /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Products/Debug-iphonesimulator/background_fetch/background_fetch.framework/Headers/background_fetch-umbrella.h (in target 'background_fetch' from project 'Pods')
cd /Users/hugo/dev/company/project/ios/Pods
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/hugo/dev/company/project/ios/Pods/Target\ Support\ Files/background_fetch/background_fetch-umbrella.h /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Products/Debug-iphonesimulator/background_fetch/background_fetch.framework/Headers
WriteAuxiliaryFile /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/Objects-normal/x86_64/background_fetch.LinkFileList (in target 'background_fetch' from project 'Pods')
cd /Users/hugo/dev/company/project/ios/Pods
write-file /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/Objects-normal/x86_64/background_fetch.LinkFileList
ProcessInfoPlistFile /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Products/Debug-iphonesimulator/background_fetch/background_fetch.framework/Info.plist /Users/hugo/dev/company/project/ios/Pods/Target\ Support\ Files/background_fetch/background_fetch-Info.plist (in target 'background_fetch' from project 'Pods')
cd /Users/hugo/dev/company/project/ios/Pods
builtin-infoPlistUtility /Users/hugo/dev/company/project/ios/Pods/Target\ Support\ Files/background_fetch/background_fetch-Info.plist -producttype com.apple.product-type.framework -expandbuildsettings -format binary -platform iphonesimulator -o /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Products/Debug-iphonesimulator/background_fetch/background_fetch.framework/Info.plist
CompileC /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/Objects-normal/x86_64/background_fetch_vers.o /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/DerivedSources/background_fetch_vers.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler (in target 'background_fetch' from project 'Pods')
cd /Users/hugo/dev/company/project/ios/Pods
export LANG\=en_US.US-ASCII
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-ios8.0-simulator -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=gnu11 -fmodules -gmodules -fmodules-cache-path\=/Users/hugo/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/hugo/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -fmodule-name\=background_fetch -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/iPhoneSimulator14.4.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -Wunguarded-availability -index-store-path /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Index/DataStore -iquote /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/background_fetch-generated-files.hmap -I/Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/background_fetch-own-target-headers.hmap -I/Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/background_fetch-all-non-framework-target-headers.hmap -ivfsoverlay /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/all-product-headers.yaml -iquote /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/background_fetch-project-headers.hmap -I/Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Products/Debug-iphonesimulator/background_fetch/include -I/Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/DerivedSources-normal/x86_64 -I/Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/DerivedSources/x86_64 -I/Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/DerivedSources -F/Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Products/Debug-iphonesimulator/background_fetch -F/Users/hugo/dev/company/project/ios/.symlinks/plugins/background_fetch/ios -F/Users/hugo/dev/company/project/ios/Flutter -MMD -MT dependencies -MF /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/Objects-normal/x86_64/background_fetch_vers.d --serialize-diagnostics /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/Objects-normal/x86_64/background_fetch_vers.dia -c /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/DerivedSources/background_fetch_vers.c -o /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/Objects-normal/x86_64/background_fetch_vers.o
CompileC /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/Objects-normal/x86_64/background_fetch-dummy.o /Users/hugo/dev/company/project/ios/Pods/Target\ Support\ Files/background_fetch/background_fetch-dummy.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'background_fetch' from project 'Pods')
cd /Users/hugo/dev/company/project/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-ios8.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/hugo/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/hugo/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -fmodule-name\=background_fetch -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/iPhoneSimulator14.4.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 -index-store-path /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Index/DataStore -iquote /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/background_fetch-generated-files.hmap -I/Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/background_fetch-own-target-headers.hmap -I/Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/background_fetch-all-non-framework-target-headers.hmap -ivfsoverlay /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/all-product-headers.yaml -iquote /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/background_fetch-project-headers.hmap -I/Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Products/Debug-iphonesimulator/background_fetch/include -I/Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/DerivedSources-normal/x86_64 -I/Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/DerivedSources/x86_64 -I/Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/DerivedSources -F/Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Products/Debug-iphonesimulator/background_fetch -F/Users/hugo/dev/company/project/ios/.symlinks/plugins/background_fetch/ios -F/Users/hugo/dev/company/project/ios/Flutter -include /Users/hugo/dev/company/project/ios/Pods/Target\ Support\ Files/background_fetch/background_fetch-prefix.pch -MMD -MT dependencies -MF /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/Objects-normal/x86_64/background_fetch-dummy.d --serialize-diagnostics /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/Objects-normal/x86_64/background_fetch-dummy.dia -c /Users/hugo/dev/company/project/ios/Pods/Target\ Support\ Files/background_fetch/background_fetch-dummy.m -o /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/Objects-normal/x86_64/background_fetch-dummy.o
CompileC /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/Objects-normal/x86_64/BackgroundFetchPlugin.o /usr/local/Caskroom/flutter/latest/flutter/.pub-cache/hosted/pub.dartlang.org/background_fetch-0.6.0/ios/Classes/BackgroundFetchPlugin.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'background_fetch' from project 'Pods')
cd /Users/hugo/dev/company/project/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-ios8.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/hugo/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/hugo/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -fmodule-name\=background_fetch -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/iPhoneSimulator14.4.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 -index-store-path /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Index/DataStore -iquote /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/background_fetch-generated-files.hmap -I/Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/background_fetch-own-target-headers.hmap -I/Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/background_fetch-all-non-framework-target-headers.hmap -ivfsoverlay /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/all-product-headers.yaml -iquote /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/background_fetch-project-headers.hmap -I/Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Products/Debug-iphonesimulator/background_fetch/include -I/Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/DerivedSources-normal/x86_64 -I/Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/DerivedSources/x86_64 -I/Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/DerivedSources -F/Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Products/Debug-iphonesimulator/background_fetch -F/Users/hugo/dev/company/project/ios/.symlinks/plugins/background_fetch/ios -F/Users/hugo/dev/company/project/ios/Flutter -include /Users/hugo/dev/company/project/ios/Pods/Target\ Support\ Files/background_fetch/background_fetch-prefix.pch -MMD -MT dependencies -MF /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/Objects-normal/x86_64/BackgroundFetchPlugin.d --serialize-diagnostics /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/Objects-normal/x86_64/BackgroundFetchPlugin.dia -c /usr/local/Caskroom/flutter/latest/flutter/.pub-cache/hosted/pub.dartlang.org/background_fetch-0.6.0/ios/Classes/BackgroundFetchPlugin.m -o /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/Objects-normal/x86_64/BackgroundFetchPlugin.o
Ld /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Products/Debug-iphonesimulator/background_fetch/background_fetch.framework/background_fetch normal (in target 'background_fetch' from project 'Pods')
cd /Users/hugo/dev/company/project/ios/Pods
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-ios8.0-simulator -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk -L/Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Products/Debug-iphonesimulator/background_fetch -F/Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Products/Debug-iphonesimulator/background_fetch -F/Users/hugo/dev/company/project/ios/Pods/../.symlinks/plugins/background_fetch/ios -F/Users/hugo/dev/company/project/ios/Pods/../Flutter -filelist /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/Objects-normal/x86_64/background_fetch.LinkFileList -install_name @rpath/background_fetch.framework/background_fetch -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/Objects-normal/x86_64/background_fetch_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -framework Flutter -framework TSBackgroundFetch -framework Foundation -Xlinker -no_adhoc_codesign -compatibility_version 1 -current_version 1 -Xlinker -dependency_info -Xlinker /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/Objects-normal/x86_64/background_fetch_dependency_info.dat -o /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Products/Debug-iphonesimulator/background_fetch/background_fetch.framework/background_fetch
ld: framework not found TSBackgroundFetch
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Plugin version:1.9.3
The latest version of flutter_background_geolocation
is 1.11.1
. Show me your pubspec.yaml
I didn't want to update due to breaking changes with ProviderChangeEvent
. But I tried and it didn't change anything.
Here's my pubspec.yaml:
Show me pubspec.lock
Here it is:
I didn't want to update due to breaking changes with ProviderChangeEvent
1.9.3
probably doesn't support latest iOS 14 or Android 11.
I just created a fresh new $ flutter create foo
, added the plugin to pubspec.yaml
and successfully built.
Everything is fine in your pubspec.yaml
. I suggest you do a:
$ flutter clean
$ flutter build ios
Android toolchain - develop for Android devices (Android SDK version 28.0.3)
Btw, you should upgrade your Android SDK version to >= 29
. Google Play Store now requires a minimum targetSdkVersion 29
on all apps now.
Here is what I tried
flutter clean
flutter run
Still not working...
Launching lib/main.dart on iPhone 8 in debug mode...
Running pod install... 7,2s
Running Xcode build...
Xcode build done. 14,5s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
Command CompileSwift failed with a nonzero exit code
Command CompileSwift failed with a nonzero exit code
Command CompileSwift failed with a nonzero exit code
Command CompileSwift failed with a nonzero exit code
ld: framework not found TSBackgroundFetch
clang: error: linker command failed with exit code 1 (use -v to see invocation)
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 8.
With more verbose output:
Ld /Users/hugo/dev/company/client/build/ios/Debug-iphonesimulator/background_fetch/background_fetch.framework/background_fetch normal (in target 'background_fetch' from project 'Pods')
cd /Users/hugo/dev/company/client/ios/Pods
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-ios9.0-simulator -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.4.sdk
-L/Users/hugo/dev/company/client/build/ios/Debug-iphonesimulator/background_fetch -F/Users/hugo/dev/company/client/build/ios/Debug-iphonesimulator/background_fetch -F/Users/hugo/dev/company/client/ios/Pods/../.symlinks/plugins/background_fetch/ios
-F/Users/hugo/dev/company/client/ios/Pods/../Flutter -filelist /Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/Objects-normal/x86_64/background_fetch.LinkFileList
-install_name @rpath/background_fetch.framework/background_fetch -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker
/Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/Objects-normal/x86_64/background_fetch_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version
-Xlinker 2 -fobjc-arc -fobjc-link-runtime -framework Flutter -framework TSBackgroundFetch -framework Foundation -Xlinker -no_adhoc_codesign -compatibility_version 1 -current_version 1 -Xlinker -dependency_info -Xlinker
/Users/hugo/Library/Developer/Xcode/DerivedData/Runner-gndyahvfgiutktgulvnluyvdexqf/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/background_fetch.build/Objects-normal/x86_64/background_fetch_dependency_info.dat -o
/Users/hugo/dev/company/client/build/ios/Debug-iphonesimulator/background_fetch/background_fetch.framework/background_fetch
ld: framework not found TSBackgroundFetch
clang: error: linker command failed with exit code 1 (use -v to see invocation)
** BUILD FAILED **
The following build commands failed:
CompileSwift normal x86_64 /usr/local/Caskroom/flutter/latest/flutter/.pub-cache/hosted/pub.dartlang.org/vibration-1.7.3/ios/Classes/VibrationPluginSwift.swift
CompileSwift normal x86_64 /usr/local/Caskroom/flutter/latest/flutter/.pub-cache/hosted/pub.dartlang.org/map_launcher-0.10.0/ios/Classes/SwiftMapLauncherPlugin.swift
CompileSwift normal x86_64 /usr/local/Caskroom/flutter/latest/flutter/.pub-cache/hosted/pub.dartlang.org/esys_flutter_share-1.0.2/ios/Classes/SwiftEsysFlutterSharePlugin.swift
CompileSwift normal x86_64 /usr/local/Caskroom/flutter/latest/flutter/.pub-cache/hosted/pub.dartlang.org/app_settings-4.0.4/ios/Classes/SwiftAppSettingsPlugin.swift
Ld /Users/hugo/dev/company/client/build/ios/Debug-iphonesimulator/background_fetch/background_fetch.framework/background_fetch normal
(5 failures)
The 4 CompileSwift issues are just warnings so there is only the background_fetch.framework
failing...
Open your app in XCode and show me a screenshot with Development Pods
expanded as shown:
Here it is:
Thanks for your help! Appreciate it!
Close Xcode and relaunch. Re-build in XCode
So I tried relaunching XCode, rebooting. Starting from a fresh building repo of my project... Still the same.
I think downgrading from flutter 1.26 beta to 1.22.6 stable mixed up something but I don't get it. Gonna reinstall flutter
If you have any more ideas?
Thanks 🙏
So it seems that the flutter 1.26->1.22 downgrade broke something.
I reinstalled flutter and everything is now working as before.
Sorry for the mess and thanks a lot for your time!
Good.
Your Environment
flutter doctor
):[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3) [✓] Xcode - develop for iOS and macOS (Xcode 12.4) [✓] Android Studio (version 4.1) [✓] VS Code (version 1.53.2) [✓] Connected device (1 available)
• No issues found!
Expected Behavior
Build should run on device
Actual Behavior
Build fails
Steps to Reproduce
flutter run ios --debug
Context
Build doens't work anymore, it was working before... I just downgraded from 1.26 beta channel to stable channel.
Debug logs
I'm unsure if this is related to https://github.com/transistorsoft/background-geolocation-lt/issues/7
Could you help me? Thanks a lot!