e.g. Cocoapods, Carthage, Maven, AAR Package or Git clone
What's the issue?
My project struct is : base-frame code and pages code. (base-frame as a plugin in project).
I added the MMKV at base-frame, and insert some code in pod file based on the mmkv doc, but still cause an error when i run(whole project) on ios , log like below this.
Post the outputs or screenshots for errors.
/Users/dika/Documents/RiKiFlutter/riki2.0/ios/Runner/GeneratedPluginRegistrant.m:166:1: error: use of '@import' when modules are disabled
@import mmkv;
^
/Users/dika/Documents/RiKiFlutter/riki2.0/ios/Runner/GeneratedPluginRegistrant.m:300:4: error: use of undeclared identifier 'MMKVPlugin'
[MMKVPlugin registerWithRegistrar:[registry registrarForPlugin:@"MMKVPlugin"]];
The language of MMKV
The version of MMKV
The platform of MMKV
The installation of MMKV
What's the issue?
My project struct is : base-frame code and pages code. (base-frame as a plugin in project).
I added the MMKV at base-frame, and insert some code in pod file based on the mmkv doc, but still cause an error when i run(whole project) on ios , log like below this.
/Users/dika/Documents/RiKiFlutter/riki2.0/ios/Runner/GeneratedPluginRegistrant.m:166:1: error: use of '@import' when modules are disabled @import mmkv; ^ /Users/dika/Documents/RiKiFlutter/riki2.0/ios/Runner/GeneratedPluginRegistrant.m:300:4: error: use of undeclared identifier 'MMKVPlugin' [MMKVPlugin registerWithRegistrar:[registry registrarForPlugin:@"MMKVPlugin"]];