You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The dependency flutter_inset_box_shadow is causing build failures on iOS due to the use of the deprecated hashValues method. The error occurs when trying to build:
Error (Xcode): The method 'hashValues' isn't defined for the class 'BoxShadow'.
This is happening because hashValues was removed in newer Flutter versions. The error persists even with older versions of flutter_inset_box_shadow (tested 1.0.8 down to 1.0.2).
Environment:
Flutter: 3.27.1
Dart: 3.6.0
clerk_flutter: 0.0.4-dev
Expected results
The app should build and run successfully on iOS devices and simulators.
Actual results
Building for iOS fails with the following error:
Error (Xcode): ../../../.pub-cache/hosted/pub.dev/flutter_inset_box_shadow-1.0.8/lib/src/box_shadow.dart:124:7: Error: The method 'hashValues' isn't defined for the class 'BoxShadow'.
Could not build the application for the simulator.
Error launching application on iPhone 15 Pro.
Code sample
Code sample
This issue can be reproduced with a basic Flutter project using clerk_flutter:
The error occurs immediately when trying to build for iOS, regardless of how the package is used in the code.
Screenshots or Video
Screenshots / Video demonstration
Logs
Logs
flutter run --dart-define-from-file=.env --flavor VecTimeLaunching lib/main.dart on iPhone 15 Pro in debug mode...Running Xcode build... Xcode build done. 7,3sFailed to build iOS appError (Xcode): ../../../.pub-cache/hosted/pub.dev/flutter_inset_box_shadow-1.0.2/lib/src/box_shadow.dart:124:7: Error: The method 'hashValues' isn't defined for the class'BoxShadow'.Could not build the application for the simulator.Error launching application on iPhone 15 Pro.
Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.27.1, on macOS 15.2 24C101 darwin-arm64, locale de-DE) • Flutter version 3.27.1 on channel stable at /Users/jlampe/development/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 17025dd882 (11 days ago), 2024-12-17 03:23:09 +0900 • Engine revision cb4b5fff73 • Dart version 3.6.0 • DevTools version 2.40.2[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) • Android SDK at /Users/jlampe/Library/Android/sdk • Platform android-35, build-tools 35.0.0 • Java binary at: /Users/jlampe/Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 21.0.3+-79915917-b509.11) • All Android licenses accepted.[✓] Xcode - develop for iOS and macOS (Xcode 16.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 16B40 • CocoaPods version 1.16.2[✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome[✓] Android Studio (version 2024.2) • Android Studio at /Users/jlampe/Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 21.0.3+-79915917-b509.11)[✓] IntelliJ IDEA Ultimate Edition (version 2024.3.1.1) • IntelliJ at /Users/jlampe/Applications/IntelliJ IDEA Ultimate.app • Flutter plugin version 83.0.4 • Dart plugin version 243.23177[✓] Connected device (4 available) • iPhone 15 Pro (mobile) • 16545D4B-044D-4CC2-8C4A-A01A84BFAD1B • ios • com.apple.CoreSimulator.SimRuntime.iOS-17-5 (simulator) • macOS (desktop) • macos • darwin-arm64 • macOS 15.2 24C101 darwin-arm64 • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 15.2 24C101 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 131.0.6778.205 ! Error: Browsing on the local area network for iPhone von Jonas. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac. The device must be opted into Developer Mode to connect wirelessly. (code -27)[✓] Network resources • All expected network resources are available.• No issues found!
The text was updated successfully, but these errors were encountered:
Steps to reproduce
The dependency flutter_inset_box_shadow is causing build failures on iOS due to the use of the deprecated hashValues method. The error occurs when trying to build:
https://arc.net/l/quote/mvfdqhaw
Error (Xcode): The method 'hashValues' isn't defined for the class 'BoxShadow'.
This is happening because hashValues was removed in newer Flutter versions. The error persists even with older versions of flutter_inset_box_shadow (tested 1.0.8 down to 1.0.2).
Environment:
Expected results
The app should build and run successfully on iOS devices and simulators.
Actual results
Building for iOS fails with the following error:
Error (Xcode): ../../../.pub-cache/hosted/pub.dev/flutter_inset_box_shadow-1.0.8/lib/src/box_shadow.dart:124:7: Error: The method 'hashValues' isn't defined for the class 'BoxShadow'.
Could not build the application for the simulator.
Error launching application on iPhone 15 Pro.
Code sample
Code sample
This issue can be reproduced with a basic Flutter project using clerk_flutter:
The error occurs immediately when trying to build for iOS, regardless of how the package is used in the code.
Screenshots or Video
Screenshots / Video demonstration
Logs
Logs
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: