Skip to content
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

Could not start com.apple.debugserver! #1

Open
hepha opened this issue Jun 6, 2012 · 9 comments
Open

Could not start com.apple.debugserver! #1

hepha opened this issue Jun 6, 2012 · 9 comments

Comments

@hepha
Copy link

hepha commented Jun 6, 2012

hello
i use arch linux
i will run idevice-app-runner
but have bug
plz help me
thx

idevice-app-runner -d -U ID -r ipod/private/var/mobile/Applications/
Could not start com.apple.debugserver!

@crackleware
Copy link
Owner

Hi! Thank you for trying out idevice-app-runner!

Be sure to execute idevice-app-runner like this:

idevice-app-runner -U ID -r /private/var/mobile/Applications/HHHHHHHH-HHHH-HHHH-HHHH-HHHHHHHHHHHH/NameAppBundle.app

where H is hex digit from UUID of target app. There is also name of the app bundle at the end of path. Look at the output of 'ideviceinstaller -l -o xml', you should see the full path precisely.

All the best!

@hepha
Copy link
Author

hepha commented Jun 6, 2012

hello and thank you
i use ifuse mount to ~/ipod

[~/ipod]

idevice-app-runner -r private/var/mobile/Applications/2070D493-B37F-4338-8CFA-9C635ADD7CE7/cwb.app
Could not start com.apple.debugserver!

i debug show this

ideviceinstaller -l -o xml|grep app<
/private/var/mobile/Applications/23483782-510A-4260-8B81-8D620A3B4AFC/TW Railway.app
/private/var/mobile/Applications/5C8857B9-77B7-4816-9571-D38605048BE3/geLinStory.app
/private/var/mobile/Applications/7F5C8140-EC2F-4936-9A80-F7FD5CBC567D/HamiMusic.app
/private/var/mobile/Applications/7046FA69-3F22-4663-A6CD-FC8C98D9EC49/Drainworks.app
/private/var/mobile/Applications/5DDA22BA-E4DC-4E40-9DE0-F1482AA5F101/AppsGratis-Taiwan.app
/private/var/mobile/Applications/26A2D6A5-E28C-40C2-97F8-F7D682931D54/WM-24H-MC.app
/private/var/mobile/Applications/AC84CD36-5FF9-4C12-BB2C-F845BAC802F8/TS3.app
/private/var/mobile/Applications/D2F760FB-6206-46FF-BCD0-B541312A42A0/XinLiaoZhaiDuanPian20111026155744.app
/private/var/mobile/Applications/257E5B12-C614-4C65-BF5E-0D786BF3829A/CourseInfo.app
/private/var/mobile/Applications/F09ED294-7276-4DFA-A636-006BD7BEA397/Notebox.app
/private/var/mobile/Applications/21404EEA-AB3C-4B37-9728-7698F7AC7722/FreeApps100.app
/private/var/mobile/Applications/3FBF4B6A-C044-48F8-9818-AF6534D803AF/TuneIn Radio Pro.app
/private/var/mobile/Applications/CF65005F-872C-4C05-9155-8C05E4838DED/QRadioPlayerTaiwanLite.app
/private/var/mobile/Applications/9FC3705A-DDFA-409A-8A83-A1082D95D08E/Dropbox.app
/private/var/mobile/Applications/B13D6403-1B75-4CC7-9347-72E959B45C3A/TWWeather.app
/private/var/mobile/Applications/2F8A0B80-DD8D-42EE-883F-C8DB329B8E44/ChineseFairyTale.app
/private/var/mobile/Applications/F8F389BE-0385-4919-83CB-792A654EE6DA/FeedMeOil.app
/private/var/mobile/Applications/AD790968-9C4A-4010-9717-E846A11BF65E/TaiwanReceiptFree.app
/private/var/mobile/Applications/4398206B-4341-4D7F-9D8A-D4074001A147/Mp3Player.app
/private/var/mobile/Applications/2DEE66DF-67F7-49BB-B2B4-95F951DE4867/ToliBook.app
/private/var/mobile/Applications/A30413DC-0DCE-44BF-A7C1-019BC71BCA88/TEDPlayer.app
/private/var/mobile/Applications/A321C283-6409-4FE7-8582-49A65876B75B/LifeWisdom.app
/private/var/mobile/Applications/7936F670-2CC8-4284-B7D6-2F9C360A61BD/JingXuanAnTuShengTongHuaInApp.app
/private/var/mobile/Applications/E09C201B-02DF-4038-8EDF-EDC0CD87584A/Roudoku.app
/private/var/mobile/Applications/A6C6261C-EE82-4FF9-8FA1-E09E022D45B8/MyRadioTW.app
/private/var/mobile/Applications/2070D493-B37F-4338-8CFA-9C635ADD7CE7/cwb.app
/private/var/mobile/Applications/34793EBD-C643-45C8-95DD-C760E384FC65/GoodPlayer.app
/private/var/mobile/Applications/00450FDD-491D-40ED-B65E-FDDAAB5EC843/iFanbox.app
/private/var/mobile/Applications/82C480E2-BBF1-4E03-AA4F-0FEBD9DA55B2/BedtimeStories.app
/private/var/mobile/Applications/4920D8A1-DA3A-4E79-8567-D32C40A1CCF1/ .app
/private/var/mobile/Applications/51103DDE-6DC5-48EC-862A-85907CBCEEAA/DiZiGuiZhuYinBanInApp.app
/private/var/mobile/Applications/71436FDE-5A98-4008-A2CE-05BABB6DB7D0/Ertonggushi.app
/private/var/mobile/Applications/DA51A916-B530-4FD0-9730-DB54AFE87A30/project.app
/private/var/mobile/Applications/8FD7DD63-4D94-43CB-AC1B-6131806F2426/TaskAgentFree.app
/private/var/mobile/Applications/68153CD4-75A4-47AC-A3BB-08881CEE4530/GameApe.app
/private/var/mobile/Applications/FB551437-A360-4C4C-A1DE-8D736B232116/aupeo.app
/private/var/mobile/Applications/052CD53E-910D-411B-8D6A-00B3F104994C/PoemsT.app
/private/var/mobile/Applications/2B2EC073-AEC2-4039-A578-AF9604723DF2/QTRadio.app
/private/var/mobile/Applications/C5165BA8-06AE-42ED-B4DA-9C3BC8DA0D3E/PhotoManager.app

@crackleware
Copy link
Owner

How about this:

idevice-app-runner -r /private/var/mobile/Applications/2070D493-B37F-4338-8CFA-9C635ADD7CE7/cwb.app

(there was / missing)

You don't have to mount it to use idevice-app-runner. But it's possible that developer image must be mounted (with idevicemountimage or from Xcode) prior to using idevice-app-runner. I'm not sure.

Tell me if it still doesn't work. We'll run it in the end I'm sure. :-)

Best regards!

@hepha
Copy link
Author

hepha commented Jun 10, 2012

A pity not to use or Thank you for your help

@hepha
Copy link
Author

hepha commented Jun 10, 2012

I do not know if the backup of previous versions of iOS upgrade are not satisfied, can revert to the older use idevicebackup2?

@crackleware
Copy link
Owner

Hi,

I tested idevice-app-runner 2bcf6f2 with http://cgit.sukimashita.com/libimobiledevice.git/commit/?id=96e06ea1e4dabd2a3d4b51c799842dee2e279f30 on Ubuntu 10.04 x86_64. Device is iPod Touch with iOS 5.1.1.

This is transcript:

$ idevice-app-runner -r /private/var/mobile/Applications/HHHHHHHH-HHHH-HHHH-HHHH-HHHHHHHHHHHH/MyApp.app
Could not start com.apple.debugserver!

$ ideviceimagemounter dev-images/5.0/DeveloperDiskImage.dmg{,.signature}
Copying 'dev-images/5.0/DeveloperDiskImage.dmg' --> 'PublicStaging/DeveloperDiskImage.dmg'
done.
Mounting...
Done.
Status: Complete

$ md5sum dev-images/5.0/DeveloperDiskImage.dmg{,.signature}
ab3cef6742373cbb3e6fa8494fa8f3a5 dev-images/5.0/DeveloperDiskImage.dmg
bd82a7ba338b8753bd2b66997c055dc3 dev-images/5.0/DeveloperDiskImage.dmg.signature

$ idevice-app-runner -r /private/var/mobile/Applications/HHHHHHHH-HHHH-HHHH-HHHH-HHHHHHHHHHHH/MyApp.app
....
��'Hc0'
��'c'
....
(normal output)

You just need to mount developer image once after device reboot.

I can send you DeveloperDiskImage.dmg{,.signature} if you don't have it. It comes with Xcode.

All the best!

@uncommonthinker
Copy link

Hi,

I am getting
usbmuxd_send: Error -1 when sending: Broken pipe

What can be the reason ?

@warfreak92
Copy link

Hi,

I am trying to run this too but I get a different error from the other guys:

Ralphs-MacBook-Pro:idevice-app-runner ralph$ ./idevice-app-runner -d -r /private/var/mobile/Containers/Bundle/Application/645D85DC-9571-4236-9C36-F65EB3FE3B71/DamnVulnerableIOSApp.app
Segmentation fault: 11

What could be the reason for a segmentation fault here?

@uncommonthinker
Copy link

Hi @ralphandalis, as per the git page of idevice-app-runner:

Linux 3.0, x86_64, libimobiledevice-git, iOS 4.1 - works
Linux 3.0, x86_64, libimobiledevice-git, iOS 5.0.1 - works
Linux 3.0, i686, libimobiledevice-git, iOS 5.0.1 - works

Seems that they have stopped development 5 years back. So please dont try to use it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants