Ios 我有这个问题#导入<;颤振/颤振。h>;

Ios 我有这个问题#导入<;颤振/颤振。h>;,ios,xcode,macos,flutter,dart,Ios,Xcode,Macos,Flutter,Dart,我的问题是: 我正在使用pub.dev中的[share package][1],当我尝试构建我的应用程序时,出现以下错误: /Users/yazan/Desktop/flutter/.pub-cache/hosted/pub.dartlang.org/share-0.6.5+4/ios/Classes/FLTSharePlugin.h:5:9: fatal error: 'Flutter/Flutter.h' file not found #import <Flutter/

我的问题是: 我正在使用pub.dev中的[share package][1],当我尝试构建我的应用程序时,出现以下错误:

    /Users/yazan/Desktop/flutter/.pub-cache/hosted/pub.dartlang.org/share-0.6.5+4/ios/Classes/FLTSharePlugin.h:5:9: fatal error: 'Flutter/Flutter.h' file not found
    #import <Flutter/Flutter.h>
            ^~~~~~~~~~~~~~~~~~~
    1 error generated.
    In file included from /Users/yazan/Desktop/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-2.0.5/ios/Classes/FLTSharedPreferencesPlugin.m:5:
    /Users/yazan/Desktop/flutter/.pub-cache/hosted/pub.dartlang.org/shared_preferences-2.0.5/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/yazan/Desktop/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.0.3/ios/Classes/FLTURLLauncherPlugin.m:7:
    /Users/yazan/Desktop/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher-6.0.3/ios/Classes/FLTURLLauncherPlugin.h:5:9: fatal error: 'Flutter/Flutter.h' file not found
    #import <Flutter/Flutter.h>
            ^~~~~~~~~~~~~~~~~~~ ```


  [1]: https://pub.dev/packages/share
/Users/yazan/Desktop/flatter/.pub cache/hosted/pub.dartlang.org/share-0.6.5+4/ios/Classes/FLTSharePlugin.h:5:9:致命错误:未找到“flatter/flatter.h”文件
#进口
^~~~~~~~~~~~~~~~~~~
生成1个错误。
在/Users/yazan/Desktop/flatter/.pub cache/hosted/pub.dartlang.org/shared_preferences-2.0.5/ios/Classes/FLTSharedPreferencesPlugin.m:5中包含的文件中:
/Users/yazan/Desktop/flatter/.pub cache/hosted/pub.dartlang.org/shared_preferences-2.0.5/ios/Classes/FLTSharedPreferencesPlugin.h:5:9:致命错误:未找到“flatter/flatter.h”文件
#进口
^~~~~~~~~~~~~~~~~~~
生成1个错误。
文件包括在/Users/yazan/Desktop/flatter/.pub cache/hosted/pub.dartlang.org/url_launcher-6.0.3/ios/Classes/FLTURLLauncherPlugin.m:7:
/Users/yazan/Desktop/flatter/.pub cache/hosted/pub.dartlang.org/url_launcher-6.0.3/ios/Classes/FLTURLLauncherPlugin.h:5:9:致命错误:未找到“flatter/flatter.h”文件
#进口
^~~~~~~~~~~~~~~~~~~ ```
[1]: https://pub.dev/packages/share

你试过这个吗,是的,我试过了,但没用