-
Notifications
You must be signed in to change notification settings - Fork 27.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android Studio not recognizing iPhone XS properly #22147
Comments
Hi, I have exactly the same problem. Were you able to fix this issue? |
No, not yet. I reinstalled pretty much all the relevant tools here and it stil only works on iPhones other than my XS, so it must be device specific. I might open this issue with the libimobiledevice repo, because I’m pretty sure that’s the code that allows flutter projects to be tested on iOS devices. |
Same problem here, but it works, when you build directly in Xcode! |
Thanks! I forgot to mention that in my issue description. XCode builds are fine but obviously don’t offer hot reload, so can’t really be used for fast development. |
this is due to ideviceinstaller, ios-deploy, and libimobiledevice expecting a 40 digit hexadecimal string for the UDID, which seems to have changed for the iPhone XS (and i would assume the max as well but i dont have one to test). I have fixed this and submitted pull requests to the 3 projects libimobiledevice/libimobiledevice#703 libimobiledevice/ideviceinstaller#102 |
Thank you! Nice work. |
Meeting the same problem with iphone xs max. |
Although these library issues have not been fixed yet, I'm going to close this since it doesn't really pertain to the flutter team. |
This also affects "flutter run" from the command line. |
Same issue with XR in Visual Studio. I can open runner and build and run project but whats the point. |
I tried updating to the latest flutter (v0.11.10-pre.1) as well as updating libimobiledevice and ideviceinstaller (flutter doctor provide the detailed instructions) and the problem went away. |
Does anyone else solve any solution for the case,? I have an iPhone XR with the same problem. |
This was solved 2 months ago, have you updated all the libraries involved? You might want to redo the installation instructions:
|
Thank you, problem has been solved. |
@timtraversy with execute all step the above mentioned , I still have the same error . I first check the version of library ideviceinstaller and libimobiledevice they are the same as my colleagues.They are 1.1.0 &1.2.0 as the image shows Then I have tried install the lib libimobiledevice by source code but failed it seems something wrong with my config. I found the newest version is 1.2.1 from make command , but not support by brew i don't know what to do next T_T This is my log from the android studio console and the flutter doctor
I am wondering what can I try next ? |
Sounds like you don't have the latest version installed. |
Is that your meaning the version of library ideviceinstaller and libimobiledevice? But my colleague has the same version and they can run applications on to ios device after iphoneX ,and launch them naturally. Meanwhile, I can't upgrade that library version more hight. It's really awkward. T_T |
@timtraversy @rafaeldalbosco @zoechi any other suggest? |
@StarJiao When you run |
@zoechi yes it has |
@StarJiao then updating |
The problem gone !!! @zoechi in fact i got the instructions and i follow the steps to execute, but it didn't works. So many thanks for you all the same for giving me confidence to solve this problem |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
I just received an iPhoneXS for development, and when I plug it into my computer, Android Studio displays this in the device list:
Instead of the usual:
You can also see this in the flutter doctor report. One of the connected devices is 'Pete's iPhone'. The other one is this huge string that shows the command line tools for ideviceinfo or libimobiledevice.
This also causes an error during installation:
I'm not sure if this is an error in Android Studio, the libimobiledevice library, or Flutter. I made sure to redo all the Flutter iOS installation instructions.
Steps to Reproduce
Logs
The text was updated successfully, but these errors were encountered: