I make a tweak that works in backboardd, if I just respring after install it, it doesn't work, I have to restart the my iPhone entirely. Are there any other better ways need not restarting device?
相关问题
- CALayer - backgroundColor flipped?
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- State preservation and restoration strategies with
- “Zero out” sensitive String data in Swift
相关文章
- 现在使用swift开发ios应用好还是swift?
- UITableView dragging distance with UIRefreshContro
- TCC __TCCAccessRequest_block_invoke
- Where does a host app handle NSExtensionContext#co
- xcode 4 garbage collection removed?
- Unable to process app at this time due to a genera
- Swift - hide pickerView after value selected
- How can I add media attachments to my push notific
You can execute this in your postinst script if you are installing your tweak as debian package (*.deb)
Backboard will restart automatically and cydia-substrate should be able to inject your tweak in it.
Note: since you say that you're using iOSOpenDev to create your tweaks, there's another option, altho the
postinst
file works fine, too.Add another post-install command to the custom build script that iOSOpenDev will have created for your project.
You should already see this under the Target->Build Phases->Run Script:
Just add the following line where the arrow is (line 2):
Note that this requires the UIKit tools package from Cydia to be installed. (to run
uicache
)You should also have a user-defined Build Setting setting
iOSOpenDevDevice
equal to your device's IP address, so the installation can occur via Wi-Fi.