Jump to content

8 posts in this topic

Recommended Posts

Posted (edited)

I know this is an issue others have had aswell, but I have not found any solution and those threads are dead, so I´m making my own topic.
 
I downloaded my headers fromhttps://github.com/dogo/SCLAlertView
 
And put the SCLAlertView folder in: /private/var/theos/include
 
Folder properties:
 
Group: Admin
Owner: root
Octal: 0755
 
 
My makefile:

 

ARCHS = armv7 arm64
TARGET = iphone:clang:latest:latest
#CFLAGS = -w -fobjc-arc
#THEOS_PACKAGE_DIR_NAME = debs

include theos/makefiles/common.mk

TWEAK_NAME = cs
cs_FILES = Tweak.xm $(shell find $(THEOS)/include/SCLAlertView -name '*.m')
cs_FRAMEWORKS = UIKit MessageUI Social QuartzCore CoreGraphics Foundation AVFoundation Accelerate GLKit AudioToolbox
cs_LDFLAGS += -Wl,-segalign,4000

include $(THEOS_MAKE_PATH)/tweak.mk

after-install::
	install.exec "killall -9 SpringBoard"
SUBPROJECTS += cs autolipo
include $(THEOS_MAKE_PATH)/aggregate.mk

 


 
My tweak.xm:
 

 

#import <SCLAlertView/SCLAlertView.h>



%hook CTAppController


- (BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 { // Popup only once at each launch of the app.

    SCLAlertView *alert = [[SCLAlertView alloc] initWithNewWindow];
    
    [alert showSuccess: @"Title here"// Success, Error, Notice, Warning, Info, Edit, Custom, Waiting
              subTitle: @"Subtitle here"
      closeButtonTitle: @"Close button"
              duration: 0.0f];
		return %orig;
}
%end

 


 
Command I executed: make package install

 
Errors:
 

 

Making all for tweak cs...
 Preprocessing Tweak.xm...
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
 Compiling Tweak.xm...
In file included from Tweak.xm:5:
In file included from /var/root/cs/theos/include/SCLAlertView/SCLAlertView.h:14:
/var/root/cs/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/root/cs/theos/include/SCLAlertView/SCLButton.h:74:1: error: default property attribute 'assign' not appropriate for non-GC object [-Werror,-Wobjc-property-no-attribute]
/var/root/cs/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/root/cs/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:5:
/var/root/cs/theos/include/SCLAlertView/SCLAlertView.h:110:1: error: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Werror,-Wobjc-property-no-attribute]
@property UILabel *labelTitle;
^
/var/root/cs/theos/include/SCLAlertView/SCLAlertView.h:110:1: error: default property attribute 'assign' not appropriate for non-GC object [-Werror,-Wobjc-property-no-attribute]
/var/root/cs/theos/include/SCLAlertView/SCLAlertView.h:116:1: error: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Werror,-Wobjc-property-no-attribute]
@property UITextView *viewText;
^
/var/root/cs/theos/include/SCLAlertView/SCLAlertView.h:116:1: error: default property attribute 'assign' not appropriate for non-GC object [-Werror,-Wobjc-property-no-attribute]
/var/root/cs/theos/include/SCLAlertView/SCLAlertView.h:122:1: error: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Werror,-Wobjc-property-no-attribute]
@property UIActivityIndicatorView *activityIndicatorView;
^
/var/root/cs/theos/include/SCLAlertView/SCLAlertView.h:122: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.40fba40f.o] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [cs.all.tweak.variables] Error 2

 




I searched the forum and found this:
 

DiDA and I figured it out a while ago. PM me and I should be able to help you. :)

 

@DiDA

@Pro

 

If this is true, can one of you please PM me with the solution, or leave it as a reply here?

 

Thanks!

Updated by Guest
Posted

GitHub

Trying :3

Use the old headers?

 

Making all for tweak sas3hack...
 Preprocessing Tweak.xm...
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
Constants from lexical variables potentially modified elsewhere are deprecated at /private/var/theos/bin/lib/aliased.pm line 42.
 Compiling Tweak.xm...
In file included from Tweak.xm:5:
/private/var/root/sas3hack/theos/include/SCLAlertView/SCLAlertView.h:9:1: error: use of '@[member=Import]' when modules are disabled
@[member=Import] UIKit;
^
In file included from Tweak.xm:5:
In file included from /private/var/root/sas3hack/theos/include/SCLAlertView/SCLAlertView.h:10:
/private/var/root/sas3hack/theos/include/SCLAlertView/SCLButton.h:9:1: error: use of '@[member=Import]' when modules are disabled
@[member=Import] UIKit;
^
/private/var/root/sas3hack/theos/include/SCLAlertView/SCLButton.h:68:1: error: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Werror,-Wobjc-property-no-attribute]
@property id target;
^
/private/var/root/sas3hack/theos/include/SCLAlertView/SCLButton.h:68:1: error: default property attribute 'assign' not appropriate for non-GC object [-Werror,-Wobjc-property-no-attribute]
In file included from Tweak.xm:5:
/private/var/root/sas3hack/theos/include/SCLAlertView/SCLAlertView.h:78:1: error: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Werror,-Wobjc-property-no-attribute]
@property UILabel *labelTitle;
^
/private/var/root/sas3hack/theos/include/SCLAlertView/SCLAlertView.h:78:1: error: default property attribute 'assign' not appropriate for non-GC object [-Werror,-Wobjc-property-no-attribute]
/private/var/root/sas3hack/theos/include/SCLAlertView/SCLAlertView.h:84:1: error: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Werror,-Wobjc-property-no-attribute]
@property UITextView *viewText;
^
/private/var/root/sas3hack/theos/include/SCLAlertView/SCLAlertView.h:84:1: error: default property attribute 'assign' not appropriate for non-GC object [-Werror,-Wobjc-property-no-attribute]
/private/var/root/sas3hack/theos/include/SCLAlertView/SCLAlertView.h:90:1: error: no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed [-Werror,-Wobjc-property-no-attribute]
@property UIActivityIndicatorView *activityIndicatorView;
^
/private/var/root/sas3hack/theos/include/SCLAlertView/SCLAlertView.h:90:1: error: default property attribute 'assign' not appropriate for non-GC object [-Werror,-Wobjc-property-no-attribute]
Tweak.xm:27:49: error: instance method '-initWithNewWindow' not found (return type defaults to 'id') [-Werror,-Wobjc-method-access]
    SCLAlertView *alert = [[SCLAlertView alloc] initWithNewWindow];
                                                ^~~~~~~~~~~~~~~~~
/private/var/root/sas3hack/theos/include/SCLAlertView/SCLAlertView.h:15:12: note: receiver is instance of class declared here
@interface SCLAlertView : UIViewController
           ^
Tweak.xm:29:12: error: instance method '-showSuccess:subTitle:closeButtonTitle:duration:' not found (return type defaults to 'id') [-Werror,-Wobjc-method-access]
    [alert showSuccess: @"Title here"
           ^~~~~~~~~~~~~~~~~~~~~~~~~~
/private/var/root/sas3hack/theos/include/SCLAlertView/SCLAlertView.h:15:12: note: receiver is instance of class declared here
@interface SCLAlertView : UIViewController
           ^
12 errors generated.
make[2]: *** [obj/Tweak.xm.3207fd42.o] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [sas3hack.all.tweak.variables] Error 2


 

Posted

Me too I need it but I got this errors:( 

 

 

Tweak.xm:1:
In file included from /var/mobile/111/theos/include/SCLAlertView/SCLAlertView.h:14:
/var/mobile/111/theos/include/SCLAlertView/SCLButton.h:72:1: error: 
      no 'assign', 'retain', or 'copy' attribute is specified
      - 'assign' is assumed
      [-Werror,-Wobjc-property-no-attribute]
@property id target;
^
/var/mobile/111/theos/include/SCLAlertView/SCLButton.h:72:1: error: 
      default property attribute 'assign' not appropriate for
      non-GC object [-Werror,-Wobjc-property-no-attribute]
2 errors generated.
make[2]: *** [obj/Tweak.xm.6f1bbf4a.o] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [111.all.tweak.variables] Error 2
iPhone:/var/mobile/111 root# 

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
  • Our picks

    • Soccer Manager 2026 - Football v3.2.6 +2 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Soccer Manager 2026 - Football By INVINCIBLES STUDIO LTD
      Bundle ID: com.invinciblesstudioltd.soccermanager2025
      App Store Link: https://apps.apple.com/us/app/soccer-manager-2026-football/id6449935779?uo=4


      Hack Features:
      - Unlimited Cash -> Accept a Sponsorship.
      - Unlimited Cash v2 -> Create a Club.
      - 1 Gold Cost -> Making purchases with gold will only use 1 gold. Make sure you have enough gold first! DO NOT USE IN THE SHOP!
      • 248 replies
    • Midnight Dreamers | Novels v1.4.5 +2 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Midnight Dreamers | Novels By Valeriia Saveleva
      Bundle ID: com.ArcaneChronicles.MidnightDreamers
      App Store Link: https://apps.apple.com/us/app/midnight-dreamers-novels/id6739806903?uo=4

       
       

      🤩 Hack Features

      - Unlimited Gems -> Earn some.
      - Unlimited Keys -> Spend some.
      • 15 replies
    • Chrome Valley Customs v31.0.0 +1 Jailed Cheat [ Freeze Moves ]
      Modded/Hacked App: Chrome Valley Customs By Space Ape Ltd
      Bundle ID: com.spaceapegames.carsuperstar
      iTunes Store Link: https://apps.apple.com/us/app/chrome-valley-customs/id6444042518
       

      Hack Features:
      - Freeze Moves


      Jailbreak required hack(s): https://iosgods.com/topic/173179-chrome-valley-customs-v400-1-cheat-unlimited-moves/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 115 replies
    • OnceWorld v1.4.7 +2 Jailed Cheats [ Damage + More ]
      Modded/Hacked App: OnceWorld By PONIX LLC
      Bundle ID: work.ponix.onceworld
      App Store Link: https://apps.apple.com/us/app/onceworld/id6753948618?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - God Mode
      • 59 replies
    • Hellsquad Rrrush! v1.5.2 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Hellsquad Rrrush! By Wemade Max Co., Ltd.
      Bundle ID: com.wemademax.projectsc
      App Store Link: https://apps.apple.com/us/app/hellsquad-rrrush/id6737409896?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 45 replies
    • Kingdom Rush Battles: TD Game v1.6.1 +4 Jailed Cheats [ No Tower Cost ]
      Modded/Hacked App: Kingdom Rush Battles: TD Game By Ironhide S.A.
      Bundle ID: com.ironhidegames.kingdomrush.mp
      App Store Link: https://apps.apple.com/ph/app/kingdom-rush-battles-td-game/id6746510979?uo=4

       
       

      🤩 Hack Features

      - Dumb Enemy -> Disables your enemy from buying towers.
      - No Tower Build Cost -> Use with Dumb Enemy.
      - No Tower Upgrade Cost -> Use with Dumb Enemy.
      - No Tower Skill Upgrade Cost -> Use with Dumb Enemy.
      • 55 replies
    • Dawn of Ages: Medieval Games v2.7.3 +5 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Dawn of Ages: total war battle By BoomBit, Inc.
      Bundle ID: com.stratospheregames.dawnofages
      App Store Link: https://apps.apple.com/us/app/dawn-of-ages-total-war-battle/id6477473268?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Dumb Enemy
      - Premium Enabled
        • Thanks
      • 124 replies
    • Dungeon Sisters : IDLE RPG v1.6.0 +4 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Dungeon Sisters : IDLE RPG By Lobstar Games Corp.
      Bundle ID: com.lobstargames.dungeon.idle.rpg
      App Store Link: https://apps.apple.com/us/app/dungeon-sisters-idle-rpg/id6737465125?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - No Skill Cooldown
      • 56 replies
    • Star2 Random Defense(S2RD) v1.0.11 +10 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Star2 Random Defense(S2RD) By Springcomes Co., Ltd.
      Bundle ID: com.gaimstudio.s2rd
      App Store Link: https://apps.apple.com/us/app/star2-random-defense-s2rd/id6739694467?uo=4

       

      🤩 Hack Features

      - Freeze Food
      - Freeze Silver
      - Freeze Essence
      - Freeze Either
      - Freeze Gold
      - Freeze Diamonds
      - Freeze Energy

      VIP
      - Unlimited Gold -> Will increase instead of decrease.
      - Unlimited Diamonds -> Will increase instead of decrease.
      - Unlimited Energy -> Will increase instead of decrease.
      • 15 replies
    • MU: Pocket Knights v1.4.17 +3 Jailed Cheats [ Damage + More ]
      Modded/Hacked App: MU: Pocket Knights By WEBZEN INC.
      Bundle ID: com.webzen.muidle.ios
      App Store Link: https://apps.apple.com/ph/app/mu-pocket-knights/id6742208743?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - God Mode
      - Speed Multiplier
      • 141 replies
    • Eterspire - Fantasy MMORPG v67.1 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Eterspire - Fantasy MMORPG By Stonehollow Workshop LLC
      Bundle ID: com.stonehollow-workshop.Eterspire
      iTunes Store Link: https://apps.apple.com/us/app/eterspire-fantasy-mmorpg/id1658183817?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 77 replies
    • Rapid Reload v4.11.0 +100 Jailed Cheats [ Debug Menu ]
      Modded/Hacked App: Rapid Reload By Rollic Games Oyun Yazilim ve Pazarlama Anonim Sirketi
      Bundle ID: com.gibygames.rapidreload
      iTunes Store Link: https://apps.apple.com/us/app/rapid-reload/id6474667725?uo=4


      Hack Features:
      - Debug Menu -> Head into Settings and toggle the Sound button.

      -> Add Cash
      -> Add Diamond
      -> Add Energy
      -> Teleport Settings
      -> Skip Levels
      -> Camera Settings
      -> Skill Modifers
      -> Gear Modifiers

      + More!


      Jailbreak required hack(s): [Mod Menu Hack] Rapid Reload v2.7.3 +100 Cheats [ Debug Menu ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 16 replies
×
  • 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