Jump to content
1 post in this topic

Recommended Posts

Hi all,

 

I have been developing in other languages for a number of years and am just starting to dive into iOS.  After reading online and setting up theos, I can't seem to get the most simplistic tweak on 8.1 to work on my jailbroken iPhone 5S 8.1.  Everything compiles perfectly normal and after running make package install, it loads to my cell phone and is entered into Cydia.  After a fresh respiring and/or restart, the unlock slide still displays the default message. 

 

Any ideas or suggestions are greatly appreciated as I am about to smash my head against the wall for something so trivial!  :angry:  :cry:

 

Tweak.xm:

%hook SBLockScreenView

- (void)setCustomSlideToUnlockText:(id)unlockText:(BOOL)animated
{
	unlockText = @"GARBAGE";
	%orig(unlockText, animated);
}

%end

MakeFile:

THEOS_DEVICE_IP = 192.168.1.6
include theos/makefiles/common.mk

TWEAK_NAME = SlideTest
SlideTest_FILES = Tweak.xm

include $(THEOS_MAKE_PATH)/tweak.mk

Compile:

Bobs-Mac:slidetest bob$ make
Making all for tweak SlideTest...
 Preprocessing Tweak.xm...
 Compiling Tweak.xm...
 Linking tweak SlideTest...
 Stripping SlideTest...
 Signing SlideTest...
Bobs-Mac:slidetest bob$
×
×
  • Create New...