Jump to content

SCLAlertView Style troubles/errors


Go to solution Solved by Pro,

28 posts in this topic

Recommended Posts

Posted (edited)

I want to make tweaks to see pop up like https://github.com/dogo/SCLAlertView and already implemented the file in theos/include/SCLAlertview. but there are errors like this. I've been looking for information on google or forum iosgods. but did not find a solution.

Please help me. thanks.
 
Sorry, my English is bad
 
and the following error I experienced :
 
Fajars-MacBook-Pro:pxcex pxcex$ make package install

 

 

> Making all for tweak pxcex…

==> Compiling /var/theos/include/SCLAlertView//SCLAlertView.m (armv7)…

/var/theos/include/SCLAlertView//SCLAlertView.m:1584:16: error: type specifier

      missing, defaults to 'int' [-Werror,-Wimplicit-int]

        __weak typeof(self) weakSelf = self;

               ^

/var/theos/include/SCLAlertView//SCLAlertView.m:1584:9: error: '__weak' only

      applies to Objective-C object or block pointer types; type here is 'int'

      [-Werror,-Wignored-attributes]

        __weak typeof(self) weakSelf = self;

        ^

/var/theos/include/SCLAlertView//SCLAlertView.m:1584:23: error: a parameter list

      without types is only allowed in a function definition

        __weak typeof(self) weakSelf = self;

                      ^

/var/theos/include/SCLAlertView//SCLAlertView.m:1584:28: error: expected ';' at

      end of declaration

        __weak typeof(self) weakSelf = self;

                           ^

                           ;

/var/theos/include/SCLAlertView//SCLAlertView.m:1586:13: error: use of

      undeclared identifier 'weakSelf'

            weakSelf.parameterTitle = title;

            ^

/var/theos/include/SCLAlertView//SCLAlertView.m:1587:20: error: use of

      undeclared identifier 'weakSelf'

            return weakSelf;

                   ^

/var/theos/include/SCLAlertView//SCLAlertView.m:1618:16: error: type specifier

      missing, defaults to 'int' [-Werror,-Wimplicit-int]

        __weak typeof(self) weakSelf = self;

               ^

/var/theos/include/SCLAlertView//SCLAlertView.m:1618:9: error: '__weak' only

      applies to Objective-C object or block pointer types; type here is 'int'

      [-Werror,-Wignored-attributes]

        __weak typeof(self) weakSelf = self;

        ^

/var/theos/include/SCLAlertView//SCLAlertView.m:1618:23: error: a parameter list

      without types is only allowed in a function definition

        __weak typeof(self) weakSelf = self;

                      ^

/var/theos/include/SCLAlertView//SCLAlertView.m:1618:28: error: expected ';' at

      end of declaration

        __weak typeof(self) weakSelf = self;

                           ^

                           ;

/var/theos/include/SCLAlertView//SCLAlertView.m:1620:13: error: use of

      undeclared identifier 'weakSelf'

            weakSelf.parameterTitle = title;

            ^

/var/theos/include/SCLAlertView//SCLAlertView.m:1621:20: error: use of

      undeclared identifier 'weakSelf'

            return weakSelf;

                   ^

/var/theos/include/SCLAlertView//SCLAlertView.m:1628:16: error: type specifier

      missing, defaults to 'int' [-Werror,-Wimplicit-int]

        __weak typeof(self) weakSelf = self;

               ^

/var/theos/include/SCLAlertView//SCLAlertView.m:1628:9: error: '__weak' only

      applies to Objective-C object or block pointer types; type here is 'int'

      [-Werror,-Wignored-attributes]

        __weak typeof(self) weakSelf = self;

        ^

/var/theos/include/SCLAlertView//SCLAlertView.m:1628:23: error: a parameter list

      without types is only allowed in a function definition

        __weak typeof(self) weakSelf = self;

                      ^

/var/theos/include/SCLAlertView//SCLAlertView.m:1628:28: error: expected ';' at

      end of declaration

        __weak typeof(self) weakSelf = self;

                           ^

                           ;

/var/theos/include/SCLAlertView//SCLAlertView.m:1630:13: error: use of

      undeclared identifier 'weakSelf'

            weakSelf.parameterTarget = target;

            ^

/var/theos/include/SCLAlertView//SCLAlertView.m:1631:20: error: use of

      undeclared identifier 'weakSelf'

            return weakSelf;

                   ^

/var/theos/include/SCLAlertView//SCLAlertView.m:1638:16: error: type specifier

      missing, defaults to 'int' [-Werror,-Wimplicit-int]

        __weak typeof(self) weakSelf = self;

               ^

fatal error: too many errors emitted, stopping now [-ferror-limit=]

20 errors generated.

make[3]: *** [/users/pxcex/Documents/Tweak/pxcex/.theos/obj/debug/armv7//var/theos/include/SCLAlertView//SCLAlertView.m.47b43317.o] Error 1

make[2]: *** [/users/pxcex/Documents/Tweak/pxcex/.theos/obj/debug/armv7/pxcex.dylib] Error 2

make[1]: *** [internal-library-all_] Error 2

make: *** [pxcex.all.tweak.variables] Error 2

Fajars-MacBook-Pro:pxcex pxcex$ 

 

 

my Makefile :

 

 

ARCHS = armv7 arm64

CFLAGS = -fobjc-arc # ARC is needed for SCLAlertView
include $(THEOS)/makefiles/common.mk
TWEAK_NAME = pxcex
pxcex_FILES = Tweak.xm $(shell find $(THEOS)/include/SCLAlertView/ -name '*.m')
pxcex__LDFLAGS += -Wl,-segalign,4000
pxcex_FRAMEWORKS = UIKit MessageUI Social QuartzCore CoreGraphics Foundation AVFoundation Accelerate GLKit AudioToolbox
 
include $(THEOS_MAKE_PATH)/tweak.mk
 
after-install::
install.exec "killall -9 SpringBoard"
Updated by pxcex
  • Replies 27
  • Created
  • Last Reply

Top Posters In This Topic

Posted

 

already apply from there. but the problem remains the same.
 

/var/theos/include/SCLAlertView//SCLAlertView.m:1584:16: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]

        __weak typeof(self) weakSelf = self;

               ^

/var/theos/include/SCLAlertView//SCLAlertView.m:1584:9: error: '__weak' only applies to Objective-C object or block pointer types; type here is 'int' [-Werror,-Wignored-attributes]

        __weak typeof(self) weakSelf = self;

        ^

/var/theos/include/SCLAlertView//SCLAlertView.m:1584:23: error: a parameter list without types is only allowed in a function definition

        __weak typeof(self) weakSelf = self;

                      ^

/var/theos/include/SCLAlertView//SCLAlertView.m:1584:28: error: expected ';' at end of declaration

        __weak typeof(self) weakSelf = self;

                           ^

                           ;

/var/theos/include/SCLAlertView//SCLAlertView.m:1586:13: error: use of undeclared identifier 'weakSelf'

            weakSelf.parameterTitle = title;

            ^

/var/theos/include/SCLAlertView//SCLAlertView.m:1587:20: error: use of undeclared identifier 'weakSelf'

            return weakSelf;

                   ^

/var/theos/include/SCLAlertView//SCLAlertView.m:1618:16: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]

        __weak typeof(self) weakSelf = self;

               ^

/var/theos/include/SCLAlertView//SCLAlertView.m:1618:9: error: '__weak' only applies to Objective-C object or block pointer types; type here is 'int' [-Werror,-Wignored-attributes]

        __weak typeof(self) weakSelf = self;

        ^

/var/theos/include/SCLAlertView//SCLAlertView.m:1618:23: error: a parameter list without types is only allowed in a function definition

        __weak typeof(self) weakSelf = self;

                      ^

/var/theos/include/SCLAlertView//SCLAlertView.m:1618:28: error: expected ';' at end of declaration

        __weak typeof(self) weakSelf = self;

                           ^

                           ;

/var/theos/include/SCLAlertView//SCLAlertView.m:1620:13: error: use of undeclared identifier 'weakSelf'

            weakSelf.parameterTitle = title;

            ^

/var/theos/include/SCLAlertView//SCLAlertView.m:1621:20: error: use of undeclared identifier 'weakSelf'

            return weakSelf;

                   ^

/var/theos/include/SCLAlertView//SCLAlertView.m:1628:16: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]

        __weak typeof(self) weakSelf = self;

               ^

/var/theos/include/SCLAlertView//SCLAlertView.m:1628:9: error: '__weak' only applies to Objective-C object or block pointer types; type here is 'int' [-Werror,-Wignored-attributes]

        __weak typeof(self) weakSelf = self;

        ^

/var/theos/include/SCLAlertView//SCLAlertView.m:1628:23: error: a parameter list without types is only allowed in a function definition

        __weak typeof(self) weakSelf = self;

                      ^

/var/theos/include/SCLAlertView//SCLAlertView.m:1628:28: error: expected ';' at end of declaration

        __weak typeof(self) weakSelf = self;

                           ^

                           ;

/var/theos/include/SCLAlertView//SCLAlertView.m:1630:13: error: use of undeclared identifier 'weakSelf'

            weakSelf.parameterTarget = target;

            ^

/var/theos/include/SCLAlertView//SCLAlertView.m:1631:20: error: use of undeclared identifier 'weakSelf'

            return weakSelf;

                   ^

/var/theos/include/SCLAlertView//SCLAlertView.m:1638:16: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]

        __weak typeof(self) weakSelf = self;

               ^

fatal error: too many errors emitted, stopping now [-ferror-limit=]

 

20 errors generated.

Posted

I remember having this issue myself, I cannot remember how I solved it. :p

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

    • Matching Story v1.67.01 [ +6 Cheats ] Auto Win
      Modded/Hacked App: Matching Story By VERTEX GAMES PTE. LTD.
      Bundle ID: matching.story
      iTunes Store Link: https://apps.apple.com/ph/app/matching-story/id1558803930?uo=4


      🤩 Hack Features

      - Auto Win

      - Coins

      - Diamonds [ Win Match Linked With Moves ]

      - Lives

      - Booster

      - Moves
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 109 replies
    • Matching Story v1.67.01 [ +6 Jailed ] Auto Win
      Modded/Hacked App: Matching Story By VERTEX GAMES PTE. LTD.
      Bundle ID: matching.story
      iTunes Store Link: https://apps.apple.com/ph/app/matching-story/id1558803930?uo=4

       
      🤩 Hack Features

      - Auto Win

      - Coins

      - Diamonds [ Win Match Linked With Moves ]

      - Lives

      - Booster

      - Moves
        • Informative
        • Agree
        • Haha
        • Thanks
        • Like
      • 107 replies
    • Sport Star - Team Manager Idle v0.10.0 [ +4 APK MOD ] Currency Max
      Mod APK Game Name: Sport Star - Team Manager Idle
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.coolcatsgames.sportstaridle&hl=en

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Currency Freeze
      - Gems Max
      - Cash Increaser
      • 0 replies
    • Sport Star - Team Manager Idle v0.10.0 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Sport Star - Team Manager Idle By Gryphon Games UG (haftungsbeschrankt)
      Bundle ID: com.coolcatsgames.sportstaridle
      App Store Link: https://apps.apple.com/us/app/sport-star-team-manager-idle/id6761053085?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Enough Currency
      - Currency Freeze
      - Gems Max
      - Cash Increaser
      • 0 replies
    • Sport Star - Team Manager Idle v0.10.0 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Sport Star - Team Manager Idle By Gryphon Games UG (haftungsbeschrankt)
      Bundle ID: com.coolcatsgames.sportstaridle
      App Store Link: https://apps.apple.com/us/app/sport-star-team-manager-idle/id6761053085?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Enough Currency
      - Currency Freeze
      - Gems Max
      - Cash Increaser
      • 0 replies
    • God Rivals: RPG Roguelike +8 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: God Rivals: RPG Roguelike By Gamee Joint Stock Company
      Bundle ID: com.gamee.godslayer.rpg.rougelike
      App Store Link: https://apps.apple.com/us/app/god-rivals-rpg-roguelike/id6747413590?uo=4

       

      🤩 Hack Features

      - God Mode
      - One-Hit Kill
      - Increased Attack Speed
      - No Skill Cooldown
      - Auto Win
      - Unlimited Currencies -> Will increase instead of decrease.
      - Unlock Premium Pass
      - Unlock Royal Pass
        • Informative
        • Winner
        • Like
      • 4 replies
    • Dragon Barrage: Brick Breaker v1.1.6 [ +6 APK MOD ] Auto Win
      Modded/Hacked App: Dragon Barrage By Ryogo Oka
      Bundle ID: game01.hosistem.ne
      App Store Link: https://apps.apple.com/us/app/dragon-barrage/id6760708796?uo=4

      🤩 Hack Features

      - ATK MAX
      :::::: VIP ::::::
      - Auto ADS NO
      - Auto Win
      - Unlimited Gems / Sell Items Then Get
      - Unlimited Energy
      - Enemy Freeze
      • 0 replies
    • Dragon Barrage v1.1.6 [ +6 Cheats ] Auto Win
      Modded/Hacked App: Dragon Barrage By Ryogo Oka
      Bundle ID: game01.hosistem.ne
      App Store Link: https://apps.apple.com/us/app/dragon-barrage/id6760708796?uo=4

      🤩 Hack Features

      - ATK MAX
      :::::: VIP ::::::
      - Auto ADS NO
      - Auto Win
      - Unlimited Gems
      - Unlimited Energy
      - Enemy Freeze
      • 0 replies
    • Dragon Barrage v1.1.6 [ +6 Jailed ] Auto Win
      Modded/Hacked App: Dragon Barrage By Ryogo Oka
      Bundle ID: game01.hosistem.ne
      App Store Link: https://apps.apple.com/us/app/dragon-barrage/id6760708796?uo=4

      🤩 Hack Features

      - ATK MAX
      :::::: VIP ::::::
      - Auto ADS NO
      - Auto Win
      - Unlimited Gems
      - Unlimited Energy
      - Enemy Freeze
        • Like
      • 0 replies
    • Ghost Sniper: War FPS Shooter v1.0.1 [ +6 APK MOD ] Currency Max
      Mod APK Game Name: Ghost Sniper: War FPS Shooter
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=sniper.war.target.soldier.shooter.aldagames.com

      🤩 Hack Features

      - Auto ADS No
      - Unlimited Gold
      - Unlimited Cash
      - Unlimited Energy
      - Unlimited Stars
      - Ammo Freeze
        • Agree
        • Like
      • 2 replies
    • Ghost Sniper: War FPS Shooter v1.0.1 [ +6 Jailed ] Currency Max
      Modded/Hacked App: Ghost Sniper: War FPS Shooter By Alda Games, s.r.o.
      Bundle ID: sniper.war.target.soldier.shooter.aldagames.com
      App Store Link: https://apps.apple.com/us/app/ghost-sniper-war-fps-shooter/id6756882608?uo=4

      🤩 Hack Features

      - Auto ADS No
      - Unlimited Gold
      - Unlimited Cash
      - Unlimited Energy
      - Unlimited Stars
      - Ammo Freeze
        • Like
      • 2 replies
    • Ghost Sniper: War FPS Shooter v1.0.1 [ +6 Cheats ] Currency Max
      Modded/Hacked App: Ghost Sniper: War FPS Shooter By Alda Games, s.r.o.
      Bundle ID: sniper.war.target.soldier.shooter.aldagames.com
      App Store Link: https://apps.apple.com/us/app/ghost-sniper-war-fps-shooter/id6756882608?uo=4

      🤩 Hack Features

      - Auto ADS No
      - Unlimited Gold
      - Unlimited Cash
      - Unlimited Energy
      - Unlimited Stars
      - Ammo Freeze
      • 1 reply
×
  • 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