Flutter build Xcode Output Error

Use flute to package IOS, and when you go to Flutter Build, you will get an error. error message:

Xcode's output:
ā†³
    /Users/vagrant/git/ios/Runner/Runner-Bridging-Header.h:3:9: note: in file included from /Users/vagrant/git/ios/Runner/Runner-Bridging-Header.h:3:
    #import "MBProgressHUD+Add.h"
            ^
    /Users/vagrant/git/ios/Runner/MBProgressHUD+Add.h:9:9: error: 'MBProgressHUD/MBProgressHUD.h' file not found
    #import <MBProgressHUD/MBProgressHUD.h>
            ^
    1 error generated.
    <unknown>:0: error: failed to emit precompiled header '/Users/vagrant/Library/Developer/Xcode/DerivedData/Runner-fvdlvfvunbwmbcgkbjykdeexifra/Build/Intermediates.noindex/PrecompiledHeaders/Runner-Bridging-Header-swift_PIYHC8Q67AWO-clang_YJ64XEM8971T.pch' for bridging header '/Users/vagrant/git/ios/Runner/Runner-Bridging-Header.h'
    /Users/vagrant/git/ios/Runner/Runner-Bridging-Header.h:3:9: note: in file included from /Users/vagrant/git/ios/Runner/Runner-Bridging-Header.h:3:
    #import "MBProgressHUD+Add.h"
            ^
    /Users/vagrant/git/ios/Runner/Runner-Bridging-Header.h:3:9: note: in file included from /Users/vagrant/git/ios/Runner/Runner-Bridging-Header.h:3:
    #import "MBProgressHUD+Add.h"
            ^
    /Users/vagrant/git/ios/Runner/MBProgressHUD+Add.h:9:9: error: 'MBProgressHUD/MBProgressHUD.h' file not found
    #import <MBProgressHUD/MBProgressHUD.h>
            ^
    1 error generated.
    <unknown>:0: error: failed to emit precompiled header '/Users/vagrant/Library/Developer/Xcode/DerivedData/Runner-fvdlvfvunbwmbcgkbjykdeexifra/Build/Intermediates.noindex/PrecompiledHeaders/Runner-Bridging-Header-swift_2M4CEFEA06ZFV-clang_R7D8YHABYHUD.pch' for bridging header '/Users/vagrant/git/ios/Runner/Runner-Bridging-Header.h'
    /Users/vagrant/git/ios/Runner/Runner-Bridging-Header.h:3:9: note: in file included from /Users/vagrant/git/ios/Runner/Runner-Bridging-Header.h:3:
    #import "MBProgressHUD+Add.h"
            ^
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description
    warning: The Copy Bundle Resources build phase contains this target's Info.plist file '/Users/vagrant/git/ios/Runner/InfoStag.plist'. (in target 'Runner' from project 'Runner')

Hi @pand! Sorry about the delay, can you please send us an URL to the build so we can take a look? Thanks!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.