Compare commits

...

2 Commits

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