Git Product home page Git Product logo

Comments (14)

kali avatar kali commented on July 17, 2024 1

wow, this was not helpful at all. i'll try to find if i can get an iphone 4 to reproduce here.

from dinghy.

simlay avatar simlay commented on July 17, 2024 1

https://bugs.llvm.org/show_bug.cgi?id=36580 seems to be the underlying bug.

from dinghy.

kali avatar kali commented on July 17, 2024

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.

from dinghy.

boozook avatar boozook commented on July 17, 2024

Yes, it was 9.1. @kali: Thank you! It works perfectly with Sim and iPad2.2 with iOS 9.x!

from dinghy.

boozook avatar boozook commented on July 17, 2024

@kali But I have tried to run on the iPhone 4 with iOS 7.x and got

cargo dinghy devices
IosDevice { ptr: 0x7ff66ad18db0, id: "161e99fe25dd29ca57cd77096f2df8cf4467e97a", name: "℡", arch_cpu: "armv7" }

cargo dinghy test
    Finished dev [unoptimized + debuginfo] target(s) in 0.0 secs
error: e800009c

cargo dinghy test
    Finished dev [unoptimized + debuginfo] target(s) in 0.0 secs
error: e800009c

Building time in 0.0 secs because already built.

screen shot 2018-02-21 at 21 40 06

from dinghy.

kali avatar kali commented on July 17, 2024

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

from dinghy.

boozook avatar boozook commented on July 17, 2024

So...
I created test iOS app with minis-ver = 7.1.
Built for generic iOS device & sign.

And ios-deploy successfully installed that onto the iPhone4.
But cannot connect debugger (yet).


~/Developer/Projects/xcodetestappios > (1) ios-deploy -b /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/ -c
[....] Waiting up to 5 seconds for iOS device to be connected
[....] Found 161e99fe25dd29ca57cd77096f2df8cf4467e97a (N90AP, iPhone 4 (GSM), iphoneos, armv7) a.k.a. '℡' connected through USB.
~/Developer/Projects/xcodetestappios > (1) ios-deploy -b /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/
[....] Waiting for iOS device to be connected
[....] Using 161e99fe25dd29ca57cd77096f2df8cf4467e97a (UNKN, Unknown Device, uknownos, unkarch).
------ Install phase ------
[  0%] Found 161e99fe25dd29ca57cd77096f2df8cf4467e97a (UNKN, Unknown Device, uknownos, unkarch) connected through WIFI, beginning install
[  7%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/_CodeSignature/CodeResources to device
[  9%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib to device
[  9%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/LaunchScreen.storyboardc/Info.plist to device
[ 10%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib to device
[ 12%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC~ipad.nib/objects-8.0+.nib to device
[ 13%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC~ipad.nib/runtime.nib to device
[ 15%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC~iphone.nib/objects-8.0+.nib to device
[ 16%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC~iphone.nib/runtime.nib to device
[ 18%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/Main.storyboardc/UIViewController-BYZ-38-t0r~ipad.nib/objects-8.0+.nib to device
[ 19%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/Main.storyboardc/UIViewController-BYZ-38-t0r~ipad.nib/runtime.nib to device
[ 20%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/Main.storyboardc/UIViewController-BYZ-38-t0r~iphone.nib/objects-8.0+.nib to device
[ 21%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/Main.storyboardc/UIViewController-BYZ-38-t0r~iphone.nib/runtime.nib to device
[ 23%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/Main~ipad.storyboardc/Info-8.0+.plist to device
[ 24%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/Main~ipad.storyboardc/Info.plist to device
[ 26%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/Main~iphone.storyboardc/Info-8.0+.plist to device
[ 26%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/Main~iphone.storyboardc/Info.plist to device
[ 45%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Dinghy to device
[ 47%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/embedded.mobileprovision to device
[ 48%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Info.plist to device
[ 49%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/PkgInfo to device
[ 52%] CreatingStagingDirectory
[ 57%] ExtractingPackage
[ 60%] InspectingPackage
[ 60%] TakingInstallLock
[ 65%] PreflightingApplication
[ 70%] VerifyingApplication
[ 80%] InstallingApplication
[ 85%] PostflightingApplication
[ 90%] SandboxingApplication
[100%] Installed package /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/
~/Developer/Projects/xcodetestappios > (1) ios-deploy -b /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/ -d
[....] Waiting for iOS device to be connected
[....] Using 161e99fe25dd29ca57cd77096f2df8cf4467e97a (N90AP, iPhone 4 (GSM), iphoneos, armv7) a.k.a. '℡'.
------ Install phase ------
[  0%] Found 161e99fe25dd29ca57cd77096f2df8cf4467e97a (N90AP, iPhone 4 (GSM), iphoneos, armv7) a.k.a. '℡' connected through USB, beginning install
[  7%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/_CodeSignature/CodeResources to device
[  9%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib to device
[  9%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/LaunchScreen.storyboardc/Info.plist to device
[ 10%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib to device
[ 12%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC~ipad.nib/objects-8.0+.nib to device
[ 13%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC~ipad.nib/runtime.nib to device
[ 15%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC~iphone.nib/objects-8.0+.nib to device
[ 16%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC~iphone.nib/runtime.nib to device
[ 18%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/Main.storyboardc/UIViewController-BYZ-38-t0r~ipad.nib/objects-8.0+.nib to device
[ 19%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/Main.storyboardc/UIViewController-BYZ-38-t0r~ipad.nib/runtime.nib to device
[ 20%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/Main.storyboardc/UIViewController-BYZ-38-t0r~iphone.nib/objects-8.0+.nib to device
[ 21%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/Main.storyboardc/UIViewController-BYZ-38-t0r~iphone.nib/runtime.nib to device
[ 23%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/Main~ipad.storyboardc/Info-8.0+.plist to device
[ 24%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/Main~ipad.storyboardc/Info.plist to device
[ 26%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/Main~iphone.storyboardc/Info-8.0+.plist to device
[ 26%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/Main~iphone.storyboardc/Info.plist to device
[ 45%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Dinghy to device
[ 47%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/embedded.mobileprovision to device
[ 48%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Info.plist to device
[ 49%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/PkgInfo to device
[ 52%] CreatingStagingDirectory
[ 57%] ExtractingPackage
[ 60%] InspectingPackage
[ 60%] TakingInstallLock
[ 65%] PreflightingApplication
[ 70%] VerifyingApplication
[ 80%] InstallingApplication
[ 85%] PostflightingApplication
[ 90%] SandboxingApplication
[100%] Installed package /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/
------ Debug phase ------
Starting debug of 161e99fe25dd29ca57cd77096f2df8cf4467e97a (N90AP, iPhone 4 (GSM), iphoneos, armv7) a.k.a. '℡' connected through USB...
2018-02-21 22:22:32.391 ios-deploy[76142:5062398] [ !! ] Unable to locate DeviceSupport directory with suffix 'DeveloperDiskImage.dmg'. This probably means you don't have Xcode installed, you will need to launch the app manually and logging output will not be shown!
~/Developer/Projects/xcodetestappios > (1) 

from dinghy.

kali avatar kali commented on July 17, 2024

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.

from dinghy.

boozook avatar boozook commented on July 17, 2024

I'd install DeviceSupport image into Xcode (how) and ios-deploy works perfectly!

~/Developer/Projects/xcodetestappios > (1) ios-deploy -b /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/ --detect_deadlock -v -d
[....] Waiting for iOS device to be connected
[....] Using 161e99fe25dd29ca57cd77096f2df8cf4467e97a (N90AP, iPhone 4 (GSM), iphoneos, armv7) a.k.a. '℡'.
------ Install phase ------
[  0%] Found 161e99fe25dd29ca57cd77096f2df8cf4467e97a (N90AP, iPhone 4 (GSM), iphoneos, armv7) a.k.a. '℡' connected through USB, beginning install
[  5%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/_CodeSignature/CodeResources to device
[  8%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/LaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib to device
[  9%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/LaunchScreen.storyboardc/Info.plist to device
[  9%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/LaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib to device
[ 11%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC~ipad.nib/objects-8.0+.nib to device
[ 12%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC~ipad.nib/runtime.nib to device
[ 14%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC~iphone.nib/objects-8.0+.nib to device
[ 15%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/Main.storyboardc/BYZ-38-t0r-view-8bC-Xf-vdC~iphone.nib/runtime.nib to device
[ 17%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/Main.storyboardc/UIViewController-BYZ-38-t0r~ipad.nib/objects-8.0+.nib to device
[ 18%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/Main.storyboardc/UIViewController-BYZ-38-t0r~ipad.nib/runtime.nib to device
[ 19%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/Main.storyboardc/UIViewController-BYZ-38-t0r~iphone.nib/objects-8.0+.nib to device
[ 20%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/Main.storyboardc/UIViewController-BYZ-38-t0r~iphone.nib/runtime.nib to device
[ 23%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/Main~ipad.storyboardc/Info-8.0+.plist to device
[ 23%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/Main~ipad.storyboardc/Info.plist to device
[ 25%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/Main~iphone.storyboardc/Info-8.0+.plist to device
[ 26%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Base.lproj/Main~iphone.storyboardc/Info.plist to device
[ 28%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Dinghy to device
[ 45%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/embedded.mobileprovision to device
[ 47%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/Info.plist to device
[ 48%] Copying /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/PkgInfo to device
[ 52%] CreatingStagingDirectory
[ 57%] ExtractingPackage
[ 60%] InspectingPackage
[ 60%] TakingInstallLock
[ 65%] PreflightingApplication
[ 65%] InstallingEmbeddedProfile
[ 70%] VerifyingApplication
[ 75%] CreatingContainer
[ 80%] InstallingApplication
[ 85%] PostflightingApplication
[ 90%] SandboxingApplication
[ 95%] GeneratingApplicationMap
[100%] Installed package /Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app/
------ Debug phase ------
Starting debug of 161e99fe25dd29ca57cd77096f2df8cf4467e97a (N90AP, iPhone 4 (GSM), iphoneos, armv7) a.k.a. '℡' connected through USB...
[  0%] Looking up developer disk image
[ 90%] Mounting developer disk image
[ 95%] Developer disk image already mounted
[100%] Connecting to remote debug server
-------------------------
(lldb) command source -s 0 '/tmp/C3439430-E0EE-40C2-B627-51018D87A999/fruitstrap-lldb-prep-cmds-161e99fe25dd29ca57cd77096f2df8cf4467e97a'
Executing commands in '/tmp/C3439430-E0EE-40C2-B627-51018D87A999/fruitstrap-lldb-prep-cmds-161e99fe25dd29ca57cd77096f2df8cf4467e97a'.
(lldb)     platform select remote-ios --sysroot '/Users/fzzr/Library/Developer/Xcode/iOS DeviceSupport/7.1.2 (11D257)/Symbols'
  Platform: remote-ios
 Connected: no
  SDK Path: "/Users/fzzr/Library/Developer/Xcode/iOS DeviceSupport/7.1.2 (11D257)/Symbols"
(lldb)     target create "/Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app"
Current executable set to '/Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos/Dinghy.app' (armv7).
(lldb)     script fruitstrap_device_app="/private/var/mobile/Applications/9841485C-5920-4D50-BF66-C2076434EE38/Dinghy.app"
(lldb)     script fruitstrap_connect_url="connect://127.0.0.1:55120"
(lldb)     target modules search-paths add /usr "/Users/fzzr/Library/Developer/Xcode/iOS DeviceSupport/7.1.2 (11D257)/Symbols/usr" /System "/Users/fzzr/Library/Developer/Xcode/iOS DeviceSupport/7.1.2 (11D257)/Symbols/System" "/private/var/mobile/Applications/9841485C-5920-4D50-BF66-C2076434EE38" "/Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos" "/var/mobile/Applications/9841485C-5920-4D50-BF66-C2076434EE38" "/Users/fzzr/Developer/Projects/xcodetestappios/Dinghy/Build/Products/Debug-iphoneos" /Developer "/Users/fzzr/Library/Developer/Xcode/iOS DeviceSupport/7.1.2 (11D257)/Symbols/Developer"
(lldb)     command script import "/tmp/C3439430-E0EE-40C2-B627-51018D87A999/fruitstrap_161e99fe25dd29ca57cd77096f2df8cf4467e97a.py"
(lldb)     command script add -f fruitstrap_161e99fe25dd29ca57cd77096f2df8cf4467e97a.connect_command connect
(lldb)     command script add -s asynchronous -f fruitstrap_161e99fe25dd29ca57cd77096f2df8cf4467e97a.run_command run
(lldb)     command script add -s asynchronous -f fruitstrap_161e99fe25dd29ca57cd77096f2df8cf4467e97a.autoexit_command autoexit
(lldb)     command script add -s asynchronous -f fruitstrap_161e99fe25dd29ca57cd77096f2df8cf4467e97a.safequit_command safequit
(lldb)     connect
(lldb)     run
success
(lldb) l
   12  	int main(int argc, char * argv[]) {
   13  		@autoreleasepool {
   14  		    return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
   15  		}
   16  	}
(lldb) 
...

But not dinghy :( - getting the same error e800009c.

from dinghy.

kali avatar kali commented on July 17, 2024

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.

from dinghy.

boozook avatar boozook commented on July 17, 2024
~/Developer/Projects/project > cargo dinghy test -vv
       Fresh cc v1.0.4
       Fresh unicode-xid v0.0.4
       Fresh libc v0.2.36
       Fresh byteorder v1.2.1
       Fresh quote v0.3.15
       Fresh zero v0.1.2
       Fresh lazy_static v1.0.0
       Fresh inflate v0.1.1
       Fresh {... some dependencies ...}
       Fresh enumflags v0.2.1
       Fresh image v0.10.4
       Fresh project v0.0.1 (file:///Users/fzzr/Developer/Projects/project)
    Finished dev [unoptimized + debuginfo] target(s) in 0.0 secs
error: e800009c
~/Developer/Projects/project > cargo dinghy devices
IosDevice { ptr: 0x7f81da40eeb0, id: "161e99fe25dd29ca57cd77096f2df8cf4467e97a", name: "℡", arch_cpu: "armv7" }

With -v result is same as with -vv

from dinghy.

kali avatar kali commented on July 17, 2024

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 :/

from dinghy.

kali avatar kali commented on July 17, 2024

Rectification, that was an iphone 4s. Yours is a 4, not a 4s ?

from dinghy.

boozook avatar boozook commented on July 17, 2024

4, not a 4s.
On the iPhone 4 maximal OS version is 7.x.

from dinghy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.