Skip to content

swift引入报错 #17

Description

@KunlunLu

While building module 'nautilus' imported from /Users/l/Desktop/Flutter/flutter_app000/ios/Runner/GeneratedPluginRegistrant.m:6:
In file included from :1:
In file included from /Users/l/Desktop/Flutter/flutter_app000/build/ios/Debug-iphonesimulator/nautilus/nautilus.framework/Headers/nautilus-umbrella.h:14:
/Users/l/Desktop/Flutter/flutter_app000/build/ios/Debug-iphonesimulator/nautilus/nautilus.framework/Headers/NautilusPlugin.h:4:9: error: include of non-modular header inside framework module 'nautilus.NautilusPlugin': '/Users/l/Desktop/Flutter/flutter_app000/ios/.symlinks/plugins/nautilus/ios/Frameworks/AlibcTradeSDK.framework/Headers/AlibcTradeSDK.h' [-Werror,-Wnon-modular-include-in-framework-module]
#import <AlibcTradeSDK/AlibcTradeSDK.h>
^
While building module 'nautilus' imported from /Users/l/Desktop/Flutter/flutter_app000/ios/Runner/GeneratedPluginRegistrant.m:6:
In file included from :1:
In file included from /Users/l/Desktop/Flutter/flutter_app000/build/ios/Debug-iphonesimulator/nautilus/nautilus.framework/Headers/nautilus-umbrella.h:14:
In file included from /Users/l/Desktop/Flutter/flutter_app000/build/ios/Debug-iphonesimulator/nautilus/nautilus.framework/Headers/NautilusPlugin.h:4:
/Users/l/Desktop/Flutter/flutter_app000/ios/.symlinks/plugins/nautilus/ios/Frameworks/AlibcTradeSDK.framework/Headers/AlibcTradeSDK.h:48:39: warning: this block declaration is not a prototype [-Wstrict-prototypes]
- (void)asyncInitWithSuccess:(void (^)())onSuccess
^
void
2 warnings and 2 errors generated.
/Users/l/Desktop/Flutter/flutter_app000/ios/Runner/GeneratedPluginRegistrant.m:6:9: fatal error: could not build module 'nautilus'
#import <nautilus/NautilusPlugin.h>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions