Jump to content

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

    • Tiny Gladiators 2 v2.5.1 [ +10 APK MOD ] Always Win
      Mod APK Game Name: Tiny Gladiators 2 By BoomBit, Inc.
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.boombitgames.Tiny2&hl=en
      🤩 Hack Features

      - Anti Cheat
      - ViP Active
      - Gold Cost 1
      - Skip Tokens Cost 1 [ Pink Gems ]
      - Colosseum Entry Cost 1
      - Upgrade Cost 1
      - DMG
      - ATK Speed
      - Enemy Freeze
      - Easy Win - Store Mod Die Anyone

      Note:- Auto Mod OFF In Fight / Than Work DMG / ATK Speed / Easy Win
      • 4 replies
    • Eternium Cheats v1.46.19 +11
      Modded/Hacked App: Eternium By Making Fun, Inc.
      Bundle ID: com.makingfun.mageandminions
      iTunes Store Link: https://apps.apple.com/us/app/eternium/id579931356?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

      - 5K Gems When Completed Stage
      - Infinite Gold
      - Infinite Cosmetic
      - Infinite Yellow Stone
      - Multiply Attack (Linked with Enemy)
      - No Skills Cooldown
      - No Consumable Cooldown
      - Multiply Attack Speed
      - Instant Regen Health
      - Always Crit
      - Material Drops (When you killed an Enemy it will drop materials for crafts)



      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/194526-eternium-cheats-v13355-6/
      • 113 replies
    • 스페이스 미니언즈: 디펜스 Space Minions: Defense v0.0.37 [ +9 Cheats ] Never Die
      Modded/Hacked App: Space Minions: Defense By Teamsparta Inc.
      Bundle ID: com.TeamSparta.SpaceMinions
      App Store Link: https://apps.apple.com/kr/app/space-minions-defense/id6758454845?uo=4

      🤩 Hack Features

      - Currency / No Need
      - Resources / No Need
      - DMG MAX
      - Never Die
      - Enemy Speed
      • 9 replies
    • 스페이스 미니언즈: 디펜스 Space Minions: Defense v0.0.37 [ +9 Jailed ] Never Die
      Modded/Hacked App: Space Minions: Defense By Teamsparta Inc.
      Bundle ID: com.TeamSparta.SpaceMinions
      App Store Link: https://apps.apple.com/kr/app/space-minions-defense/id6758454845?uo=4

      🤩 Hack Features

      - Currency / No Need
      - Resources / No Need
      - DMG MAX
      - Never Die
      - Enemy Speed
      • 10 replies
    • 배틀 쉽 고 : 몬스터 웨이브 Battle Ship Go: Monster Wave v0.0.29 [ +9 Cheats ] Never Die
      Modded/Hacked App: Battle Ship Go: Monster Wave By Teamsparta Inc.
      Bundle ID: com.TeamSparta.battleshipgo
      App Store Link: https://apps.apple.com/kr/app/battle-ship-go-monster-wave/id6758370740?uo=4
      🤩 Hack Features

      - Currency / No Need
      - Resources / No Need
      - DMG MAX
      - Never Die
      - Enemy Speed
      • 11 replies
    • 배틀 쉽 고 : 몬스터 웨이브 Battle Ship Go: Monster Wave v0.0.29 [ +9 Jailed ] Never Die
      Modded/Hacked App: Battle Ship Go: Monster Wave By Teamsparta Inc.
      Bundle ID: com.TeamSparta.battleshipgo
      App Store Link: https://apps.apple.com/kr/app/battle-ship-go-monster-wave/id6758370740?uo=4

      🤩 Hack Features

      - Currency / No Need
      - Resources / No Need
      - DMG MAX
      - Never Die
      - Enemy Speed

      Note: Don't Abuse Hack Incase Banned
      • 11 replies
    • Goose Goose Duck +14 Jailed Cheats [ ESP Boxes, Lines ]
      Modded/Hacked App: Goose Goose Duck By Gaggle Studios, Inc.
      Bundle ID: com.Gaggle.fun.GooseGooseDuck
      App Store Link: https://apps.apple.com/us/app/goose-goose-duck/id1558248707?uo=4

       


      🤩 Hack Features

      - ESP Boxes -> Add a box around players to see through walls.
      - ESP Lines -> Add lines to players to see their location.
      - ESP Names -> Add names to players.
      - ESP Distance -> Add distance to players from your location.
      - No Clip -> Go through walls.
      - See Ghosts
      - Unlimited Vision
      - Call Emergency
      - Remove Roofs
      - Drone View / Field of View
      - Teleport to Saved Position
      - Teleport to X/Y
      - Teleport to Player
      - Player List
      • 5 replies
    • Airport Empire 2026 v1.0.7 [ +2 Cheats ] Currency Max
      Modded/Hacked App: Airport Empire 2026 By HYPERCELL SIA
      Bundle ID: com.cousteau.airport.empire
      App Store Link: https://apps.apple.com/us/app/airport-empire-2026/id6760105102?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Cash
      • 1 reply
    • Airport Empire 2026 v1.0.7 [ +2 Jailed ] Currency Max
      Modded/Hacked App: Airport Empire 2026 By HYPERCELL SIA
      Bundle ID: com.cousteau.airport.empire
      App Store Link: https://apps.apple.com/us/app/airport-empire-2026/id6760105102?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Cash
      • 2 replies
    • Airport Empire - Idle Tycoon v1.0.7 [ +2 APK MOD ] Currency Max
      Mod APK Game Name: Airport Empire - Idle Tycoon
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.cousteau.airport.empire&hl=en

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Cash
      • 0 replies
    • Goblin Miner: Idle Merger v3.16.0 [ +5 Cheats ] Coins Unlimited
      Modded/Hacked App: Goblin Miner: Idle Merger By ProGamesLab LTD
      Bundle ID: com.goblins.idle.merge.game
      App Store Link: https://apps.apple.com/us/app/goblin-miner-idle-merger/id6751527945?uo=4

      🤩 Hack Features

      - Unlimited Coins / Mine Upgrade
      - Unlimited Goblin Drop / No Limite
      - Goblin LvL Higher / Easy To Skip Time Mine / First Drop Goblin Then Chose Higher LvL
      - Unlimited Magic Dust
      - Ruby Pass
        • Like
      • 30 replies
    • Goblin Miner: Idle Merger v3.16.0 [ +5 Jailed ] Coins Unlimited
      Modded/Hacked App: Goblin Miner: Idle Merger By ProGamesLab LTD
      Bundle ID: com.goblins.idle.merge.game
      App Store Link: https://apps.apple.com/us/app/goblin-miner-idle-merger/id6751527945?uo=4

      🤩 Hack Features

      - Unlimited Coins / Mine Upgrade
      - Unlimited Goblin Drop / No Limite
      - Goblin LvL Higher / Easy To Skip Time Mine / First Drop Goblin Then Chose Higher LvL
      - Unlimited Magic Dust
      - Ruby Pass
      • 43 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