fix(flutter_vibrate): Add missing import for TARGET_OS_SIMULATOR
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.
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
#import <Flutter/Flutter.h>
|
||||
#import <TargetConditionals.h>
|
||||
#import <TargetConditionals.h>
|
||||
|
||||
@interface VibratePlugin : NSObject<FlutterPlugin>
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user