Closed lakerchen closed 1 year ago
hi, the current demo is developed based on Flutter SDK version 3.7.12. If you use other versions, please adjust it yourself.
I have adjusted Flutter SDK to 3.7.12
(base) lakerchen@lakerchen-PC Open-IM-Flutter-Demo % flutter --version
Flutter 3.7.12 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 4d9e56e694 (5 months ago) • 2023-04-17 21:47:46 -0400
Engine • revision 1a65d409c7
Tools • Dart 2.19.6 • DevTools 2.20.1
And it still doesn't work
(base) lakerchen@lakerchen-PC Open-IM-Flutter-Demo % flutter run
Launching lib/main.dart on iPhone 15 Pro Max in debug mode...
Running pod install... 4.3s
Running Xcode build...
Xcode build done. 48.1s
Failed to build iOS app
Error (Xcode): lib/core/im_callback.dart:222:28: Error: Type 'SignalingInfo' not found.
Could not build the application for the simulator.
Error launching application on iPhone 15 Pro Max.
@lakerchen hi, Please get the latest Demo code.
I pull the latest code in main branch, and still got error.
hi,The version of the SDK uses 3.3.0, do not change it.
No response for too long, close it temporarily.
What happened?
Got errors when I execute the commad
flutter run
What did you expect to happen?
Launch the demo app successfully in the iPhone simulator
How can we reproduce it (as minimally and precisely as possible)?
Execute the commad
flutter run
in macOSAnything else we need to know?
No response
version
Flutter 3.13.5 • channel stable • https://github.com/flutter/flutter.git Framework • revision 12fccda598 (5 days ago) • 2023-09-19 13:56:11 -0700 Engine • revision bd986c5ed2 Tools • Dart 3.1.2 • DevTools 2.25.0
Cloud provider
None
OS version
Apple M1 Pro macOS 13.5
Install tools
No response