標題: [心得分享] How To Fix Cydia Tweak Errors On iOS 7 With BootStrap [打印本頁] 作者: yakitori2009 時間: 2013-12-27 09:42 AM 標題: How To Fix Cydia Tweak Errors On iOS 7 With BootStrap
本帖最後由 yakitori2009 於 2013-12-31 07:48 PM 編輯
Update: Saurik has announced the release of Cydia Substrate 0.9.5000 bringing compatibility with iOS 7 and the ARM64 CPU used in the iPhone 5s, iPad Air, and iPad mini 2.
Cydia Substrate supports frameworks used by iPhone projects such as WinterBoard, Activator, and Five Icon Dock. The general idea is that there are a number of reasons one might want to hook functionality into an existing application. In order to do this there are a few dangerous or complex steps. By cnetralizing the code for these we can hope to get them right. As an example, MobileSubstrate provides a simple platform (one integrated with Cydia) for deploying code that gets inserted into graphical applications. When things fail, it as able to provide error handling and fallback support (think of a "Safe Mode").
Two of the biggest problems people are having with Cydia tweaks right now are them not working whatsoever or not showing their preferences in the Settings app. Both of these issues are caused by an incompatibility with Mobile Substrate and PreferenceLoader running on iOS 7.
You can actually fix the issue manually by reinstalling both MobileSubstrate and PreferenceLoader after you install a tweak, but you will have to repeat this process for every tweak you install and this can become tedious.
There is actually a solution to Cydia tweaks not working on Jailbroken devices running iOS 7 though and it’s called BootStrap. In non-technical terms the BootStrap Cydia tweak makes MobileSubstrate and PreferenceLoader play nice together. With it installed you should never run into an issue of a Cydia tweak labeled as compatible with iOS 7 not working on your device.
[img][/img]
The only exception to this being 64-bit devices with an A7 chip like the iPhone 5s.
So how do you install BootStrap?
You will have to add PWN24K’s repo to your device. To do this:
Launch Cydia, tap on the Manage tab, go into the Sources Section, tap the Edit button and then the Add button.
Tap the Add Source button and wait for it to appear in your sources section.
Go into the PWN24K repo, tap on the BootStrap package and install it to your device.
Reboot your device.
Now install iOS 7 compatible Cydia tweaks and enjoy!
With BootStrap installed you should no longer run into issues.
This is IMPORTANT though so keep on reading. Once MobileSubstrate and PreferenceLoader are updated for support with iOS 7 you MUST REMOVE BootStrap before updating otherwise you will run into issues.
With that said enjoy being able to install Cydia tweaks on your Jailbroken iOS 7 device.