cydia

Creating Cydia Logos Tweak, now required respring after installation (How to do)

此生再无相见时 提交于 2019-12-13 13:28:32
问题 I am creating a Logos Tweak for Cydia and i did complete my task, but now i required "Restart SpringBoard" after Installation. Can anybody tell me what i have to do to achieve this like many apps in Cydia store, In which after installation button appears with text "Restart SpringBoard" instead of "Return to Cydia". 回答1: You could do this 2 ways if you are using THEOS, First one (if you do make clean then you will have to redo these steps), Create 2 files in the DEBIAN folder which is located

Respring after installing tweak from Cydia

拟墨画扇 提交于 2019-12-13 13:25:00
问题 I made application and mobilesubstrate tweak using Theos by DHowett. Tweak is a subproject of application. I tested it on my iPhone, everything works fine. Then I made a Cydia repo and loaded my project to it. The problem is when I installing my application-tweak from Cydia, it doesn't respring my iPhone. It just showing button "Return to Cydia". So I have to manually respring my iPhone to make it work. I've got 2 control files in each project, I suggest that I have to change them somehow,

How to use the value in PSLinkListCell in preference bundle?

左心房为你撑大大i 提交于 2019-12-12 15:23:45
问题 I would like to make a preference bundle for my jailbreak tweak. I successfully made a preference bundle with a switch that works. But I would like a setting to choose color. Example: Blue Color > Yellow Green So if I click on Color , it would bring me to another screen which ask me to choose either " Blue ", " Yellow " or " Green " I have looked at tutorials on the net, and I think this is a PSLinkList . But I want my tweak to read the plist and record what color is chosen. I think it would

Settings.bundle & keychain for applications from Cydia doesn't work

♀尐吖头ヾ 提交于 2019-12-11 11:26:26
问题 I'm working on app which is distributed with Cydia. So it is installed in /Applications folder, not /var/mobile/Applications/ as usual AppStore apps. And I assume that installation give me some huge problems. At first, keychain read & write with famous Apple's KeychainItemWrapper doesn't work at all. Also, my settings.bundle doesn't work too. App settings don't displayed in Settings.app. When I test application in Simulator or even deploy it from Xcode to device directly (it is deployed to

Edit Info.plist programmatically in a jailbroken app

六眼飞鱼酱① 提交于 2019-12-11 01:44:27
问题 How can I edit the Info.plist file in a jailbroken app I'm writing? I know it's not normally possible but given the fact that this will be released in Cydia, I feel like there must be a way. I'm not savvy on file modifications in a jailbroken environment so any info is appreciated. The reason I want to edit the Info.plist file is to register for a URL scheme programmatically. So if there's an alternative way to accomplish that, I'd love to hear it :-) 回答1: If you want to programmatically edit

Distribute unsigned app iPhone for jailbroken iPhone with no Cydia

情到浓时终转凉″ 提交于 2019-12-10 14:57:14
问题 I'm trying to distribute an unsigned .ipa via itms-services protocol for jailbroken device WITH NO CYDIA. I went through guides about how to create an unsigned app for cydia from: http://www.alexwhittemore.com/developing-jailbroken-iphone-ios-401/ and I managed to make it work except the "Share" option from the Organizer. It says: Error: Codesign check fails... But maybe it's not the issue here. Taking the .app folder of my app and compress it to .ipa extension with no signature worked, but

Cropping/zooming not working while setting iOS Wallpaper using PhotoLibrary private framework

无人久伴 提交于 2019-12-10 11:09:24
问题 I have managed (with the help of this post) to open up a PLStaticWallpaperImageViewController from the PhotoLibrary private framework, which allows the direct setting of the wallpaper and lock screen (using same UI as the Photos app). Unfortunately, the image cropping/zooming features don't seem to work, as touches to the image view itself don't seem to be coming through (the main view is also not dismissed properly after the cancel/set buttons are touched, but this isn't so important). I

Python Hello World in PyObjC on iPhone?

社会主义新天地 提交于 2019-12-08 08:55:43
问题 I installed the iphone-python package from Cydia, but the HelloPython app closes immediately when I run it from Springboard. This may be a red herring, but I found the .py file in Terminal and tried to run it with python and got a python error: $ python /private/var/stash/Applications.pwn/HelloPython.app/HelloPython.py Traceback (most recent call last): File "/private/var/stash/Applications.pwn/HelloPython.app/HelloPython.py", line 9, in <module> import objc File "/usr/lib/python2.5/objc/_

Importing <AppKit/AppKit.h> does not work

丶灬走出姿态 提交于 2019-12-08 02:45:00
问题 I am making a cydia tweak on Xcode using IOSOpenDev and i tried to import <AppKit/AppKit.h> but i'm getting this error! 'AppKit/AppKit.h' file not found' This is my code which changes the flash color when someone tries to take a screenshot #include <AppKit/AppKit.h> %hook SBScreenFlash -(void)flashColor:(id)color { NSDictionary *prefs=[[NSDictionary alloc] initWithContentsOfFile:@"/var/mobile/Library/Preferences/com.junyi00.screenshotcolor.plist"]; if ([[prefs objectForKey:@"enable"]