Skip to content

Xcode Build is done but app lost the connection with iPhone #22637

@Abosrie

Description

@Abosrie

Hello,

I have an issue in my app - Every time I run the app the Xcode build is done then the app losses the connection with the simulator.

screen shot 2018-10-03 at 11 48 44 pm

I have around 9 screens in the app -> One Important note here:

This issue is coming when placing the [Splash screen / Login Screen / Sign up] as main! But when I place the Home Class the app works fine.

Flutter doctor showing that everything is fine.

[✓] Flutter (Channel beta, v0.5.2-pre.1, on Mac OS X 10.13.6 17G65, locale en-IN)
    • Flutter version 0.5.2-pre.1 at /Users/Abosrie/flutterSource/flutter
    • Framework revision 43598adcc1 (8 days ago), 2018-09-26 15:23:32 +0200
    • Engine revision 1ed25ca7b7    • Dart version 2.0.0-dev.58.0.flutter-f981f09760[!] Android toolchain - develop for Android devices (Android SDK 28.0.1)
    • Android SDK at /Users/abosrie/Library/Android/sdk
    • Android NDK at /Users/abosrie/Library/Android/sdk/ndk-bundle    • Platform android-28, build-tools 28.0.1    • 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)
    ✗ Android license status unknown.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.0, Build version 10A255
    • ios-deploy 1.9.2
    • CocoaPods version 1.6.0.beta.1

[✓] 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)

[✓] Connected devices (1 available)
    • iPhone 7 • 4D0C3F7F-C729-4BC4-B932-3A88AE019999 • ios • iOS 12.0 (simulator)

! Doctor found issues in 1 category.

screen shot 2018-10-04 at 12 07 43 am

I Already tried to:
1- Clean the build and run again.
2- Change the simulator / Erase the data.

Sometimes I get this issue

RDs-MacBook-Pro:nasynew abosrie$ flutter run
Launching lib/main.dart on iPhone 7 in debug mode...
Running pod install...                                      11.7s
Starting Xcode build...
 ├─Assembling Flutter resources...                   18.6s
 └─Compiling, linking and signing...                 113.9s
Xcode build done.                                           212.0s

Oops; flutter has exited unexpectedly: "Exit code 1 from: /usr/bin/xcrun simctl install 4D0C3F7F-C729-4BC4-B932-3A88AE019999 /Users/Abosrie/flutterSource/nasynew/build/ios/iphonesimulator/Runner.app:
An error was encountered processing the command (domain=IXUserPresentableErrorDomain, code=1):
This app could not be installed at this time.
Failed to load Info.plist from bundle at path /Users/Abosrie/Library/Developer/CoreSimulator/Devices/4D0C3F7F-C729-4BC4-B932-3A88AE019999/data/Library/Caches/com.apple.mobile.installd.staging/temp.YhY7Il/extracted/Payload/Runner.app
Failed to load Info.plist from bundle at path /Users/Abosrie/Library/Developer/CoreSimulator/Devices/4D0C3F7F-C729-4BC4-B932-3A88AE019999/data/Library/Caches/com.apple.mobile.installd.staging/temp.YhY7Il/extracted/Payload/Runner.app
Underlying error (domain=MIInstallerErrorDomain, code=35):
        Failed to load Info.plist from bundle at path /Users/Abosrie/Library/Developer/CoreSimulator/Devices/4D0C3F7F-C729-4BC4-B932-3A88AE019999/data/Library/Caches/com.apple.mobile.installd.staging/temp.YhY7Il/extracted/Payload/Runner.app".
Sending crash report to Google.
Crash report sent (report ID: 175b2b035c3f46c6)
Crash report written to /Users/Abosrie/flutterSource/nasynew/flutter_01.log;
please let us know at https://github.com/flutter/flutter/issues.

Does anyone has a solution?!

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: crashStack traces logged to the consoleplatform-iosiOS applications specificallytoolAffects 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