ios – I encountered an issue while trying to build a Flutter macOS application


I encountered an issue while trying to build a Flutter macOS application. The error message I received is as follows

    Command SwiftDriver emitted errors but did not return a nonzero exit code to indicate failure
    error: 
              /Users/nagasanjay/projects/vsstech/flutter/vssauthen/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner.build/Objects-normal/arm64/.swiftdoc: No such file or directory (in target 'Runner' from project 'Runner')
error:    /Users/nagasanjay/projects/vsstech/flutter/vssauthen/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner.build/Objects-normal/arm64/.swiftsourceinfo: No such file or directory (in target 'Runner' from project 'Runner')
error:    /Users/nagasanjay/projects/vsstech/flutter/vssauthen/build/macos/Build/Intermediates.noindex/Runner.build/Debug/Runner.build/Objects-normal/arm64/.abi.json: No such file or directory (in target 'Runner' from project 'Runner')
    ** BUILD FAILED **




i tried 
flutter clean && flutter pub get

i checked flutter doctor everything looks good
[✓] Flutter (Channel stable, 3.16.9, on macOS 14.2.1 23C71 darwin-arm64, locale
    en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.1)
[✓] VS Code (version 1.86.0)
[✓] Connected device (2 available)
[✓] Network resources

• No issues found!

i deleted macos directory and ran

flutter create .

still i have the getting the same error

Latest articles

spot_imgspot_img

Related articles

Leave a reply

Please enter your comment!
Please enter your name here

spot_imgspot_img