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:
google-labs-jules[bot]
2026-01-21 07:35:56 +00:00
parent f597a5d4e8
commit 653bbb8c85
+2
View File
@@ -1,4 +1,6 @@
#import <Flutter/Flutter.h>
#import <TargetConditionals.h>
#import <TargetConditionals.h>
@interface VibratePlugin : NSObject<FlutterPlugin>
@end