Open
Description
Steps to reproduce
Run the plugin add2app sample (linked below) on a device running the new iOS 26 beta
(This doesn't happen only with that sample, it happens with other add2app samples as well)
Expected results
The app launches successfully (as it does on iOS 18.5)
Actual results
The app fails to launch with an error.
This is the add2app counterpart to #163984
Code sample
https://github.com/flutter/samples/tree/main/add_to_app/plugin
A workaround is to edit the scheme and set the Build Configuration
to Release
instead of Debug
Logs
Logs
`UIScene` lifecycle will soon be required. Failure to adopt will result in an assert in the future.
../../../flutter/third_party/dart/runtime/vm/virtual_memory_posix.cc: 226: error: NOTIFY_DEBUGGER_ABOUT_RX_PAGES was not intercepted as expected
version=3.8.1 (stable) (Wed May 28 00:47:25 2025 -0700) on "ios_arm64"
pid=6947, thread=259, isolate_group=(nil)(0x0), isolate=(nil)(0x0)
os=ios, arch=arm64, comp=no, sim=no
isolate_instructions=0, vm_instructions=0
fp=16d945870, sp=16d945850, pc=1066b5b64
pc 0x00000001066b5b64 fp 0x000000016d945870 Dart_DumpNativeStackTrace+0x18
pc 0x000000010625436c fp 0x000000016d945890 dart::Assert::Fail(char const*, ...) const+0x30
pc 0x0000000106402cb0 fp 0x000000016d945d10 dart::(anonymous namespace)::CheckIfNeedDebuggerHelpWithRX()::$_0::operator()(bool) const+0x224
pc 0x000000010629d52c fp 0x000000016d9467c0 dart::Dart::DartInit(Dart_InitializeParams const*)+0x33c
pc 0x0000000106695fa8 fp 0x000000016d946c40 Dart_Initialize+0x60
pc 0x000000010621aeb4 fp 0x000000016d9471f0 flutter::DartVM::Create(flutter::Settings const&, fml::RefPtr<flutter::DartSnapshot const>, fml::RefPtr<flutter::DartSnapshot const>, std::_fl::shared_ptr<flutter::IsolateNameServer>)+0x1b44
pc 0x0000000106179814 fp 0x000000016d947950 flutter::Shell::Create(flutter::PlatformData const&, flutter::TaskRunners const&, flutter::Settings, std::_fl::function<std::_fl::unique_ptr<flutter::PlatformView, std::_fl::default_delete<flutter::PlatformView>> (flutter::Shell&)> const&, std::_fl::function<std::_fl::unique_ptr<flutter::Rasterizer, std::_fl::default_delete<flutter::Rasterizer>> (flutter::Shell&)> const&, bool)+0x2fc
pc 0x0000000105d6de24 fp 0x000000016d9486d0 -[FlutterEngine createShell:libraryURI:initialRoute:]+0x9fc
pc 0x0000000105d6e934 fp 0x000000016d948710 -[FlutterEngine runWithEntrypoint:libraryURI:initialRoute:entrypointArgs:]+0x64
pc 0x00000001025e6d3c fp 0x000000016d9487d0 $s14IOSUsingPlugin11AppDelegateC11application_29didFinishLaunchingWithOptionsSbSo13UIApplicationC_SDySo0k6LaunchJ3KeyaypGSgtF+0x11c
pc 0x00000001025e6fe0 fp 0x000000016d948840 $s14IOSUsingPlugin11AppDelegateC11application_29didFinishLaunchingWithOptionsSbSo13UIApplicationC_SDySo0k6LaunchJ3KeyaypGSgtFTo+0xdc
pc 0x000000018d6ab60c fp 0x000000016d9488b0 <redacted>+0x154
pc 0x000000018d6acbb0 fp 0x000000016d948c00 <redacted>+0xc24
pc 0x000000018d6b0e84 fp 0x000000016d948df0 <redacted>+0x30c
pc 0x000000018ccd4004 fp 0x000000016d948e20 <redacted>+0x74
pc 0x000000018c4517c0 fp 0x000000016d948e70 _UIScenePerformActionsWithLifecycleActionMask+0x70
pc 0x000000018ccd4980 fp 0x000000016d948f30 <redacted>+0xfc
pc 0x000000018ccd448c fp 0x000000016d948fa0 <redacted>+0xd4
pc 0x000000018ccd4798 fp 0x000000016d9490b0 <redacted>+0x260
pc 0x000000018ccd4124 fp 0x000000016d949120 <redacted>+0xf4
pc 0x000000018ccdff94 fp 0x000000016d949160 <redacted>+0x94
pc 0x000000018d150120 fp 0x000000016d949260 <redacted>+0x2e0
pc 0x000000018c4518ec fp 0x000000016d9492d0 _UISceneSettingsDiffActionPerformChangesWithTransitionContextAndCompletion+0xe0
pc 0x000000018ccdfc90 fp 0x000000016d9493d0 <redacted>+0x13c
pc 0x000000018cb29384 fp 0x000000016d949520 <redacted>+0x268
pc 0x000000018cb28438 fp 0x000000016d949690 <redacted>+0xd0
pc 0x000000018cb28ff0 fp 0x000000016d949750 <redacted>+0xf4
pc 0x000000018d6afe60 fp 0x000000016d949810 <redacted>+0x1dc
pc 0x000000018d179eb0 fp 0x000000016d9498a0 <redacted>+0x120
pc 0x00000001a5f44d5c fp 0x000000016d949a50 <redacted>+0x16c
pc 0x00000001a5f45214 fp 0x000000016d949a90 <redacted>+0x80
pc 0x00000001a5f44b74 fp 0x000000016d949b60 <redacted>+0x1b4
pc 0x00000001a5fb3414 fp 0x000000016d949c20 <redacted>+0x120
pc 0x00000001a5f52e08 fp 0x000000016d949c60 <redacted>+0xa8
pc 0x00000001a5f6fd34 fp 0x000000016d949db0 <redacted>+0x1e0
pc 0x00000001a5f71698 fp 0x000000016d949e40 <redacted>+0x10c
pc 0x00000001a5f52e08 fp 0x000000016d949e80 <redacted>+0xa8
pc 0x000000010327e2b0 fp 0x000000016d949e90 _dispatch_client_callout+0x10
pc 0x0000000103268978 fp 0x000000016d949ee0 _dispatch_block_invoke_direct+0x128
pc 0x00000001a603c514 fp 0x000000016d949f10 <redacted>+0x34
pc 0x00000001a603b4d4 fp 0x000000016d949f90 <redacted>+0xe0
pc 0x0000000189732960 fp 0x000000016d949fa0 <redacted>+0x1c
pc 0x0000000189732778 fp 0x000000016d949fd0 <redacted>+0xac
pc 0x0000000189732638 fp 0x000000016d94a030 <redacted>+0x14c
pc 0x0000000189732f54 fp 0x000000016d94ada0 <redacted>+0x348
pc 0x000000018982c234 fp 0x000000016d94ae30 <redacted>+0x234
pc 0x00000001da79a424 fp 0x000000016d94ae80 GSEventRunModal+0x78
pc 0x000000018c43c9a0 fp 0x000000016d94af00 <redacted>+0x318
pc 0x000000018c42a358 fp 0x000000016d94af90 UIApplicationMain+0x150
pc 0x00000001025e7334 fp 0x000000016d94afc0 __debug_main_executable_dylib_entry_point+0x40
pc 0x00000001869cfa5c fp 0x000000016d94b630 <redacted>+0x182c
-- End of DumpStackTrace
Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.32.2, on macOS 15.5 24F74 darwin-arm64, locale en-US) [747ms]
• Flutter version 3.32.2 on channel stable at /Users/deanli/dev/stable
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 8defaa71a7 (7 days ago), 2025-06-04 11:02:51 -0700
• Engine revision 1091508939
• Dart version 3.8.1
• DevTools version 2.45.1
[✓] Android toolchain - develop for Android devices (Android SDK version 36.0.0) [3.9s]
• Android SDK at /Users/deanli/Library/Android/sdk
• Platform android-36, build-tools 36.0.0
• Java binary at: /Users/deanli/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 21.0.6+-13391695-b895.109)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 26.0) [1,301ms]
• Xcode at /Applications/Xcode-26.0.0-Beta.app/Contents/Developer
• Build 17A5241e
• CocoaPods version 1.16.2
[✓] Chrome - develop for the web [9ms]
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2025.1) [9ms]
• Android Studio at /Users/deanli/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.6+-13391695-b895.109)
[✓] VS Code (version 1.100.0) [8ms]
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.112.0
[✓] Connected device (6 available) [7.3s]
• iPhone 16 Pro Max (wireless) (mobile) • 00008140-00194CC23A68801C • ios • iOS 26.0 23A5260n
• Nexus (wireless) (mobile) • 00008020-001875E83A38002E • ios • iOS 18.5 22F76
• Dean’s iPad (wireless) (mobile) • 00008103-000825C811E3401E • ios • iOS 26.0 23A5260n
• iPhone 16 Pro (mobile) • 38325374-D93B-423B-B385-813AAD3B304D • ios • com.apple.CoreSimulator.SimRuntime.iOS-26-0 (simulator)
• macOS (desktop) • macos • darwin-arm64 • macOS 15.5 24F74 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 137.0.7151.69
! Error: Browsing on the local area network for iPhone. 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 [1,853ms]
• All expected network resources are available.
• No issues found!
[!] Flutter (Channel master, 3.33.0-1.0.pre.426, on macOS 15.5 24F74 darwin-arm64, locale en-US) [3.1s]
• Flutter version 3.33.0-1.0.pre.426 on channel master at /Users/deanli/dev/master
! Warning: `flutter` on your path resolves to /Users/deanli/dev/stable/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/deanli/dev/master. Consider adding /Users/deanli/dev/master/bin to the front of your path.
! Warning: `dart` on your path resolves to /Users/deanli/dev/stable/bin/dart, which is not inside your current Flutter SDK checkout at /Users/deanli/dev/master. Consider adding /Users/deanli/dev/master/bin to the front of your path.
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision b086fe7b79 (31 hours ago), 2025-06-10 09:38:08 +0800
• Engine revision b086fe7b79
• Dart version 3.9.0 (build 3.9.0-211.0.dev)
• DevTools version 2.48.0-dev.0
• If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.
[✓] Android toolchain - develop for Android devices (Android SDK version 36.0.0) [1,432ms]
• Android SDK at /Users/deanli/Library/Android/sdk
• Emulator version 35.6.9.0 (build_id 13473012) (CL:N/A)
• Platform android-36, build-tools 36.0.0
• Java binary at: /Users/deanli/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 21.0.6+-13391695-b895.109)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 26.0) [1,121ms]
• Xcode at /Applications/Xcode-26.0.0-Beta.app/Contents/Developer
• Build 17A5241e
• CocoaPods version 1.16.2
[✓] Chrome - develop for the web [10ms]
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2025.1) [9ms]
• Android Studio at /Users/deanli/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.6+-13391695-b895.109)
[✓] VS Code (version 1.100.0) [8ms]
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.112.0
[✓] Connected device (6 available) [6.2s]
• iPhone 16 Pro Max (wireless) (mobile) • 00008140-00194CC23A68801C • ios • iOS 26.0 23A5260n
• Nexus (wireless) (mobile) • 00008020-001875E83A38002E • ios • iOS 18.5 22F76
• Dean’s iPad (wireless) (mobile) • 00008103-000825C811E3401E • ios • iOS 26.0 23A5260n
• iPhone 16 Pro (mobile) • 38325374-D93B-423B-B385-813AAD3B304D • ios • com.apple.CoreSimulator.SimRuntime.iOS-26-0 (simulator)
• macOS (desktop) • macos • darwin-arm64 • macOS 15.5 24F74 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 137.0.7151.69
! Error: Browsing on the local area network for iPhone. 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 [685ms]
• All expected network resources are available.
! Doctor found issues in 1 category.