Jump to content

 Something great is coming! 🤖

Stay tuned for the big reveal happening here on iOSGods on the 20th of February!

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

    • Slayer Legend v600.6.8 Jailed Cheats +5
      Modded/Hacked App: Slayer Legend By GEAR2
      Bundle ID: com.gear2.growslayer
      iTunes Store Link: https://apps.apple.com/us/app/slayer-legend/id1635712706?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

      - Multiply Attack
      - Multiply Defense
      - God Mode
      - One Hit Kill
      - Freeze Currencies

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/189204-slayer-legend-v60061-jailed-cheats-5/
      • 72 replies
    • Three Kingdoms All-Star : Idle (Auto Update) +3 Cheat
      Modded/Hacked App: Three Kingdoms All-Star : Idle By Highbrow
      Bundle ID: com.highbrow.games.tki
      iTunes Store Link: https://apps.apple.com/us/app/three-kingdoms-all-star-idle/id6737404289?uo=4

       


      🤩 Hack Features

      - No Skill Cooldown
      • 48 replies
    • Match Valley v3750 [ +5 Jailed ] Coins Max
      Modded/Hacked App: Match Valley By TALEMONSTER OYUN YAZILIM VE PAZARLAMA ANONIM SIRKETI
      Bundle ID: com.talemonster.matchvalley
      iTunes Store Link: https://apps.apple.com/us/app/match-valley/id6511226434?uo=4


      🤩 Hack Features

      - Coins
      - Lives
      - Potion
      - Booster

      - Up Cost 0
      • 28 replies
    • Match Valley v3750 [ +5 Cheats ] Coins Max
      Modded/Hacked App: Match Valley By TALEMONSTER OYUN YAZILIM VE PAZARLAMA ANONIM SIRKETI
      Bundle ID: com.talemonster.matchvalley
      iTunes Store Link: https://apps.apple.com/us/app/match-valley/id6511226434?uo=4


      🤩 Hack Features

      - Coins
      - Lives
      - Potion
      - Booster

      - Up Cost 0
      • 27 replies
    • Hungry Shark World v7.5.1 [ +9 Cheats ] Currency Max
      Modded/Hacked App: Hungry Shark World By Ubisoft
      Bundle ID: com.ubisoft.hungrysharkworld
      iTunes Store Link: https://apps.apple.com/us/app/hungry-shark-world/id1046846443?uo=4


      Hack Features:
      - ADS NO

      - Gems

      - Coins 

      - Pearls 

      - Premium Pass

      - Health Auto Drain [ OFF ]

      - Boost Max 

      - Score Multi 

      - Revive Max 


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 101 replies
    • Hungry Shark Evolution v13.7.3 [ +9 Cheats ] Never Die
      Modded/Hacked App: Hungry Shark Evolution By Ubisoft
      Bundle ID: com.fgol.HungrySharkEvolution
      iTunes Store Link: https://apps.apple.com/us/app/hungry-shark-evolution/id535500008?uo=4



      Hack Features:

      - ADS NO

      - Gems Unlimited 

      - Coins Unlimited 

      - Health [ Auto Drain OFF ]

      - Booster Freeze 

      - Speed Hack 

      - Wall Break [ Only For Small Shark ]

      - Score Multi 

      - Invincible [ After Respawn ] Never Die
      • 102 replies
    • Royal Kingdom v26531 [ +11 Jailed ] Auto Win
      Modded/Hacked App: Royal Kingdom By Dream Games Teknoloji Anonim Sirketi
      Bundle ID: com.dreamgames.royalkingdom
      iTunes Store Link: https://apps.apple.com/us/app/royal-kingdom/id1606549505?uo=4


      Hack Features:

      - Coins [ Win Match ]

      - Potions

      - Lives Free

      - Booster Max

      - ViP Frame Unlock

      - Kingdom Pass Free

      - District unlock [ One Task Only ]

      - Auto Win [ Just One Move ]

      - Colour Spawn [ Blue Green Red Yellow Pink Orange ] Choose One Only


      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      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
    • Royal Kingdom v26531 [ +11 Cheats ] Auto Win
      Modded/Hacked App: Royal Kingdom By Dream Games Teknoloji Anonim Sirketi
      Bundle ID: com.dreamgames.royalkingdom
      iTunes Store Link: https://apps.apple.com/us/app/royal-kingdom/id1606549505?uo=4

      Hack Features:
      - Coins [ Win Match ]

      - Potions

      - Lives Free

      - Booster Max

      - ViP Frame Unlock

      - Kingdom Pass Free

      - District unlock [ One Task Only ]

      - Auto Win [ Just One Move ]

      - Colour Spawn [ Blue Green Red Yellow Pink Orange ] Choose One Only
      • 91 replies
    • Travel Merge Family v2.961 [ +1++ Cheats ] Currency Max
      Travel Merge Family

      🤩 Hack Features

      - Currency Max 
      • 18 replies
    • Travel Merge Family v2.961 [ +1++ Jailed ] Currency Max
      Modded/Hacked App: Travel Merge Family By Arruga Corp.
      Bundle ID: com.ArrugaCorp.TravelMergeFamily
      App Store Link: https://apps.apple.com/us/app/travel-merge-family/id6553995556?uo=4


      🤩 Hack Features

      - Currency Max
      • 21 replies
    • Crozzle - Crossword Puzzles v1.47.1 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Crozzle - Crossword Puzzles By MAG Interactive AB
      Bundle ID: se.maginteractive.crozzle
      App Store Link: https://apps.apple.com/ph/app/crozzle-crossword-puzzles/id6474729809?uo=4

      🤩 Hack Features

      - Auto ADS OFF
      - Unlimited Currency / Visual But Works
      - Unlimited Resources / Visual But Works
      • 15 replies
    • Crozzle - Crossword Puzzles v1.47.1 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Crozzle - Crossword Puzzles By MAG Interactive AB
      Bundle ID: se.maginteractive.crozzle
      App Store Link: https://apps.apple.com/ph/app/crozzle-crossword-puzzles/id6474729809?uo=4

      🤩 Hack Features

      - Auto ADS OFF
      - Unlimited Currency / Visual But Works
      - Unlimited Resources / Visual But Works
      • 14 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