653bbb8c85
The `TARGET_OS_SIMULATOR` macro was not in scope in `SwiftVibratePlugin.swift`, causing build failures on the iOS simulator. This change adds the necessary `#import <TargetConditionals.h>` to the bridging header (`VibratePlugin.h`) to make the macro available to the Swift compiler.
7 lines
147 B
Objective-C
Vendored
7 lines
147 B
Objective-C
Vendored
#import <Flutter/Flutter.h>
|
|
#import <TargetConditionals.h>
|
|
#import <TargetConditionals.h>
|
|
|
|
@interface VibratePlugin : NSObject<FlutterPlugin>
|
|
@end
|