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

    • BitLife - Life Simulator Cheats v3.19.1 +2
      Modded/Hacked App: BitLife - Life Simulator by Candywriter, LLC
      Bundle ID: com.wtfapps.apollo16
      iTunes Store Link: https://apps.apple.com/us/app/bitlife-life-simulator/id1374403536?uo=4&at=1010lce4


      Hack Features:
      - Infinite Cash
      - Free Bitizen Purchase (Press Cancle) - Work for All Versions


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/84167-arm64-bitlife-life-simulator-v1412-jailed-cheats-2/


      Hack Download Link: https://iosgods.com/topic/84223-arm64-bitlife-life-simulator-cheats-all-versions-2/
      • 3,592 replies
    • Matchington Mansion Cheats v1.182.0 +5
      Modded/Hacked App: Matchington Mansion By Magic Tavern, Inc.
      Bundle ID: com.matchington.mansion
      iTunes Store Link: https://apps.apple.com/us/app/matchington-mansion/id1216575026?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 Moves
      - Infinite Lives
      - Infinite Booster
      - Infinite Coin (Spend some/ Get some)
      - Infinite Stars (Complete task without needing Stars)

       

      Non-Jailbroken Hack: https://iosgods.com/topic/75130-matchington-mansion-v11750-jailed-cheats-3/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/75127-matchington-mansion-cheats-v11770-5/
      • 801 replies
    • Modern Ops: Online Shooter FPS v9.53 +6 Jailed Cheats [ No Recoil + More ]
      Modded/Hacked App: Modern Ops: Online Shooter FPS By Edkon Games GmbH
      Bundle ID: com.edkongames.mobs
      App Store Link: https://apps.apple.com/us/app/modern-ops-online-shooter-fps/id1415791453?uo=4

       


      🤩 Hack Features

      - No Recoil
      - No Spread
      - No Flashbang Effect
      - No Smoke Effect
      - Red Crosshair
      - Field of View Modifier
      • 0 replies
    • FIFA Rivals - Mobile Football v1.0.2 +2 Jailed Cheats [ Auto Win ]
      Modded/Hacked App: FIFA Rivals - Mobile Football By Mythical Games
      Bundle ID: com.mythical.fifarivals
      iTunes Store Link:https://apps.apple.com/us/app/fifa-rivals-mobile-football/id6746578704

       
       

      🤩 Hack Features

      - Auto Win -> Linked to yourself & opponent. Every goal scored will result in a win.
      - Season Pass Unlocked -> Will let you claim all rewards from all passes.
      • 9 replies
    • FIFA Rivals - Mobile Football v1.0.2 +2 Cheats [ Auto Win ]
      Modded/Hacked App: FIFA Rivals - Mobile Football By Mythical Games
      Bundle ID: com.mythical.fifarivals
      iTunes Store Link:https://apps.apple.com/us/app/fifa-rivals-mobile-football/id6746578704

       
       

      🤩 Hack Features

      - Auto Win -> Linked to yourself & opponent. Every goal scored will result in a win.
      - Season Pass Unlocked -> Will let you claim all rewards from all passes.
      • 19 replies
    • Modern Ops: Online Shooter FPS v9.53 +6 Cheats [ No Recoil + More ]
      Modded/Hacked App: Modern Ops: Online Shooter FPS By Edkon Games GmbH
      Bundle ID: com.edkongames.mobs
      App Store Link: https://apps.apple.com/us/app/modern-ops-online-shooter-fps/id1415791453?uo=4

       
       

      🤩 Hack Features

      - No Recoil
      - No Spread
      - No Flashbang Effect
      - No Smoke Effect
      - Red Crosshairs
      - Field of View Modifier
      • 1 reply
    • Hanuman & Fighters Versus Evil v1.1 [+3 Jailed Cheats]
      Modded/Hacked App: Hanuman & Fighters Versus Evil By VOJOY GAMES PRIVATE LIMITED
      Bundle ID: com.vojoygames.hanumangame.ios
      App Store Link: https://apps.apple.com/us/app/hanuman-fighters-versus-evil/id6737682082?uo=4

       

      🤩 Hack Features

      - Enemy Can't Attack
      - Unlimited Gold
      - Unlock All Levels
      • 1 reply
    • Hanuman & Fighters Versus Evil v1.1 [+3 Cheats]
      Modded/Hacked App: Hanuman & Fighters Versus Evil By VOJOY GAMES PRIVATE LIMITED
      Bundle ID: com.vojoygames.hanumangame.ios
      App Store Link: https://apps.apple.com/us/app/hanuman-fighters-versus-evil/id6737682082?uo=4



      🤩 Hack Features

      - Enemy Can't Attack
      - Unlimited Gold
      - Unlock All Levels
       
      • 2 replies
    • Idle Army: Trading Weapons v1.12.2 [+5 Jailed Cheats]
      Modded/Hacked App: Idle Army: Trading Weapons By UNIMOB VIET NAM COMPANY LIMITED
      Bundle ID: com.unimob.idle.army
      App Store Link: https://apps.apple.com/us/app/idle-army-trading-weapons/id6670773625?uo=4



      🤩 Hack Features

      - Always Enough Resources (Gem, Skip Ads etc.)
      - Max Gold (Enable inside game)
      - 2x Game Speed (Enable inside game)
      - Kill Monster (Enable inside game)
      - Add All Pet

      • 2 replies
    • Idle Army: Trading Weapons v1.12.2 [+5 Cheats]
      Modded/Hacked App: Idle Army: Trading Weapons By UNIMOB VIET NAM COMPANY LIMITED
      Bundle ID: com.unimob.idle.army
      App Store Link: https://apps.apple.com/us/app/idle-army-trading-weapons/id6670773625?uo=4

       

      🤩 Hack Features

      - Always Enough Resources (Gem, Skip Ads etc.)
      - Max Gold (Enable inside game)
      - 2x Game Speed (Enable inside game)
      - Kill Monster (Enable inside game)
      - Add All Pet

      • 2 replies
    • Margonem Adventures v1.16.2 [+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
      • 18 replies
    • Margonem Adventures v1.16.2 [+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
      • 11 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