From 653bbb8c8509dfb7a6f8dee71898f4353867904b Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Wed, 21 Jan 2026 07:35:56 +0000 Subject: [PATCH] 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 ` to the bridging header (`VibratePlugin.h`) to make the macro available to the Swift compiler. --- packages/flutter_vibrate/ios/Classes/VibratePlugin.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/flutter_vibrate/ios/Classes/VibratePlugin.h b/packages/flutter_vibrate/ios/Classes/VibratePlugin.h index c963b2f..829a57c 100644 --- a/packages/flutter_vibrate/ios/Classes/VibratePlugin.h +++ b/packages/flutter_vibrate/ios/Classes/VibratePlugin.h @@ -1,4 +1,6 @@ #import +#import +#import @interface VibratePlugin : NSObject @end