Jump to content

12 posts in this topic

Recommended Posts

Posted

I am trying to compile a tweak and when I run the make command, I receive a 'Makefile:8: *** Missing Seperator' error. Below is my code. I have read that it is usually caused by their not being tabs, and have tried user 'tab' and also the code <tab> that is in it now, but nothing seems to be working. 

 

%hook ALIncentivizeInterstitialAd
 
-(bool)wasFullyWatched {
<tab>return True;
}
 
%end
%hook FlurryAdUnit
 
-(bool)rewardable {
<tab>return True;
}
 
%end
%hook NativeXReward
 
-(id)getAmount {
<tab>return [NSNumber numberWithInteger: 999999];
}
 
%end
%hook SUBaseAdapter
 
-(bool)isRewardedVideoExhausted {
<tab>return False;
}
%end
%hook SupersonicPlacementInfo
 
-(id)rewardAmount {
<tab>return [NSNumber numberWithInteger:999999];
}
%end
%hook ALTimedTaskResult
 
-(bool)containedVideo {
<tab>return True;
}
 
-(void)setExecutionDuration:(id) {
<tab>argument = [NSNumber numberWithInteger:0];
}
 
-(id)executionDuration {
<tab>return [NSNumber numberWithInteger:0];
}
%end
Posted

Is it the formatting? I was following a tutorial on how to write up the code, but it wasn't super descriptive and its been months since I have used theos so I can't exactly remember what I am doing wrong. 

Posted

Add an empty line at the bottom of your Makefile.

Posted

Looks like it was an issue in the make file with the bundle ID. Took the bundle ID out for testing and was able to get past that point, but now receiving a different error. Will post screenshot below. Also any info or screenshot of how a bundle ID should be placed in makefile if I don't have the .plist file. I saw that you use the </string> bundle ID</string> but when I input that, that is when I was receiving the error. 


makeerror.png

Posted

Looks like it was an issue in the make file with the bundle ID. Took the bundle ID out for testing and was able to get past that point, but now receiving a different error. Will post screenshot below. Also any info or screenshot of how a bundle ID should be placed in makefile if I don't have the .plist file. I saw that you use the </string> bundle ID</string> but when I input that, that is when I was receiving the error. 

makeerror.png

I don't know about the error you have now, but I'm pretty sure you should capitalize the v in line 8 of your makefile. Not sure if that's even case sensitive, however

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