I am following all the steps provided in the documentation to change the platform :osx, '10.14.6' and adding the configureMacosWindowUtils, but i still get the following error compiling for macOS 10.14, but module 'macos_ui' has a minimum deployment target of macOS 10.14.6: /Users/sami/Documents
Steps To Reproduce
Change the platform :osx to 10.14.6 (as the documentation suggests)
add the configureMacosWindowUtils() function and call it in your main() function
Description
I am following all the steps provided in the documentation to change the
platform :osx, '10.14.6'
and adding theconfigureMacosWindowUtils
, but i still get the following errorcompiling for macOS 10.14, but module 'macos_ui' has a minimum deployment target of macOS 10.14.6: /Users/sami/Documents
Steps To Reproduce
platform :osx
to10.14.6
(as the documentation suggests)configureMacosWindowUtils()
function and call it in yourmain()
functionCode sample
```dart import 'package:flutter/material.dart'; import 'package:macos_ui/macos_ui.dart'; FutureExpected behavior
It should run without throwing an error
Logs
Logs
``` [ +9 ms] executing: sw_vers -productName [ +22 ms] Exit code 0 from: sw_vers -productName [ ] macOS [ ] executing: sw_vers -productVersion [ +13 ms] Exit code 0 from: sw_vers -productVersion [ ] 12.7.6 [ ] executing: sw_vers -buildVersion [ +12 ms] Exit code 0 from: sw_vers -buildVersion [ ] 21H1320 [ ] executing: uname -m [ +4 ms] Exit code 0 from: uname -m [ ] x86_64 [ +4 ms] executing: sysctl hw.optional.arm64 [ +4 ms] Exit code 1 from: sysctl hw.optional.arm64 [ ] sysctl: unknown oid 'hw.optional.arm64' [ +155 ms] executing: sysctl hw.optional.arm64 [ +6 ms] Exit code 1 from: sysctl hw.optional.arm64 [ ] sysctl: unknown oid 'hw.optional.arm64' [ ] executing: xcrun xcodebuild -version [ +400 ms] Exit code 0 from: xcrun xcodebuild -version [ ] Xcode 14.2 Build version 14C18 [ +3 ms] executing: xcrun xcdevice list --timeout 5 [ +7 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ +2 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update. [ +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. les/macos_ui.swiftmodule/x86_64-apple-macos.swiftmodule [ ] import macos_ui [ ] ^ [ +41 ms] SwiftCompile normal x86_64 Compiling\ AppDelegate.swift /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos/Runner/AppDelegate.swift (in target 'Runner' from project 'Runner') [ ] cd /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos [ ] builtin-swiftTaskExecution -- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos/Runner/MainFlutterWindow.swift -primary-file /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos/Runner/AppDelegate.swift /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos/Flutter/GeneratedPluginRegistrant.swift -emit-dependencies-path /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/Objects-normal/x86_64/AppDelegate.d -emit-reference-dependencies-path /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/Objects-normal/x86_64/AppDelegate.swiftdeps -serialize-diagnostics-path /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/Objects-normal/x86_64/AppDelegate.dia -target x86_64-apple-macos10.14 -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -I /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug -F /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug -F /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/appkit_ui_element_colors -F /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/macos_ui -F /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/macos_window_utils -no-color-diagnostics -enable-testing -g -module-cache-path /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -Onone -D DEBUG -D COCOAPODS -serialize-debugging-options -enable-bare-slash-regex -empty-abi-descriptor -Xcc -working-directory -Xcc /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runn er.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/macos_testing_haptic_project-generated-files.hmap -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runn er.build/macos_testing_haptic_project-own-target-headers.hmap -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runn er.build/macos_testing_haptic_project-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/macos_testing_haptic_project-project-headers.hmap -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/include -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/appkit_ui_element_colors/appki t_ui_element_colors.framework/Headers -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/macos_ui/macos_ui.framework/He aders -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/macos_window_utils/macos_windo w_utils.framework/Headers -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runn er.build/DerivedSources-normal/x86_64 -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runn er.build/DerivedSources/x86_64 -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runn er.build/DerivedSources -Xcc -DDEBUG\=1 -Xcc -DCOCOAPODS\=1 -module-name macos_testing_haptic_project -frontend-parseable-output -disable-clang-spi -target-sdk-version 13.1 -o /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/Objects-normal/x86_64/AppDelegate.o -index-unit-output-path /Runner.build/Debug/Runner.build/Objects-normal/x86_64/AppDelegate.o [ +3 ms] CompileSwift normal x86_64 /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos/Runner/AppDelegate.swift (in target 'Runner' from project 'Runner') [ ] cd /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos [ ] /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -c /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos/Runner/MainFlutterWindow.swift -primary-file /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos/Runner/AppDelegate.swift /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos/Flutter/GeneratedPluginRegistrant.swift -emit-dependencies-path /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/Objects-normal/x86_64/AppDelegate.d -emit-reference-dependencies-path /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/Objects-normal/x86_64/AppDelegate.swiftdeps -serialize-diagnostics-path /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/Objects-normal/x86_64/AppDelegate.dia -target x86_64-apple-macos10.14 -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -I /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug -F /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug -F /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/appkit_ui_element_colors -F /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/macos_ui -F /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/macos_window_utils -no-color-diagnostics -enable-testing -g -module-cache-path /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -Onone -D DEBUG -D COCOAPODS -serialize-debugging-options -enable-bare-slash-regex -empty-abi-descriptor -Xcc -working-directory -Xcc /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runn er.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/macos_testing_haptic_project-generated-files.hmap -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runn er.build/macos_testing_haptic_project-own-target-headers.hmap -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runn er.build/macos_testing_haptic_project-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/macos_testing_haptic_project-project-headers.hmap -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/include -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/appkit_ui_element_colors/appki t_ui_element_colors.framework/Headers -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/macos_ui/macos_ui.framework/He aders -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/macos_window_utils/macos_windo w_utils.framework/Headers -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runn er.build/DerivedSources-normal/x86_64 -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runn er.build/DerivedSources/x86_64 -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runn er.build/DerivedSources -Xcc -DDEBUG\=1 -Xcc -DCOCOAPODS\=1 -module-name macos_testing_haptic_project -frontend-parseable-output -disable-clang-spi -target-sdk-version 13.1 -o /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/Objects-normal/x86_64/AppDelegate.o -index-unit-output-path /Runner.build/Debug/Runner.build/Objects-normal/x86_64/AppDelegate.o [ +3 ms] /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos/Flutter/GeneratedPluginRegistrant.swift:9:8: error: compiling for macOS 10.14, but module 'macos_ui' has a minimum deployment target of macOS 10.14.6: /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/macos_ui/macos_ui.framework/Modu les/macos_ui.swiftmodule/x86_64-apple-macos.swiftmodule [ ] import macos_ui [ ] ^ [ +17 ms] SwiftCompile normal x86_64 Compiling\ GeneratedPluginRegistrant.swift /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos/Flutter/GeneratedPluginRegistrant.swift (in target 'Runner' from project 'Runner') [ ] cd /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos [ ] builtin-swiftTaskExecution -- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos/Runner/MainFlutterWindow.swift /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos/Runner/AppDelegate.swift -primary-file /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos/Flutter/GeneratedPluginRegistrant.swift -emit-dependencies-path /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/Objects-normal/x86_64/GeneratedPluginRegistrant.d -emit-reference-dependencies-path /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/Objects-normal/x86_64/GeneratedPluginRegistrant.swiftdeps -serialize-diagnostics-path /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/Objects-normal/x86_64/GeneratedPluginRegistrant.dia -target x86_64-apple-macos10.14 -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -I /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug -F /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug -F /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/appkit_ui_element_colors -F /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/macos_ui -F /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/macos_window_utils -no-color-diagnostics -enable-testing -g -module-cache-path /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -Onone -D DEBUG -D COCOAPODS -serialize-debugging-options -enable-bare-slash-regex -empty-abi-descriptor -Xcc -working-directory -Xcc /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runn er.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/macos_testing_haptic_project-generated-files.hmap -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runn er.build/macos_testing_haptic_project-own-target-headers.hmap -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runn er.build/macos_testing_haptic_project-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/macos_testing_haptic_project-project-headers.hmap -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/include -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/appkit_ui_element_colors/appki t_ui_element_colors.framework/Headers -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/macos_ui/macos_ui.framework/He aders -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/macos_window_utils/macos_windo w_utils.framework/Headers -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runn er.build/DerivedSources-normal/x86_64 -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runn er.build/DerivedSources/x86_64 -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runn er.build/DerivedSources -Xcc -DDEBUG\=1 -Xcc -DCOCOAPODS\=1 -module-name macos_testing_haptic_project -frontend-parseable-output -disable-clang-spi -target-sdk-version 13.1 -o /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/Objects-normal/x86_64/GeneratedPluginRegistrant.o -index-unit-output-path /Runner.build/Debug/Runner.build/Objects-normal/x86_64/GeneratedPluginRegistrant.o [ +2 ms] CompileSwift normal x86_64 /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos/Flutter/GeneratedPluginRegistrant.swift (in target 'Runner' from project 'Runner') [ ] cd /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos [ ] /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -c /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos/Runner/MainFlutterWindow.swift /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos/Runner/AppDelegate.swift -primary-file /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos/Flutter/GeneratedPluginRegistrant.swift -emit-dependencies-path /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/Objects-normal/x86_64/GeneratedPluginRegistrant.d -emit-reference-dependencies-path /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/Objects-normal/x86_64/GeneratedPluginRegistrant.swiftdeps -serialize-diagnostics-path /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/Objects-normal/x86_64/GeneratedPluginRegistrant.dia -target x86_64-apple-macos10.14 -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -I /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug -F /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug -F /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/appkit_ui_element_colors -F /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/macos_ui -F /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/macos_window_utils -no-color-diagnostics -enable-testing -g -module-cache-path /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -Onone -D DEBUG -D COCOAPODS -serialize-debugging-options -enable-bare-slash-regex -empty-abi-descriptor -Xcc -working-directory -Xcc /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runn er.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/macos_testing_haptic_project-generated-files.hmap -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runn er.build/macos_testing_haptic_project-own-target-headers.hmap -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runn er.build/macos_testing_haptic_project-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/macos_testing_haptic_project-project-headers.hmap -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/include -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/appkit_ui_element_colors/appki t_ui_element_colors.framework/Headers -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/macos_ui/macos_ui.framework/He aders -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/macos_window_utils/macos_windo w_utils.framework/Headers -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runn er.build/DerivedSources-normal/x86_64 -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runn er.build/DerivedSources/x86_64 -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runn er.build/DerivedSources -Xcc -DDEBUG\=1 -Xcc -DCOCOAPODS\=1 -module-name macos_testing_haptic_project -frontend-parseable-output -disable-clang-spi -target-sdk-version 13.1 -o /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/Objects-normal/x86_64/GeneratedPluginRegistrant.o -index-unit-output-path /Runner.build/Debug/Runner.build/Objects-normal/x86_64/GeneratedPluginRegistrant.o [ +3 ms] /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos/Flutter/GeneratedPluginRegistrant.swift:9:8: error: compiling for macOS 10.14, but module 'macos_ui' has a minimum deployment target of macOS 10.14.6: /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/macos_ui/macos_ui.framework/Modu les/macos_ui.swiftmodule/x86_64-apple-macos.swiftmodule [ ] import macos_ui [ ] ^ [ ] SwiftCompile normal x86_64 Compiling\ MainFlutterWindow.swift /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos/Runner/MainFlutterWindow.swift (in target 'Runner' from project 'Runner') [ ] cd /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos [ ] builtin-swiftTaskExecution -- /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos/Runner/MainFlutterWindow.swift /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos/Runner/AppDelegate.swift /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos/Flutter/GeneratedPluginRegistrant.swift -emit-dependencies-path /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/Objects-normal/x86_64/MainFlutterWindow.d -emit-reference-dependencies-path /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/Objects-normal/x86_64/MainFlutterWindow.swiftdeps -serialize-diagnostics-path /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/Objects-normal/x86_64/MainFlutterWindow.dia -target x86_64-apple-macos10.14 -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -I /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug -F /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug -F /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/appkit_ui_element_colors -F /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/macos_ui -F /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/macos_window_utils -no-color-diagnostics -enable-testing -g -module-cache-path /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -Onone -D DEBUG -D COCOAPODS -serialize-debugging-options -enable-bare-slash-regex -empty-abi-descriptor -Xcc -working-directory -Xcc /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runn er.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/macos_testing_haptic_project-generated-files.hmap -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runn er.build/macos_testing_haptic_project-own-target-headers.hmap -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runn er.build/macos_testing_haptic_project-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/macos_testing_haptic_project-project-headers.hmap -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/include -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/appkit_ui_element_colors/appki t_ui_element_colors.framework/Headers -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/macos_ui/macos_ui.framework/He aders -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/macos_window_utils/macos_windo w_utils.framework/Headers -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runn er.build/DerivedSources-normal/x86_64 -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runn er.build/DerivedSources/x86_64 -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runn er.build/DerivedSources -Xcc -DDEBUG\=1 -Xcc -DCOCOAPODS\=1 -module-name macos_testing_haptic_project -frontend-parseable-output -disable-clang-spi -target-sdk-version 13.1 -o /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/Objects-normal/x86_64/MainFlutterWindow.o -index-unit-output-path /Runner.build/Debug/Runner.build/Objects-normal/x86_64/MainFlutterWindow.o [ +3 ms] CompileSwift normal x86_64 /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos/Runner/MainFlutterWindow.swift (in target 'Runner' from project 'Runner') [ ] cd /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos [ ] /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -c -primary-file /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos/Runner/MainFlutterWindow.swift /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos/Runner/AppDelegate.swift /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos/Flutter/GeneratedPluginRegistrant.swift -emit-dependencies-path /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/Objects-normal/x86_64/MainFlutterWindow.d -emit-reference-dependencies-path /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/Objects-normal/x86_64/MainFlutterWindow.swiftdeps -serialize-diagnostics-path /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/Objects-normal/x86_64/MainFlutterWindow.dia -target x86_64-apple-macos10.14 -enable-objc-interop -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk -I /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug -F /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug -F /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/appkit_ui_element_colors -F /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/macos_ui -F /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/macos_window_utils -no-color-diagnostics -enable-testing -g -module-cache-path /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -Onone -D DEBUG -D COCOAPODS -serialize-debugging-options -enable-bare-slash-regex -empty-abi-descriptor -Xcc -working-directory -Xcc /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos -resource-dir /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runn er.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/macos_testing_haptic_project-generated-files.hmap -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runn er.build/macos_testing_haptic_project-own-target-headers.hmap -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runn er.build/macos_testing_haptic_project-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/macos_testing_haptic_project-project-headers.hmap -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/include -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/appkit_ui_element_colors/appki t_ui_element_colors.framework/Headers -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/macos_ui/macos_ui.framework/He aders -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/macos_window_utils/macos_windo w_utils.framework/Headers -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runn er.build/DerivedSources-normal/x86_64 -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runn er.build/DerivedSources/x86_64 -Xcc -I/Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runn er.build/DerivedSources -Xcc -DDEBUG\=1 -Xcc -DCOCOAPODS\=1 -module-name macos_testing_haptic_project -frontend-parseable-output -disable-clang-spi -target-sdk-version 13.1 -o /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner .build/Objects-normal/x86_64/MainFlutterWindow.o -index-unit-output-path /Runner.build/Debug/Runner.build/Objects-normal/x86_64/MainFlutterWindow.o [ +2 ms] /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos/Flutter/GeneratedPluginRegistrant.swift:9:8: error: compiling for macOS 10.14, but module 'macos_ui' has a minimum deployment target of macOS 10.14.6: /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/build/macos/Build/Products/Debug/macos_ui/macos_ui.framework/Modu les/macos_ui.swiftmodule/x86_64-apple-macos.swiftmodule [ ] import macos_ui [ ] ^ [ ] ** BUILD FAILED ** [ +1 ms] The following build commands failed: [ ] SwiftEmitModule normal x86_64 Emitting\ module\ for\ macos_testing_haptic_project (in target 'Runner' from project 'Runner') [ ] CompileSwift normal x86_64 /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos/Runner/AppDelegate.swift (in target 'Runner' from project 'Runner') [ ] SwiftCompile normal x86_64 Compiling\ AppDelegate.swift /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos/Runner/AppDelegate.swift (in target 'Runner' from project 'Runner') [ ] CompileSwift normal x86_64 /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos/Flutter/GeneratedPluginRegistrant.swift (in target 'Runner' from project 'Runner') [ ] SwiftCompile normal x86_64 Compiling\ GeneratedPluginRegistrant.swift /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos/Flutter/GeneratedPluginRegistrant.swift (in target 'Runner' from project 'Runner') [ ] CompileSwift normal x86_64 /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos/Runner/MainFlutterWindow.swift (in target 'Runner' from project 'Runner') [ ] SwiftCompile normal x86_64 Compiling\ MainFlutterWindow.swift /Users/sami/Documents/flutter_projects/macos_testing_haptic_project/macos/Runner/MainFlutterWindow.swift (in target 'Runner' from project 'Runner') [ ] (7 failures) [ +21 ms] Building macOS application... (completed in 6.9s) [ +3 ms] Error: Build process failed [ +2 ms] "flutter run" took 10,085ms. [ +39 ms] #0 throwToolExit (package:flutter_tools/src/base/common.dart:10:3) #1 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:874:9)