-
Notifications
You must be signed in to change notification settings - Fork 27.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
app crashes on iOS since v3.10.0 #127489
Comments
This #127095 is maybe related. Are you using |
Hi @wheeOs. Thanks for filing this issue. |
I am able to reproduce this issue only on iOS on the latest Log
flutter doctor -v[✓] Flutter (Channel master, 3.11.0-2.0.pre.55, on macOS 13.3 22E252 darwin-arm64, locale en-NG)
• Flutter version 3.11.0-2.0.pre.55 on channel master at /Users/dammya/fvm/versions/master
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 835b892d7f (2 weeks ago), 2023-05-07 01:30:22 0530
• Engine revision 23f730efbf
• Dart version 3.1.0 (build 3.1.0-83.0.dev)
• DevTools version 2.23.1
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
• Android SDK at /Users/dammya/Library/Android/sdk
• Platform android-33, build-tools 32.1.0-rc1
• ANDROID_HOME = /Users/dammya/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.12 0-b1504.28-7817840)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14E222b
• CocoaPods version 1.11.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.2)
• 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 11.0.12 0-b1504.28-7817840)
[✓] IntelliJ IDEA Community Edition (version 2022.3.2)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• 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
[✓] VS Code (version 1.78.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.50.0
[✓] VS Code (version 1.78.0)
• VS Code at /Users/dammya/.Trash/Visual Studio Code 20.07.05.app/Contents
• Flutter extension version 3.50.0
[✓] Connected device (5 available)
• sdk gphone arm64 (mobile) • emulator-5554 • android-arm64 • Android 11 (API 30) (emulator)
• Damilola’s iPhone (mobile) • 71c843fa5f3dec767999f36224653c0faa78660e • ios • iOS 16.4 20E247
• iPhone 14 Pro Max (mobile) • D7F3302D-D66F-4B89-B8CF-DBEE1CDB5449 • ios • com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
• macOS (desktop) • macos • darwin-arm64 • macOS 13.3 22E252 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 113.0.5672.126
[✓] Network resources
• All expected network resources are available.
• No issues found!
[✓] Flutter (Channel stable, 3.10.2, on macOS 13.3 22E252 darwin-arm64, locale
en-NG)
• Flutter version 3.10.2 on channel stable at /Users/dammya/sdks/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 9cd3d0d9ff (29 hours ago), 2023-05-23 20:57:28 -0700
• Engine revision 90fa3ae28f
• Dart version 3.0.2
• DevTools version 2.23.1
[✓] Android toolchain - develop for Android devices (Android SDK version
32.1.0-rc1)
• Android SDK at /Users/dammya/Library/Android/sdk
• Platform android-33, build-tools 32.1.0-rc1
• ANDROID_HOME = /Users/dammya/Library/Android/sdk
• Java binary at: /Applications/Android
Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
11.0.12 0-b1504.28-7817840)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14E222b
• CocoaPods version 1.11.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.2)
• 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
11.0.12 0-b1504.28-7817840)
[✓] IntelliJ IDEA Community Edition (version 2022.3.2)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• 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
[✓] VS Code (version 1.78.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.50.0
[✓] VS Code (version 1.78.0)
• VS Code at /Users/dammya/.Trash/Visual Studio Code 20.07.05.app/Contents
• Flutter extension version 3.50.0
[✓] Connected device (4 available)
• sdk gphone arm64 (mobile) • emulator-5554 •
android-arm64 • Android 11 (API 30) (emulator)
• iPhone 14 Pro Max (mobile) • D7F3302D-D66F-4B89-B8CF-DBEE1CDB5449 • ios
• com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
• macOS (desktop) • macos •
darwin-arm64 • macOS 13.3 22E252 darwin-arm64
• Chrome (web) • chrome •
web-javascript • Google Chrome 113.0.5672.126
[✓] Network resources
• All expected network resources are available.
• No issues found!
|
Hi @wheeOs. Tested on the latest |
@dam-ease I confirm that on the master channel it's not crashing anymore. That's a relief, thanks a lot! |
@wheeOs Thanks for confirming. Closing it as fixed |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Is there an existing issue for this?
Steps to reproduce
sampleApp
on an iOS simulator (I've tested it with various iOS versions) via xcode (preferably since the error can't get caught otherwise)GoogleMap
is being renderedplease note: Since I couldn't find any hint from the stack trace that this is caused by
google_maps_flutter
directly, I assumed that this is rather a flutter bug.Expected results
just no crashes
Actual results
the app crashes on native level of iOS since the flutter upgrade to 3.10. Prior to that this wasn't happening at all. On Android everything is fine.
error (xcode):
Thread 1: "*** -[__NSArrayM insertObject:atIndex:]: object cannot be nil"
stack trace:
Code sample
Code sample
Screenshots or Video
No response
Logs
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: