-
Notifications
You must be signed in to change notification settings - Fork 44
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
Cannot detect simulator instance #41
Comments
Are you using Xcode 9 ? As far as we can tell, it completely broke the simulator support from LLDB, even though the actual phones are still OK. Could you try XCode 8 instead ? You will need to install it and run xcode-select before running dinghy. We will be looking for better ways to workaround this, but i doubt there is an easy fix. I'm afraid all we can really do from dinghy is detect the problem and offer suggestion, but we should definitely do that. |
Yes, it was 9.1. @kali: Thank you! It works perfectly with Sim and iPad2.2 with iOS 9.x! |
@kali But I have tried to run on the iPhone 4 with iOS 7.x and got
Building time |
Wow, this phone is a tiny bit old, I have never tested this configuration :) The best source of these error code is here: https://www.theiphonewiki.com/wiki/MobileDevice_Library, and yours is nowhere in sight. As these APIs are not really public, it may be very hard to even get an idea of what is actually going wrong. What you could do, if you're willing to spend time on this, is to have a look at https://github.com/phonegap/ios-deploy and see if it works for your iPhone 4. We have ported most of dinghy iOS support from these projects. If it does work with ios-deploy, there is a little chance we can actually find out what's wrong in dinghy... |
So... And ios-deploy successfully installed that onto the iPhone4.
|
Yeah... DeveloperDiskImage.dmg is an image that ios-deploy (and dinghy) install on the phone to be able to run and debug remotely. It has to match the architecture and ios version of the phone, and i suspect Apple do not deliver these for old phones. Not sure we can do much. |
I'd install DeviceSupport image into Xcode (how) and
|
OK, it means we can probably get it to work. Can you try running dinghy with -v or -vv to see if we have more output. |
With |
wow, this was not helpful at all. i'll try to find if i can get an iphone 4 to reproduce here. |
I got it to work, with an iphone 4, using xcode 9.2. I set it up first changing my dummy xcode Dinghy project target to ios 9.1, and then dinghy just worked as expected :/ |
Rectification, that was an iphone 4s. Yours is a 4, not a 4s ? |
4, not a 4s. |
https://bugs.llvm.org/show_bug.cgi?id=36580 seems to be the underlying bug. |
I always getting error
no valid simulator instance
but sim is already started and initially detected by dinghy.Another try:
The text was updated successfully, but these errors were encountered: