Jump to content

10 posts in this topic

Recommended Posts

Posted (edited)

So i am getting this Making all for tweak PandoraCheats...

make[2]: Nothing to be done for `internal-library-compile'.

Making stage for tweak PandoraCheats...

make: *** [internal-package] Error 126

Updated by Taylor Meyer
Posted

Here is my tweak.xm makefile is at the bottom

 

#include <UIKit/UIKit.h>

 

%hook PMAppPersistence

-(int) cellAudioQuality {

return 200000000;

}

%end

 

%hook AudioFileTypes

+(double) cellHighQualityBitrate {

return 200000000;

}

%end

 

%hook PMListeningPersistence

-(BOOL) listenTimeoutEnabled {

return FALSE;

}

%end

 

%hook PMBaseSettings

-(BOOL) ignoreSkipLimit {

return TRUE;

}

%end

 

%hook PMRadioConfig

-(BOOL) discardAudioAds {

return TRUE;

}

%end

 

%hook TrackDescriptor

-(BOOL) allowVisualAds {

return FALSE;

}

%end

 

%hook AudioFileTypes

+(double) cellLowQualityBitrate {

return 200000000;

}

%end

 

%hook StationDescriptor

-(BOOL) suppressVideoAds {

return TRUE;

}

%end

 

%hook PMRadio

-(BOOL) userReceivesVisualAds {

return FALSE;

}

%end

 

%hook PMRadioConfig

-(BOOL) enableBannerAds {

return FALSE;

}

%end

 

%hook StationPlayer

-(BOOL) skipsAudioAds {

return TRUE;

}

%end

 

%hook PMListeningPersistence

-(double) skipDelayAfterTrackStart {

return 0;

}

%end

 

Makefile

 

ARCHS = arm64 armv7

TARGET = iphone:clang:8.1

 

include theos/makefiles/common.mk

 

TWEAK_NAME = PandoraCheats

PandoraCheats_FILES = Tweak.xm

PandoraCheats_FRAMEWORKS = UIKit

 

include $(THEOS_MAKE_PATH)/tweak.mk

 

after-install::

install.exec "killall -9 SpringBoard"

Posted (edited)

@Taylor Meyer Is this being built in Theos? Oh yes I see it is. I just read error compiling. Please read this :).
If so it is simply because dpkg won't build a package that has a identifier that isn't alphanumeric (e.g. only A-Z, a-z, 0-9) so it is rejecting the "++" in your package id. Make a new tweak in the NIC and copy your "Tweak.xm" to the new tweak folder and give it an id like com.??.pandoracheatsplusplus instead of com.??.pandoracheats++.
Assuming you have something like this > com.??.pandoracheats++_0.0.1_iphoneos-arm.deb
Do not forget when you make a new tweak in the NIC to re-add any frameworks you had imported.

Note: You're package name can have ++ in it

If you do not have ++ in you're package ID then disregard this reply.

Updated by XxGam3Ma2t3rxX
Posted

@Taylor Meyer Is this being built in Theos? Oh yes I see it is. I just read error compiling. Please read this :).If so it is simply because dpkg won't build a package that has a identifier that isn't alphanumeric (e.g. only A-Z, a-z, 0-9) so it is rejecting the "++" in your package id. Make a new tweak in the NIC and copy your "Tweak.xm" to the new tweak folder and give it an id like com.??.pandoracheatsplusplus instead of com.??.pandoracheats++.Assuming you have something like this > com.??.pandoracheats++_0.0.1_iphoneos-arm.deb

Do not forget when you make a new tweak in the NIC to re-add any frameworks you had imported.

Note: You're package name can have ++ in it

If you do not have ++ in you're package ID then disregard this reply.

im about to have someone else compile because I'm so sick of errors
Posted

im about to have someone else compile because I'm so sick of errors

Alright then mark this post as answered please!

Or request a lock!

I tried! Hopefully if you try this again in the future you can find my info helpful! Best regards!

Posted

Alright then mark this post as answered please!

Or request a lock!

I tried! Hopefully if you try this again in the future you can find my info helpful! Best regards!

i mean if you have any other suggestions
Posted

paste the output of "make package messages=yes"

Posted

i did it but it just showed a bunch of previous error messages

Paste them all here.

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