Jump to content

 Something great is coming! 🚀

Stay tuned for the big reveal happening here on iOSGods on the 17th of December!

The countdown has finished!

12 posts in this topic

Recommended Posts

Posted

I'm having problems implementing a SCLAlert to my tweak

 

I seen DiDA explaining what to do but when I tried that I get errors from the .h I downloaded from GitHub

 

Can somebody help me?

Posted

Copy and paste the error output here.

 

Or follow this: https://iosgods.com/topic/15353-readme-how-to-save-terminal-errors-to-an-output-file/

Thanks I didn't even know I could save the errors

 

So here's the errors I've been getting:

Making all for tweak FruitSplash...
 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:1:
In file included from /var/mobile/fruitsplash/theos/include/SCLAlertView/SCLAlertView.h:14:
/var/mobile/fruitsplash/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/fruitsplash/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/fruitsplash/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/fruitsplash/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:1:
/var/mobile/fruitsplash/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/fruitsplash/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/fruitsplash/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/fruitsplash/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/fruitsplash/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 *activityIndicatorView;
^
/var/mobile/fruitsplash/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.3df904c2.o] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [FruitSplash.all.tweak.variables] Error 2
Posted

Are you using the latest SCLAlertView Headers? And which SDK?

Posted

 

TWEAKNAME_CFLAGS = -w

 

Aren't those errors and not warnings?

 

"10 errors generated."

Posted

 

TWEAKNAME_CFLAGS = -w
I get these errors now:

Making all for tweak FruitSplash...
 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...
 Compiling /var/mobile/fruitsplash/theos/include/SCLAlertView/SCLAlertView.m...
/var/mobile/fruitsplash/theos/include/SCLAlertView/SCLAlertView.m:64:1: error: @synthesize of 'weak' property is only allowed in ARC or GC mode
@implementation SCLAlertView
^
/var/mobile/fruitsplash/theos/include/SCLAlertView/SCLAlertView.m:47:47: note: property declared here
@property (nonatomic, weak) UIViewController *rootViewController;
                                              ^
/var/mobile/fruitsplash/theos/include/SCLAlertView/SCLAlertView.m:64:1: error: @synthesize of 'weak' property is only allowed in ARC or GC mode
@implementation SCLAlertView
^
/var/mobile/fruitsplash/theos/include/SCLAlertView/SCLAlertView.m:48:61: note: property declared here
@property (nonatomic, weak) id<UIGestureRecognizerDelegate> restoreInteractivePopGestureDelegate;
                                                            ^
/var/mobile/fruitsplash/theos/include/SCLAlertView/SCLAlertView.m:1639:1: error: @synthesize of 'weak' property is only allowed in ARC or GC mode
@implementation SCLALertViewTextFieldBuilder
^
/var/mobile/fruitsplash/theos/include/SCLAlertView/SCLAlertView.h:488:51: note: property declared here
@property(weak, nonatomic, readonly) SCLTextView *textField;
                                                  ^
/var/mobile/fruitsplash/theos/include/SCLAlertView/SCLAlertView.m:1642:23: error: a parameter list without types is only allowed in a function definition
        __weak typeof(self) weakSelf = self;
                      ^
/var/mobile/fruitsplash/theos/include/SCLAlertView/SCLAlertView.m:1642:28: error: expected ';' at end of declaration
        __weak typeof(self) weakSelf = self;
                           ^
                           ;
/var/mobile/fruitsplash/theos/include/SCLAlertView/SCLAlertView.m:1644:13: error: use of undeclared identifier 'weakSelf'
            weakSelf.parameterTitle = title;
            ^
/var/mobile/fruitsplash/theos/include/SCLAlertView/SCLAlertView.m:1645:20: error: use of undeclared identifier 'weakSelf'
            return weakSelf;
                   ^
/var/mobile/fruitsplash/theos/include/SCLAlertView/SCLAlertView.m:1673:1: error: @synthesize of 'weak' property is only allowed in ARC or GC mode
@implementation SCLALertViewButtonBuilder
^
/var/mobile/fruitsplash/theos/include/SCLAlertView/SCLAlertView.h:498:49: note: property declared here
@property(weak, nonatomic, readonly) SCLButton *button;
                                                ^
/var/mobile/fruitsplash/theos/include/SCLAlertView/SCLAlertView.m:1673:1: error: @synthesize of 'weak' property is only allowed in ARC or GC mode
@implementation SCLALertViewButtonBuilder
^
/var/mobile/fruitsplash/theos/include/SCLAlertView/SCLAlertView.m:1656:31: note: property declared here
@property(weak, nonatomic) id parameterTarget;
                              ^
/var/mobile/fruitsplash/theos/include/SCLAlertView/SCLAlertView.m:1676:23: error: a parameter list without types is only allowed in a function definition
        __weak typeof(self) weakSelf = self;
                      ^
/var/mobile/fruitsplash/theos/include/SCLAlertView/SCLAlertView.m:1676:28: error: expected ';' at end of declaration
        __weak typeof(self) weakSelf = self;
                           ^
                           ;
/var/mobile/fruitsplash/theos/include/SCLAlertView/SCLAlertView.m:1678:13: error: use of undeclared identifier 'weakSelf'
            weakSelf.parameterTitle = title;
            ^
/var/mobile/fruitsplash/theos/include/SCLAlertView/SCLAlertView.m:1679:20: error: use of undeclared identifier 'weakSelf'
            return weakSelf;
                   ^
/var/mobile/fruitsplash/theos/include/SCLAlertView/SCLAlertView.m:1686:23: error: a parameter list without types is only allowed in a function definition
        __weak typeof(self) weakSelf = self;
                      ^
/var/mobile/fruitsplash/theos/include/SCLAlertView/SCLAlertView.m:1686:28: error: expected ';' at end of declaration
        __weak typeof(self) weakSelf = self;
                           ^
                           ;
/var/mobile/fruitsplash/theos/include/SCLAlertView/SCLAlertView.m:1688:13: error: use of undeclared identifier 'weakSelf'
            weakSelf.parameterTarget = target;
            ^
/var/mobile/fruitsplash/theos/include/SCLAlertView/SCLAlertView.m:1689:20: error: use of undeclared identifier 'weakSelf'
            return weakSelf;
                   ^
/var/mobile/fruitsplash/theos/include/SCLAlertView/SCLAlertView.m:1696:23: error: a parameter list without types is only allowed in a function definition
        __weak typeof(self) weakSelf = self;
                      ^
/var/mobile/fruitsplash/theos/include/SCLAlertView/SCLAlertView.m:1696:28: error: expected ';' at end of declaration
        __weak typeof(self) weakSelf = self;
                           ^
                           ;
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [obj//var/mobile/fruitsplash/theos/include/SCLAlertView/SCLAlertView.m.7031c4ef.o] Error 1
make[1]: *** [internal-library-all_] Error 2
make: *** [FruitSplash.all.tweak.variables] Error 2

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

    • Pal Go: Tower Defense TD v0.4.41 [+7 Cheats]
      Modded/Hacked App: Pal Go: Tower Defense TD By Playwind Ltd
      Bundle ID: com.playwindgames.freedefender
      iTunes Store Link: https://apps.apple.com/us/app/pal-go-tower-defense-td/id6479316663?uo=4


       

      🚀 Hack Features

      - [VIP] Freeze Currency (Currency will not decrease when used)

      - [VIP] Currency Always Enough (Buy even when you don't have enough currency)

      - [Free] Higher Recruit Energy (Gives 500 Recruit Energy Every Wave)

      - [Free] Always Can Drag Hero

      - [Free] Skip Ads

      - [Free] No Attack Cooldown

      - [Free] Global Speed Multiplier (Enable Inside Battle)

       

      Warning


      Do not use on main account. There is a chance of ban. Not responsible for any bans.

       


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 69 replies
    • Pal Go: Tower Defense TD v0.4.41 [+7 Jailed Cheats]
      Modded/Hacked App: Pal Go: Tower Defense TD By Playwind Ltd
      Bundle ID: com.playwindgames.freedefender
      iTunes Store Link: https://apps.apple.com/us/app/pal-go-tower-defense-td/id6479316663?uo=4


       

      Hack Features

      - [VIP] Freeze Currency (Currency will not decrease when used)

      - [VIP] Currency Always Enough (Buy even when you don't have enough currency)

      - [Free] Higher Recruit Energy (Gives 500 Recruit Energy Every Wave)

      - [Free] Always Can Drag Hero

      - [Free] Skip Ads

      - [Free] No Attack Cooldown

      - [Free] Global Speed Multiplier (Enable Inside Battle)

       

      Warning


      Do not use on main account. There is a chance of ban. Not responsible for any bans.

       

      Jailbreak required iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 93 replies
    • Margonem Adventures v2.4.3 [+3 Jailed Cheats]
      Modded/Hacked App: Margonem Adventures By GARMORY sp. z o.o. sp. k.
      Bundle ID: pl.Garmory.MargonemAdventures
      iTunes Store Link: https://apps.apple.com/us/app/margonem-adventures/id6444410609?uo=4

       

      🤩 Hack Features

      - Enemy Can't Move
      - Enemy Can't Attack
      - Unlimited Mana
      • 23 replies
    • Margonem Adventures v2.4.3 [+3 Cheats]
      Modded/Hacked App: Margonem Adventures By GARMORY sp. z o.o. sp. k.
      Bundle ID: pl.Garmory.MargonemAdventures
      iTunes Store Link: https://apps.apple.com/us/app/margonem-adventures/id6444410609?uo=4



      🤩 Hack Features

      - Enemy Can't Move
      - Enemy Can't Attack
      - Unlimited Mana
      • 15 replies
    • Same Room Same Day: Pocket v0.0.38 [+3 Cheats]
      Modded/Hacked App: Same Room Same Day: Pocket By Eduard Malkhasyan
      Bundle ID: com.bugigamesIOS.SameRoomSameDay
      iTunes Store Link: https://apps.apple.com/us/app/same-room-same-day-pocket/id6742232597?uo=4

       

      🤩 Hack Features

      - Full Game Unlocked
      - Never Die
      - Unlimited Ammo
      • 11 replies
    • Same Room Same Day: Pocket v0.0.38 [+3 Jailed Cheats]
      Modded/Hacked App: Same Room Same Day: Pocket By Eduard Malkhasyan
      Bundle ID: com.bugigamesIOS.SameRoomSameDay
      iTunes Store Link: https://apps.apple.com/us/app/same-room-same-day-pocket/id6742232597?uo=4

       

      🤩 Hack Features

      - Full Game Unlocked
      - Never Die
      - Unlimited Ammo
      • 17 replies
    • Military Games - Border Wars v14.0 [+3 Cheats]
      Modded/Hacked App: Military Games - Border Wars By Faraz Khan
      Bundle ID: com.zalmayapps.borderwars
      App Store Link: https://apps.apple.com/us/app/military-games-border-wars/id1609310806?uo=4



      🤩 Hack Features

      - Unlimited Gold
      - Auto Win (Enable inside battle)
      - Unlimited Money (Enable inside battle)

       
      • 3 replies
    • Military Games - Border Wars v14.0 [+3 Jailed Cheats]
      Modded/Hacked App: Military Games - Border Wars By Faraz Khan
      Bundle ID: com.zalmayapps.borderwars
      App Store Link: https://apps.apple.com/us/app/military-games-border-wars/id1609310806?uo=4



      🤩 Hack Features

      - Unlimited Gold
      - Auto Win (Enable inside battle)
      - Unlimited Money (Enable inside battle)
      • 3 replies
    • Knights of Pen and Paper 3 v1.6.2 [+5 Cheats]
      Modded/Hacked App: Knights of Pen and Paper 3 By Northica Oy
      Bundle ID: com.northicagames.kopp3
      App Store Link: https://apps.apple.com/us/app/knights-of-pen-and-paper-3/id6462194230?uo=4



      🤩 Hack Features

      - High Gold Gain (Enable and Win Fight)
      - Always Can Claim Achievements
      - Auto Win (Enable inside battle)
      - Level Up Characters (Enable and your heroes levels up)
      - Max Level Equipments (Enable and all equipments will be max level)

      • 8 replies
    • Knights of Pen and Paper 3 v1.6.2 [+5 Jailed Cheats]
      Modded/Hacked App: Knights of Pen and Paper 3 By Northica Oy
      Bundle ID: com.northicagames.kopp3
      App Store Link: https://apps.apple.com/us/app/knights-of-pen-and-paper-3/id6462194230?uo=4



      🤩 Hack Features

      - High Gold Gain (Enable and Win Fight)
      - Always Can Claim Achievements
      - Auto Win (Enable inside battle)
      - Level Up Characters (Enable and your heroes levels up)
      - Max Level Equipments (Enable and all equipments will be max level)

      • 13 replies
    • Seaside Escape®: Merge & Story v1.86.0 [+2 Jailed Cheats]
      Modded/Hacked App: Seaside Escape®: Merge & Story By Microfun Limited
      Bundle ID: com.mf.cupcake
      App Store Link: https://apps.apple.com/us/app/seaside-escape-merge-story/id6443755785?uo=4

       

      🤩 Hack Features

      - Unlimited Energy
      - Freeze Currency
      • 24 replies
    • Seaside Escape®: Merge & Story v1.86.0 [+2 Cheats]
      Modded/Hacked App: Seaside Escape®: Merge & Story By Microfun Limited
      Bundle ID: com.mf.cupcake
      App Store Link: https://apps.apple.com/us/app/seaside-escape-merge-story/id6443755785?uo=4



      🤩 Hack Features

      - Unlimited Energy
      - Freeze Currency
       
      • 18 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