iOS com.apple.mobile.installation.plist rebuild

iOS 6.1越狱后,天气应用会闪退。可以参考pod2g的方法,在iPhone上装OPENSSH,然后将下述脚本变成文件上传上去,然后用ssh客户端运行,亲测可行!

 

Quote from pod2g’s blog: http://www.pod2g.org/2013/02/ios-mobileinstallationplist-rebuild.html

iOS com.apple.mobile.installation.plist rebuild

People have been complaining about Weather.app not working anymore after applying evasi0n jailbreak.

We figured out that the jailbreak process messes up with com.apple.mobile.installation.plist. A fix is currently in the works and will be pushed to Cydia soon.
If you are a power-user, and want to fix the situation already, here is a script that forces a rebuild of com.apple.mobile.installation.plist :
#!/bin/bash
chmod -x /usr/libexec/mobile_installation_proxy
killall -9 mobile_installation_proxy
rm /var/mobile/Library/Caches/com.apple.mobile.installation.plist /var/mobile/Library/Caches/com.apple.LaunchServices-045.csstore
launchctl stop com.apple.mobile.installd
launchctl start com.apple.mobile.installd
while [ ! -f /var/mobile/Library/Caches/com.apple.mobile.installation.plist ];
do
      sleep 1
done
while [ ! -f /var/mobile/Library/Caches/com.apple.LaunchServices-045.csstore ];
do
      sleep 1
done
sleep 10
chmod +x /usr/libexec/mobile_installation_proxy
sync
reboot
Before trying it, make sure to do a backup. It has already been thoroughly tested, but it is safer.

You can contact me on twitter (follow button on the top right) if you want to discuss of this fix.

I hope it helps.

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注