Skip to content

During development, Flutter app on iOS occasionally won't launch #34959

@lukepighetti

Description

@lukepighetti

I just added assets to my project and now the app won't launch on iOS. I haven't tested on Android. If I remove the assets from pubspec.yaml it will launch.

I added a 7kb png file like this (green).

Screen Shot 2019-06-23 at 3 19 36 PM

flutter: 
  uses-material-design: true 
  assets:
    - assets/send.png

Error message:

Launching lib/main.dart on Luke's iPhone in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: TA8U33SGB8
Xcode build done.                                            8.5s
Configuring the default Firebase app...
6.3.0 - [Firebase/Core][I-COR000004] App with name __FIRAPP_DEFAULT does not exist.
6.3.0 - [Firebase/Analytics][I-ACS023007] Analytics v.60002000 started
6.3.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
Configured the default Firebase app __FIRAPP_DEFAULT.
Could not update files on device: OS Error: Connection reset by peer, errno = 54
Exited (sigterm)

Deps

dependencies:
  flutter:
    sdk: flutter

  crypto: ^2.0.6
  cupertino_icons: ^0.1.2
  firebase_auth: ^0.11.1+7
  firebase_database: ^3.0.3
  hydrated: ^1.2.3
  intl: ^0.15.8
  provider: ^3.0.0+1
  rxdart: ^0.22.0
  timeago: ^2.0.16

Doctor

[✓] Flutter (Channel dev, v1.7.8, on Mac OS X 10.14.5 18F132, locale en-US)
    • Flutter version 1.7.8 at /Users/lukepighetti/flutter
    • Framework revision d51fd86cdb (2 days ago), 2019-06-21 22:31:55 -0400
    • Engine revision d004bcd4d6
    • Dart version 2.4.0

 
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/lukepighetti/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /Users/lukepighetti/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 10.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.2.1, Build version 10E1001
    • CocoaPods version 1.7.2

[✓] iOS tools - develop for iOS devices
    • ios-deploy 1.9.4

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 26.0.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] VS Code (version 1.35.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.1.0

[✓] Connected device (3 available)
    • Luke's iPhone • 0bc0c4864d8e08aac4456893cded68bf0b6767d5 • ios            • iOS 12.3.2
    • macOS         • macOS                                    • darwin-x64     • Mac OS X 10.14.5 18F132
    • web           • web                                      • web-javascript • Google Chrome 75.0.3770.100 


• No issues found!

Metadata

Metadata

Assignees

Labels

a: annoyanceRepeatedly frustrating issues with non-experimental functionalitya: first hourThe first hour of using Fluttercustomer: crowdAffects or could affect many people, though not necessarily a specific customer.t: hot reloadReloading code during "flutter run"toolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions