-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Platform
IOS 16.6.1
Plugin
connectivity_plus
Version
4.0.2
Flutter SDK
3.13.5
Steps to reproduce
-
Create new Flutter project in VS-Code ('empty flutter project'). Code attached is unchanged from the template project
-
Run project on real IOS device (iPhone 13 pro in m case). Output:
Launching lib/main.dart on ... in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: XXX
Xcode build done.
(lldb) 2023-09-21 22:53:07.512889+0100 Runner[853:88338] [VERBOSE-2:FlutterDarwinContextMetalImpeller.mm(37)] Using the Impeller rendering backend.
Connecting to VM Service at ws://127.0.0.1:64855/EZy9MDloE_s=/ws
-
install connectivity_plus (flutter pub add connectivity_plus)
-
Re-run project. Output:
Xcode build done.
(lldb) 2023-09-21 22:56:21.599196+0100 Runner[858:90229] [VERBOSE-2:FlutterDarwinContextMetalImpeller.mm(37)] Using the Impeller rendering backend.
thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
frame #0: 0x0000000000000000
error: memory read failed for 0x0
Target 0: (Runner) stopped.
Error launching application on device.
Code Sample
import 'package:flutter/material.dart';
void main() {
runApp(const MainApp());
}
class MainApp extends StatelessWidget {
const MainApp({super.key});
@override
Widget build(BuildContext context) {
return const MaterialApp(
home: Scaffold(
body: Center(
child: Text('Hello World!'),
),
),
);
}
}
Logs
Log too long to be attached
Flutter Doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.13.5, on macOS 13.5.2 22G91 darwin-x64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.1)
[✓] VS Code (version 1.82.1)
[✓] Connected device (3 available)
[✓] Network resources
Checklist before submitting a bug
- I Google'd a solution and I couldn't find it
- I searched on StackOverflow for a solution and I couldn't find it
- I read the README.md file of the plugin
- I'm using the latest version of the plugin
- All dependencies are up to date with
flutter pub upgrade
- I did a
flutter clean
- I tried running the example project