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

    • Superhero Idle: Strike League v0.11.2 [+6 Jailed Cheats]
      Modded/Hacked App: Superhero Idle: Strike League By Midnite SRL
      Bundle ID: games.midnite.sid
      App Store Link: https://apps.apple.com/us/app/superhero-idle-strike-league/id6449540121?uo=4



      🤩 Hack Features

      - Never Die
      - One Hit Kill
      - Freeze Currency (Always Will Increase Cash, Gem)
      - Unlimited Skip Ads
      - Activate ViP
      - No Ads
      • 0 replies
    • Superhero Idle: Strike League v0.11.2 [+6 Cheats]
      Modded/Hacked App: Superhero Idle: Strike League By Midnite SRL
      Bundle ID: games.midnite.sid
      App Store Link: https://apps.apple.com/us/app/superhero-idle-strike-league/id6449540121?uo=4



      🤩 Hack Features

      - Never Die
      - One Hit Kill
      - Freeze Currency (Always Will Increase Cash, Gem)
      - Unlimited Skip Ads
      - Activate ViP
      - No Ads
      • 0 replies
    • Smash Hit v1.5.6 Jailed Cheats +2
      Modded/Hacked App: Smash Hit By Mediocre AB
      Bundle ID: com.mediocre.smashhit
      iTunes Store Link: https://apps.apple.com/us/app/smash-hit/id603527166?uo=4


      Hack Features:
      - Unlimited Balls
      - Free iAP (Turn on inside iOSGods Mod Menu first)


      Jailbreak required hack(s): https://iosgods.com/topic/74991-smash-hit-cheats-v142-1/


      Hack Download Link: https://iosgods.com/topic/74993-smash-hit-v150-jailed-cheats-2/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 297 replies
    • Gangstar Vegas Cheats v8.4.0 +4
      Modded/Hacked App: Gangstar Vegas - Mafia action By Gameloft
      Bundle ID: com.gameloft.gangstar4
      iTunes Store Link: https://apps.apple.com/us/app/gangstar-vegas-mafia-action/id571393580?uo=4

       

      📌 Mod Requirements

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

       

      🤩 Hack Features

      - Infinite Currencies
      - Infinite Run ( To stop running turn off in menu then click run again )
      - Infinite Ammo / No Reload ( Required re-launching the game after purchasing new gun and enabled in menu before load into the game )
      - No Cops


      NOTE: Turn off wifi before playing


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/topic/166702-gangstar-vegas-mafia-action-v791-jailed-cheats-3/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/147734-gangstar-vegas-cheats-v800-4/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,003 replies
    • Into The Dead 2 Cheats v1.78.0 +11
      Modded/Hacked App: Into the Dead 2 By Prodigy Design Limited T/A Sidhe Interactive
      Bundle ID: com.pikpok.dr2.iosstore
      iTunes Store Link: https://itunes.apple.com/us/app/into-the-dead-2/id1151220243?mt=8&uo=4&at=1010lce4



      Hack Features:
      - Infinite Ammo
      - No Reload
      - One Shot Kill
      - Infinite Grenade
      - No Grenade Cooldown
      - Insane Explotion Radius after Throw Grenade
      - No Collision (God Mode)
      - Infinite Stamnia
      - ViP Services
      - Infinite Silver
      - Infinite Gold


      Hack Download Link: https://iosgods.com/topic/73337-arm64-into-the-dead-2-cheats-v1141-11/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,576 replies
    • Candy Crush Soda Saga Cheats v1.294.2 +3
      Modded/Hacked App: Candy Crush Soda Saga By King.com Limited
      Bundle ID: com.midasplayer.apps.candycrushsodasaga
      iTunes Store Link: https://apps.apple.com/us/app/candy-crush-soda-saga/id850417475?uo=4

       

      🔧 Mod Requirements

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

       

      🚀 Hack Features

      - Freeze Moves
      - Freeze Lives
      - Freeze Boosters


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/topic/191667-candy-crush-soda-saga-v12861-jailed-cheats-3/

       

      📥 iOS Hack Download Link: https://iosgods.com/topic/191666-candy-crush-soda-saga-cheats-v12873-3/
        • Agree
        • Haha
        • Winner
        • Like
      • 15 replies
    • My Hot Pot Story Cheats v4.7.3 +1
      Modded/Hacked App: My Hotpot Story By 冲 于
      Bundle ID: com.lxqd.hotpotiver
      iTunes Store Link: https://apps.apple.com/us/app/my-hotpot-story/id1623328997?uo=4


      Hack Features:
      - Infinite Currencies


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/166067-my-hotpot-story-v145-jailed-cheats-1/


      iOS Hack Download Link: https://iosgods.com/topic/166065-my-hotpot-story-cheats-all-versions-1/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 150 replies
    • Nonstop Knight 2 Cheats v3.2.9 +7 [ God Mode & More ]
      Modded/Hacked App: Nonstop Knight 2 - Action RPG By Flaregames GmbH
      Bundle ID: com.koplagames.kopla02
      iTunes Store Link: https://apps.apple.com/us/app/nonstop-knight-2-action-rpg/id1444887980?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
      - Custom Move Speed
      - Custom Attack Speed
      - Custom Attack Range
      - Instant Skill
      - Infinite MP

       

      Non-Jailbroken Hack: https://iosgods.com/topic/99785-nonstop-knight-2-v323-jailed-cheats-2/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/99783-nonstop-knight-2-cheats-v324-7-god-mode-more/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,606 replies
    • Hollywood Story: Fashion Star Cheats v13.2 +4
      Modded/Hacked App: Hollywood Story®: Fashion Star By Nanobit d.o.o.
      Bundle ID: com.nanobitsoftware.hollywoodstory
      iTunes Store Link: https://apps.apple.com/us/app/hollywood-story-fashion-star/id876656488?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 Cash
      - Infinite Gems
      - Infinite Golden Tickets
      - Infinite Stars Point

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/73408-hollywood-story-fashion-star-cheats-v1211-4/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 790 replies
    • Duolingo - Language Lessons v7.77.0 Jailed Mod +1
      Modded/Hacked App: Duolingo By Duolingo
      Bundle ID: com.duolingo.DuolingoMobile
      iTunes Store Link: https://itunes.apple.com/us/app/duolingo/id570060128?mt=8&uo=4&at=1010lce4


      Hack Features:
      - PREMIUM
       

      Hack Download Link: https://iosgods.com/topic/78624-arm64-duolingo-v5248-jailed-mod-2/


      Credits:
      - @Laxus
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 2,783 replies
    • Dummynation Cheats v3.3.3 +3
      Modded/Hacked App: Dummynation By ALEJANDRO HERNANDEZ FERRERO
      Bundle ID: ahf.dummynation
      iTunes Store Link: https://apps.apple.com/us/app/dummynation/id6444295551?uo=4

       

      📌 Mod Requirements

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

       

      🤩 Hack Features

      - Premium + No Ads
      - Infinite Research Point
      - Infinite Liquidity (Gold)


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/topic/191828-dummynation-v313-jailed-cheats-3/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/191829-dummynation-cheats-v313-3/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 17 replies
    • Demon Squad: Idle RPG Cheats v1.82 +2
      Modded/Hacked App: Demon Squad: Idle RPG By SuperPlanet corp.
      Bundle ID: com.superplanet.demonsquad
      iTunes Store Link: https://apps.apple.com/us/app/demon-squad-idle-rpg/id6504470907?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

      - Multiply Attack
      - Multiply Defense

       

      Non-Jailbroken Hack: https://iosgods.com/topic/188363-demon-squad-idle-rpg-v170-jailed-cheats-2/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/185576-demon-squad-idle-rpg-cheats-v171-2/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 85 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