Jump to content

21 posts in this topic

Recommended Posts

  • Replies 20
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted

still getting the same error. 

 

this is starting to get frustrating :(

still getting the same error. 

 

this is starting to get frustrating :(

Must be the UnityAppController.

 

Remove that then try again.

Posted

Must be the UnityAppController.

 

Remove that then try again.

removed but didn't work

Could you show your Makefile?

ARCHS = armv7 arm64

TARGET = iphone:clang:latest:latest

#CFLAGS = -fobjc-arc

#THEOS_PACKAGE_DIR_NAME = debs

 

include theos/makefiles/common.mk

 

TWEAK_NAME = raftcheat

raftcheat_FILES = Tweak.xm

raftcheat_FRAMEWORKS = UIKit

raftcheat_LDFLAGS += -Wl,-segalign,4000

 

include $(THEOS_MAKE_PATH)/tweak.mk

 

after-install::

        install.exec "killall -9 SpringBoard"

SUBPROJECTS += raftcheat

 

include $(THEOS_MAKE_PATH)/aggregate.mk

Posted

What does your Tweak.xm look like now?

only got this in the tweak 

%hook SKPaymentTransaction
 
-(void) transactionState:(long long)arg1 {
arg1 = 1;
%orig;
}
%end
Posted

 

only got this in the tweak 

%hook SKPaymentTransaction
 
-(void) transactionState:(long long)arg1 {
arg1 = 1;
%orig;
}
%end

Add everything you had in there before and show me the error you get.

Posted

Add everything you had in there before and show me the error you get.

this is the error im getting http://imgur.com/a/lFrO6

 

and this is my tweak with everything i had before 

#import <UIKit/UIKit.h>
#import <substrate.h>
#import <Foundation/Foundation.h>

%Hook SKPaymentTransaction
-(long long) transactionState fp8 {
fp8 = 1;
%orig(fp8);
}
%end

%Hook UnityAppController
-(BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 {
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Test Title"
message:@"Test Message" delegate:nil cancelButtonTitle:@"Close Test Pop-Up"
otherButtonTitles:nil];
[alert show];
[alert release];
return %orig;
}

%end
Posted

 

this is the error im getting http://imgur.com/a/lFrO6

 

and this is my tweak with everything i had before 

#import <UIKit/UIKit.h>
#import <substrate.h>
#import <Foundation/Foundation.h>

%Hook SKPaymentTransaction
-(long long) transactionState fp8 {
fp8 = 1;
%orig(fp8);
}
%end

%Hook UnityAppController
-(BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 {
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Test Title"
message:@"Test Message" delegate:nil cancelButtonTitle:@"Close Test Pop-Up"
otherButtonTitles:nil];
[alert show];
[alert release];
return %orig;
}

%end

Make %hook lowercased

Posted

Make %hook lowercased

its sort of working, im now getting fatal error: Preferences/Preferences.h file not found 

Posted

its sort of working, im now getting fatal error: Preferences/Preferences.h file not found 

Search that on the forum. It just means you're missing headers.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines