Jump to content

Sandwhich

Member
  • Posts

    8
  • Joined

  • Last visited

Profile Information

  • iDevice
    iPhone 11 Pro

Recent Profile Visitors

165 profile views

Sandwhich's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. did not work but thanks This is my make file now : ARCHS = armv7 arm64 TARGET = iphone:8.1:8.1 #CFLAGS = -fobjc-arc #THEOS_PACKAGE_DIR_NAME = debs include theos/makefiles/common.mk TWEAK_NAME = test test_CFLAGS += -Wobjc-property-no-attribute test_FILES = Tweak.xm $(shell find $(THEOS)/include/SCLAlertView -name '*.m') test_FRAMEWORKS = UIKit MessageUI Social QuartzCore CoreGraphics Foundation AVFoundation Accelerate GLKit AudioToolbox test_LDFLAGS += -Wl,-segalign,4000 include $(THEOS_MAKE_PATH)/test.mk after-install:: install.exec "killall -9 SpringBoard" SUBPROJECTS += test include $(THEOS_MAKE_PATH)/aggregate.mk
  2. I get 10 errors. I already looked up on the forum but nothing helps. I already did what they suggested but doesn't work. My 10 errors Compiling Tweak.xm... In file included from Tweak.xm:8: In file included from /var/mobile/test/theos/include/SCLAlertView/SCLAlertView.h:14: /var/mobile/test/theos/include/SCLAlertView/SCLButton.h:74:1: error: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Werror,-Wobjc-property-no-attribute] @property id target; ^ /var/mobile/test/theos/include/SCLAlertView/SCLButton.h:74:1: error: default property attribute 'assign' not appropriate for non-GC object [-Werror,-Wobjc-property-no-attribute] /var/mobile/test/theos/include/SCLAlertView/SCLButton.h:94:1: error: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Werror,-Wobjc-property-no-attribute] @property (nonatomic) SCLTimerDisplay *timer; ^ /var/mobile/test/theos/include/SCLAlertView/SCLButton.h:94:1: error: default property attribute 'assign' not appropriate for non-GC object [-Werror,-Wobjc-property-no-attribute] In file included from Tweak.xm:8: /var/mobile/test/theos/include/SCLAlertView/SCLAlertView.h:108:1: error: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Werror,-Wobjc-property-no-attribute] @property UILabel *labelTitle; ^ /var/mobile/test/theos/include/SCLAlertView/SCLAlertView.h:108:1: error: default property attribute 'assign' not appropriate for non-GC object [-Werror,-Wobjc-property-no-attribute] /var/mobile/test/theos/include/SCLAlertView/SCLAlertView.h:114:1: error: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Werror,-Wobjc-property-no-attribute] @property UITextView *viewText; ^ /var/mobile/test/theos/include/SCLAlertView/SCLAlertView.h:114:1: error: default property attribute 'assign' not appropriate for non-GC object [-Werror,-Wobjc-property-no-attribute] /var/mobile/test/theos/include/SCLAlertView/SCLAlertView.h:120:1: error: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Werror,-Wobjc-property-no-attribute] @property UIActivityIndicatorView *activityIn... ^ /var/mobile/test/theos/include/SCLAlertView/SCLAlertView.h:120:1: error: default property attribute 'assign' not appropriate for non-GC object [-Werror,-Wobjc-property-no-attribute] 10 errors generated. make[2]: *** [obj/Tweak.xm.7fffb991.o] Error 1 make[1]: *** [internal-library-all_] Error 2 make: *** [test.all.tweak.variables] Error 2 Yes:/var/mobile/test root# I have 8.1 sdk. And latest headers I guess from github. Please help.
  3. thanks but I already know how to create a preference bundle. I need help in creating a button in which it kills an app when pressed. I need help with the code.
  4. I search first before posting this. I couldn't find anything but maybe I'm wrong.
  5. How would I go about making a PSButtonCell to kill a certain application. What would I have to type in my .mm file?
  6. This definitely helped but my other question was how would I be able to disable a switch from being turned on if a certain other switch is enabled. What would I need to type/code?
  7. hi im new and i am having trouble with my tweak.xm code %hook YTVideoMetadataCell -(void) setOfflineButtonVisible:(bool)argument1 dimmed:(bool)argument2 animated:(bool) { if(GetPrefBool(@"key11")) { argument1 = TRUE; } return %orig; } %end %hook YTPlaylistHeaderView -(void) setOfflineButtonVisible:(bool)argument1 dimmed:(bool) { if(GetPrefBool(@"key11")) { argument1 = TRUE; } return %orig; } %end thats my tweak .xm and i got that from flex^^ Tweak.xm:58:168: error: expected class member or base class name ...self, SEL _cmd, bool argument1, bool argument2):(bool) { ^ Tweak.xm:58:168: error: expected '{' or ',' Tweak.xm:58:167: error: only constructors take base initializers ...self, SEL _cmd, bool argument1, bool argument2):(bool) { ^ Tweak.xm:67:145: error: expected class member or base class name ...self, SEL _cmd, bool argument1):(bool) { ^ Tweak.xm:67:145: error: expected '{' or ',' Tweak.xm:67:144: error: only constructors take base initializers ...self, SEL _cmd, bool argument1):(bool) { this is error^^ also in preference bundel how would i make a switch disable/greyed out if a certain switch is turned on thanks
×
  • 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