My project complies and runs on Android, but when running on iOS I get this error.
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
=== BUILD TARGET sqflite OF PROJECT Pods WITH CONFIGURATION Debug ===
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/vibrate-umbrella.h"
^
/Users/gurleensethi/IdeaProjects/project_name/ios/Pods/Target Support Files/vibrate/vibrate-umbrella.h:13:9: error: include of non-modular header inside framework module 'vibrate': '/Users/gurleensethi/Documents/Flutter/flutter/.pub-cache/hosted/pub.dartlang.org/vibrate-0.0.4/ios/Classes/VibratePlugin.h'
#import "VibratePlugin.h"
^
<unknown>:0: error: could not build Objective-C module 'vibrate'
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "Headers/vibrate-umbrella.h"
^
/Users/gurleensethi/IdeaProjects/project_name/ios/Pods/Target Support Files/vibrate/vibrate-umbrella.h:13:9: error: include of non-modular header inside framework module 'vibrate': '/Users/gurleensethi/Documents/Flutter/flutter/.pub-cache/hosted/pub.dartlang.org/vibrate-0.0.4/ios/Classes/VibratePlugin.h'
#import "VibratePlugin.h"
^
<unknown>:0: error: could not build Objective-C module 'vibrate'
Could not build the precompiled application for the device.
My project complies and runs on Android, but when running on iOS I get this error.