如何通过命令行删除 iPhone 应用程序
我想通过命令行卸载我的应用程序,但我不知道该怎么做,我发现有人说下面的命令可以做到这一点:
- 在 Mac 终端中,通过 SSH 进入你的 iPhone ssh -l root 10.0.1.4 [密码] cd /Applications/xxx.app rm . cd ../ rmdir xxx.app 退出
- 重新启动 iPhone。应用程序小部件应该消失,不再出现在 Springboard 上。
但在我的手机中,我发现我的应用程序不在路径“/Applications/”中,所以任何人都可以给我一些帮助,提前感谢。
谢谢 rjstelling,我知道 iFile 可以做这样的事情,但我想要的是通过命令行删除我的应用程序,现在我使用不智能的方法来做到这一点,只需在 /var/mobile/Applications 中找到我的应用程序,然后删除包含它的目录,你知道这一切都可以通过命令来完成,我希望我能找到一个更好的主意来做到这一点。
I would like to uninstall my app through the command line, and i have no idea how to do it, i find someone said the below command can do it:
- In Mac Terminal, SSH into your iPhone ssh -l root 10.0.1.4 [password] cd /Applications/xxx.app rm . cd ../ rmdir xxx.app exit
- Restart iPhone. Application widget should be gone, no longer appearing on the Springboard.
but in my phone, i just find that my app is not in the path "/Applications/", so anybody can give me some help, thanks in advance.
Thanks rjstelling, i know the iFile can do such thing, but what i want is to remove my app through the command line, now i do it using an unsmart method, just find my app in /var/mobile/Applications, then delete the dir who contain it, you know all this can be done through command, i hope i can find a better idea to do it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您想删除从 App Store 下载的应用程序,您可以直接在 Springboard(在您的 iPhone 上)中执行此操作。如果您不能这样做,您可以在文件夹 (/private)/var/mobile/Applications/ 中删除它,其中有从 App Store 安装或同步的应用程序。 (在 /Applications/ 中,您将找到 Cydia、Camera、Safari 等...)
为此,您首先必须找出该文件夹中应用程序的“散列”名称,因为您找不到在“InfinityBlade.app”中,您会发现一些随机字母和数字。
您还可以通过从 Cydia 安装一个名为 iFile 的程序来删除它,然后检查设置“显示应用程序名称”或类似的内容,然后再次转到 (/private)/var/mobile/Applications/ 您应该删除的位置现在看到应用程序的真实名称,然后只需通过“用手指从左向右滑动”手势将其删除,然后单击删除即可。
希望这对你有用,它应该 100% 有效;-)
更新: 这是一个链接,其中描述了我对 iFile 的含义,只是不要进入 /var /stash/Applications 但 /var/mobile/Applications
http://www.youtube.com/watch?v=ftssbPYiBDw
if you want to delete an application downloaded from an App Store you can do so right in the Springboard (on your iPhone). If you can't do that, you can delete it in a folder (/private)/var/mobile/Applications/ there are apps installed from App Store or synced. (in /Applications/ you will find Cydia, Camera, Safari, etc...)
To do so, you will first have to find out what is the "hashed" name of the Applications in that folder, because you won't find "InfinityBlade.app" in there, you will find some random letters and numbers.
You can also delete it by installing a program called iFile from the Cydia and then by checking in the settings "Show application names" or something like that and then again by going to (/private)/var/mobile/Applications/ where you should see now the real name of the applications and then simply delete it by the gesture "slide from left to right with your finger" and click delete.
Hope this works for you, it should work 100% ;-)
Update: This is a link where is sort of described what I meant with the iFile, just don't go into /var/stash/Applications but /var/mobile/Applications
http://www.youtube.com/watch?v=ftssbPYiBDw
如果你的手机被允许(如果你不能使用它,也许安装 cydelete 会给你 apt-get)你也许可以使用
If your phone is allowed to (perhaps installing cydelete will give you apt-get if you cant use it) you may be able to use