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

    • Music Wars Rockstar: Rap Life v1.4.5 Jailed Cheats +4
      Modded/Hacked App: Music Wars Rockstar: Rap Life By Music Wars LLC
      Bundle ID: com.mwcompany.MusicWarsRockstar
      iTunes Store Link: https://apps.apple.com/us/app/music-wars-rockstar-rap-life/id1623455289?uo=4

      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - Unlimited money
      - Unlimited creativity
      - Unlimited health
      - Unlimited happiness
        • Informative
        • Agree
        • Like
      • 368 replies
    • Idle World ! Cheats (Auto Update) +3
      Modded/Hacked App: Idle World ! By FUNCELL GAMES PRIVATE LIMITED
      Bundle ID: com.chitralekha.evolution
      App Store Link: https://apps.apple.com/us/app/idle-world/id1410042592?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - Infinite Energy
      - Infinite Diamond
      - No Ads

       

      Non-Jailbroken Hack: https://iosgods.com/topic/95736-idle-world-v766-jailed-cheats-4/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/95734-idle-world-cheats-auto-update-3/
      • 139 replies
    • Mr Autofire Cheats v4.5.4 +3 [ God Mode & More ]
      Modded/Hacked App: Mr Autofire By Lightheart Entertainment Oy
      Bundle ID: games.lightheart.mrautofire
      iTunes Store Link: https://apps.apple.com/us/app/mr-autofire/id1483457500?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - God Mode 
      - One Hit Kill
      - Free Store

       

      Non-Jailbroken Hack: https://iosgods.com/topic/134805-mr-autofire-v380-jailed-cheats-1/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/134788-mr-autofire-cheats-v380-3-god-mode-more/
        • Like
      • 645 replies
    • DEAD TRIGGER: Survival Shooter Cheats v2.3.1 +6
      Modded/Hacked App: DEAD TRIGGER: Survival Shooter By MADFINGER Games, a.s.
      Bundle ID: com.madfingergames.deadtrigger
      iTunes Store Link: https://itunes.apple.com/us/app/dead-trigger-survival-shooter/id533079551?mt=8&uo=4&at=1010lce4


      Hack Features:
      - Infinite Ammo
      - No Reload
      - Free Store (Buy Stuffs Without Money)
      - God Mode
      - One Shot
      - Aimbot
      - No Spread


      Hack Download Link: https://iosgods.com/topic/75047-arm64-dead-trigger-survival-shooter-cheats-v200-6/
      • 724 replies
    • BitLife - Life Simulator Cheats v3.23 +2
      Modded/Hacked App: BitLife - Life Simulator by Candywriter, LLC
      Bundle ID: com.wtfapps.apollo16
      iTunes Store Link: https://apps.apple.com/us/app/bitlife-life-simulator/id1374403536?uo=4&at=1010lce4


      Hack Features:
      - Infinite Cash
      - Free Bitizen Purchase (Press Cancle) - Work for All Versions


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/84167-arm64-bitlife-life-simulator-v1412-jailed-cheats-2/


      Hack Download Link: https://iosgods.com/topic/84223-arm64-bitlife-life-simulator-cheats-all-versions-2/
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 3,954 replies
    • Temple Run 2 Cheats v1.129.0 +8
      Modded/Hacked App: Temple Run 2 by Imangi Studios, LLC
      Bundle ID: com.imangi.templerun2
      iTunes Store Link: https://apps.apple.com/us/app/temple-run-2/id572395608?uo=4&at=1010lce4


      Hack Features:
      - No Ads Enabled
      - x2 Coin Enabled
      - Infinite Coin (Spend some)
      - Infinite Gem (Spend some)
      - All Characters Unlocked
      - Free iAP (Turn off all iap hacks before using this, also if itunes popup don't show then run ldrestart in terminal -- This is an issue with the jailbreak not the hack)
      - Auto Run
      - Coin Magnet


      iOS Hack Download Link: https://iosgods.com/topic/132609-arm64-temple-run-2-cheats-v1691-8/
        • Like
      • 325 replies
    • Archero v7.6.3 Jailed Cheats +2 [ Frozen Enemies ]
      Modded/Hacked App: Archero by HABBY PTE. LTD.
      Bundle ID: com.habby.archero
      iTunes Store Link: https://apps.apple.com/us/app/archero/id1453651052?uo=4&at=1010lce4


      Hack Features:
      - Frozen Enemies
      - OHK


      Jailbreak required hack(s): https://iosgods.com/topic/96783-arm64-archero-cheats-v223-5/


      iOS Hack Download Link: https://iosgods.com/topic/100710-arm64-archero-v223-jailed-cheats-2/
        • Informative
        • Agree
        • Haha
        • Winner
        • Like
      • 7,343 replies
    • Cafeland - World Kitchen Cheats v2.65.5 +1
      Modded/Hacked App: Cafeland - World Kitchen by Gamegos Internet Teknolojileri Ltd Sti.
      Bundle ID: com.gamegos.mobile.cafeland
      iTunes Store Link: https://apps.apple.com/us/app/cafeland-world-kitchen/id1147665432?uo=4&at=1010lce4



      Hack Features:
      - Freeze Currencies


      iOS Hack Download Link: https://iosgods.com/topic/100701-arm64-cafeland-world-kitchen-cheats-v2023-1/
        • Informative
        • Like
      • 442 replies
    • Chef & Friends: Cooking Game Cheats v1.40.2 +1
      Modded/Hacked App: Chef & Friends: Cooking Game By MYTONA Ltd.
      Bundle ID: com.mytona.cheftales
      iTunes Store Link: https://apps.apple.com/us/app/chef-friends-cooking-game/id1586951898?uo=4


      Hack Features:
      - Infinite Currencies (Hats, Coins, Gems)

      NOTE: May bug out the game so better try on your throw away account first 


      iOS Hack Download Link: https://iosgods.com/topic/178904-chef-friends-cooking-game-cheats-v141-1/
        • Winner
      • 40 replies
    • AdVenture Communist v6.53.1 +2 Cheats
      Modded/Hacked App: AdVenture Communist By Hyper Hippo Publishing Ltd.
      Bundle ID: com.kongregate.mobile.adventurecommunist
      iTunes Store Link: https://apps.apple.com/us/app/adventure-communist/id1225683141?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - Freeze Currencies
      - Unlimited Cards [Get Some]

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/149902-adventure-communist-v6430-2-cheats/
      • 138 replies
    • MWT: Tank Battles v1.16.1 Jailed Cheats +5
      Modded/Hacked App: MWT: Tank Battles By ARTSTORM FZE
      Bundle ID: com.Shooter.ModernWarfront
      iTunes Store Link: https://apps.apple.com/us/app/mwt-tank-battles/id6469805187?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - God Mode
      - Freeze Boosters
      - Free Subscription?
      + 10% EXP
      + 50% Cash / Gold


      iOS Hack Download IPA Link: https://iosgods.com/topic/188441-mwt-tank-battles-v121-jailed-cheats-5/
        • Like
      • 215 replies
    • Grand Mountain Adventure 2 v1.06000 Jailed Cheats +1
      Modded/Hacked App: Grand Mountain Adventure 2 By Toppluva AB
      Bundle ID: com.toppluva.grandmountain2
      iTunes Store Link: https://apps.apple.com/us/app/grand-mountain-adventure-2/id6475040075?uo=4

       

      📌 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🤩 Hack Features

      - Free iAP (Press cancel when Buy) -- Turn on cheat option inside iOSGods Menu first

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/192158-grand-mountain-adventure-2-v1018-jailed-cheats-1/
        • Informative
        • Thanks
      • 66 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