Skip to content

Confusing error when Xcode is too old for iOS version #9559

@eseidelGoogle

Description

@eseidelGoogle

My phone is using a more recent version of iOS than my Xcode supports. When I run on the command line I get:

eseidel@eseidel-macbookpro /src/flutter/examples/flutter_gallery %flutter run --release -d e

Launching lib/main.dart on Eric's iPhone in release mode...
Running Xcode build...                               34.3s
2017-04-24 08:59:06.331 ios-deploy[58493:4035839] [ !! ] Unable to locate DeviceSupport directory. This probably means you don't have Xcode installed, you will need to launch the app manually and logging output will not be shown!
Could not install build/ios/Release-iphoneos/Runner.app on 245efaebda74df40169418839fff2a8368bcaae5.
Try launching Xcode and selecting "Product > Run" to fix the problem:
  open ios/Runner.xcworkspace

Error running application on Eric's iPhone.

When I run in Xcode it gives me a similarly confusing error about DeviceSupport.

I suspect this is a bug in libimobiledevice and little we can do here. Just noting in case we see this again. We can just close this.

@cbracken

Metadata

Metadata

Assignees

No one assigned

    Labels

    platform-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