-
Notifications
You must be signed in to change notification settings - Fork 222
Description
just try you given latest current example, nothing extra
//-------------------------------------------------------------------------------------// > IOS
Launching lib/main.dart on iPhone 17 Pro Max in debug mode...
Updating minimum iOS deployment target to 13.0.
Upgrading project.pbxproj
Upgrading AppFrameworkInfo.plist
Upgrading Podfile
Updating project for Xcode compatibility.
Upgrading project.pbxproj
Upgrading Runner.xcscheme
Xcode build done. 20.3s
Failed to build iOS app
Error (Xcode): Build input file cannot be found: '/Users/woxxin/Flutter Project/rive-flutter-master/example/ios/.symlinks/plugins/rive_native/native/build/iphoneos/bin/emulator/librive_native.a'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it?
Could not build the application for the simulator.
Error launching application on iPhone 17 Pro Max.
Exited (1).
//-------------------------------------------------------------------------------------// > Android devices, API level 34
Launching lib\main.dart on SM A055F in debug mode...
../lib/src/painters/widget_controller.dart:83:18: Error: The method 'addAdvanceRequestListener' isn't defined for the type 'StateMachine'.
widget_controller.dart:83
- 'StateMachine' is from 'package:rive_native/src/rive.dart' ('/C:/Users/DREAMWORLD/AppData/Local/Pub/Cache/hosted/pub.dev/rive_native-0.0.11/lib/src/rive.dart').
Try correcting the name to the name of an existing method, or defining a method named 'addAdvanceRequestListener'.
stateMachine.addAdvanceRequestListener(scheduleRepaint);
^^^^^^^^^^^^^^^^^^^^^^^^^
../lib/src/painters/widget_controller.dart:214:18: Error: The method 'removeAdvanceRequestListener' isn't defined for the type 'StateMachine'.
widget_controller.dart:214 - 'StateMachine' is from 'package:rive_native/src/rive.dart' ('/C:/Users/DREAMWORLD/AppData/Local/Pub/Cache/hosted/pub.dev/rive_native-0.0.11/lib/src/rive.dart').
Try correcting the name to the name of an existing method, or defining a method named 'removeAdvanceRequestListener'.
stateMachine.removeAdvanceRequestListener(scheduleRepaint);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Target kernel_snapshot_program failed: Exception
2
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
Process 'command 'C:\flutter_windows_3.19.0-stable\flutter\bin\flutter.bat'' finished with non-zero exit value 1
- Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.
BUILD FAILED in 10s
Error: Gradle task assembleDebug failed with exit code 1
Exited (1).
// Flutter info
flutter doctor -v
[✓] Flutter (Channel stable, 3.35.3, on macOS 26.0 25A354 darwin-arm64, locale
en-IN) [1,261ms]
• Flutter version 3.35.3 on channel stable at /Users/woxxin/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision a402d9a437 (3 weeks ago), 2025-09-03 14:54:31 -0700
• Engine revision ddf47dd3ff
• Dart version 3.9.2
• DevTools version 2.48.0
• Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop,
enable-windows-desktop, enable-android, enable-ios, cli-animations,
enable-lldb-debugging
[✓] Android toolchain - develop for Android devices (Android SDK version 36.1.0)
[4.9s]
• Android SDK at /Users/woxxin/Library/Android/sdk
• Emulator version 36.1.9.0 (build_id 13823996) (CL:N/A)
• Platform android-36, build-tools 36.1.0
• Java binary at: /Applications/Android
Studio.app/Contents/jbr/Contents/Home/bin/java
This is the JDK bundled with the latest Android Studio installation on
this machine.
To manually set the JDK path, use: flutter config --jdk-dir="path/to/jdk".
• Java version OpenJDK Runtime Environment (build
17.0.6+0-17.0.6b829.9-10027231)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 26.0) [3.9s]
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 17A324
• CocoaPods version 1.16.2
[✓] Chrome - develop for the web [34ms]
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2022.3) [33ms]
• Android Studio at /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
17.0.6+0-17.0.6b829.9-10027231)
[✓] VS Code (version 1.104.0) [32ms]
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.118.0
[✓] Connected device (5 available) [9.3s]
• iPhone 17 Pro Max (mobile) • A81C3EED-FA52-495B-8704-5A3EB6A11EEE • ios • com.apple.CoreSimulator.SimRuntime.iOS-26-0 (simulator)
• iPad Pro 13-inch (M4) (16GB) (mobile) • 62945CFC-99D1-405F-882A-857BB72A90A1 • ios • com.apple.CoreSimulator.SimRuntime.iOS-26-0 (simulator)
• macOS (desktop) • macos • darwin-arm64 • macOS 26.0 25A354 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 140.0.7339.213
[✓] Network resources [669ms]
• All expected network resources are available.
• No issues found!