Jump to content

SCLAlertView 10 Errors when I make tweak


Go to solution Solved by Rook,

9 posts in this topic

Recommended Posts

Posted (edited)

I get 10 errors. I already looked up on the forum but nothing helps. I already did what they suggested but doesn't work. :(

 

My 10 errors

Compiling Tweak.xm...

In file included from Tweak.xm:8:

In file included from /var/mobile/test/theos/include/SCLAlertView/SCLAlertView.h:14:

/var/mobile/test/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/test/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/test/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/test/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:8:

/var/mobile/test/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/test/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/test/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/test/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/test/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 *activityIn...

^

/var/mobile/test/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.7fffb991.o] Error 1

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

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

Yes:/var/mobile/test root#

 

 

I have 8.1 sdk. And latest headers I guess from github. Please help.

Updated by Sandwhich
Posted

Add

TWEAK_CFLAGS += -Wobjc-property-no-attribute
Replace "TWEAK" with your tweak-name from within the makefile
did not work but thanks :(

 

This is my make file now :

ARCHS = armv7 arm64

TARGET = iphone:8.1:8.1

#CFLAGS = -fobjc-arc

#THEOS_PACKAGE_DIR_NAME = debs

 

include theos/makefiles/common.mk

 

TWEAK_NAME = test

test_CFLAGS += -Wobjc-property-no-attribute

test_FILES = Tweak.xm $(shell find $(THEOS)/include/SCLAlertView -name '*.m')

test_FRAMEWORKS = UIKit MessageUI Social QuartzCore CoreGraphics Foundation AVFoundation Accelerate GLKit AudioToolbox

test_LDFLAGS += -Wl,-segalign,4000

 

include $(THEOS_MAKE_PATH)/test.mk

 

after-install::

install.exec "killall -9 SpringBoard"

SUBPROJECTS += test

include $(THEOS_MAKE_PATH)/aggregate.mk

  • Solution
Posted

did not work but thanks :(

This is my make file now :

ARCHS = armv7 arm64

TARGET = iphone:8.1:8.1

#CFLAGS = -fobjc-arc

#THEOS_PACKAGE_DIR_NAME = debs

include theos/makefiles/common.mk

TWEAK_NAME = test

test_CFLAGS += -Wobjc-property-no-attribute

test_FILES = Tweak.xm $(shell find $(THEOS)/include/SCLAlertView -name '*.m')

test_FRAMEWORKS = UIKit MessageUI Social QuartzCore CoreGraphics Foundation AVFoundation Accelerate GLKit AudioToolbox

test_LDFLAGS += -Wl,-segalign,4000

include $(THEOS_MAKE_PATH)/test.mk

after-install::

install.exec "killall -9 SpringBoard"

SUBPROJECTS += test

include $(THEOS_MAKE_PATH)/aggregate.mk

  

Remove

#CFLAGS = -fobjc-arc
ARC isn't really needed for a tweak

ARC is needed for SCLAlertView. That's probably why you're getting the errors. Remove the # from the line in Rick's post.

 

Also, make sure you have imcluded SCLAlertView inside your .xm.

 

#import <SCLAlertView/SCLAlertView.h>

And you probably need a substrate.h that's ARC compatible. :)

Posted

ARC is needed for SCLAlertView. That's probably why you're getting the errors. Remove the # from the line in Rick's post.

Also, make sure you have imcluded SCLAlertView inside your .xm.

#import <SCLAlertView/SCLAlertView.h>
And you probably need a substrate.h that's ARC compatible. :)
okay I already had #import <SCLAlertView/SCLAlertView.h> :)

 

And I should remove the # from this?:

#CFLAGS = -fobjc-arc

 

And last where can I find a substrate that's arc compatible? Please and thank you !:D

Posted

okay I already had #import <SCLAlertView/SCLAlertView.h> :)

 

And I should remove the # from this?:

#CFLAGS = -fobjc-arc

 

And last where can I find a substrate that's arc compatible? Please and thank you ! :D

 

Yes, remove the # from CFLAGS. :)

 

And import this substrate.h file found here: https://iosgods.com/topic/13392-updated-substrateh-arc-compatible/

Posted

okay I already had #import <SCLAlertView/SCLAlertView.h> :)

And I should remove the # from this?:

#CFLAGS = -fobjc-arc

And last where can I find a substrate that's arc compatible? Please and thank you !:D

yes same

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

    • Dice Dreams™ V1.98.0 [ +9 Cheats ] Currency Max
      Modded/Hacked App: Dice Dreams™ By SuperPlay LTD
      Bundle ID: com.superplaystudios.dicedreams
      iTunes Store Link: https://apps.apple.com/us/app/dice-dreams/id1484468651?uo=4


      Hack Features:
      - Coins Max [ Disable Coins When Use Bet Multiplier ]

      - Rolls Unlimited 

      - Crowns [ Only For Card Upgrade ]

      - Shield [ Get Unlimited Rolls ]

      - Bet Multiplier [ Coins + Rewards ]

      - All Task Score + Rewards [ Linked Bet Multiplier ]

      - Next Kingdom [ Build One ]

      - Build Cost [ 0 ]

      - Premium Dreams Pass

      Warning:- Don't Blame Me Banned  Some Time Freeze Reopen Then Works


      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/
      • 117 replies
    • Dice Dreams™ V1.98.0 [ +9 Jailed ] Currency Max
      Modded/Hacked App: Dice Dreams™ By SuperPlay LTD
      Bundle ID: com.superplaystudios.dicedreams
      iTunes Store Link: https://apps.apple.com/us/app/dice-dreams/id1484468651?uo=4


      Hack Features:

      - Coins Max [ Disable Coins When Use Bet Multiplier ]

      - Rolls Unlimited 

      - Crowns [ Only For Card Upgrade ]

      - Shield [ Get Unlimited Rolls ]

      - Bet Multiplier [ Coins + Rewards ]

      - All Task Score + Rewards [ Linked Bet Multiplier ]

      - Next Kingdom [ Build One ]

      - Build Cost [ 0 ]

      - Premium Dreams Pass

      Warning:- Don't Blame Me Banned  Some Time Freeze Reopen Then Works

       
      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/
      • 111 replies
    • Super Hero Ready! v1.0 [ +7 Cheats ] Currency Max
      Modded/Hacked App: Super Hero Ready! By Mohammad Ali Khademi
      Bundle ID: com.RonixGames.Super.Hero.Ready
      App Store Link: https://apps.apple.com/us/app/super-hero-ready/id6753682839?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Golden Keys
      - Unlimited Silver Keys
      - Unlimited Skill Token
      - Unlimited Fragment
      - Unlimited Gear
      • 3 replies
    • Super Hero Ready! v1.0 [ +7 Jailed ] Currency Max
      Modded/Hacked App: Super Hero Ready! By Mohammad Ali Khademi
      Bundle ID: com.RonixGames.Super.Hero.Ready
      App Store Link: https://apps.apple.com/us/app/super-hero-ready/id6753682839?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Golden Keys
      - Unlimited Silver Keys
      - Unlimited Skill Token
      - Unlimited Fragment
      - Unlimited Gear
      • 1 reply
    • Run! Goddess v1.0.37 [+3 Jailed Cheats]
      Modded/Hacked App: Run! Goddess By TOP GAMES INC.
      Bundle ID: com.topgamesinc.rg
      iTunes Store Link: https://apps.apple.com/us/app/run-goddess/id6667111749?uo=4



      🤩 Hack Features

      - No Skill Cooldown
      - Slow Enemy
      - Enemy Can't Attack (Enemy Can't Do Damage)
      • 181 replies
    • Run! Goddess v1.0.37 [+3 Cheats]
      Modded/Hacked App: Run! Goddess By TOP GAMES INC.
      Bundle ID: com.topgamesinc.rg
      iTunes Store Link: https://apps.apple.com/us/app/run-goddess/id6667111749?uo=4

       

      🤩 Hack Features

      - No Skill Cooldown
      - Slow Enemy
      - Enemy Can't Attack (Enemy Can't Do Damage)
       
      • 113 replies
    • Pal Go: Tower Defense TD v0.4.19 [+7 Cheats]
      Modded/Hacked App: Pal Go: Tower Defense TD By Playwind Ltd
      Bundle ID: com.playwindgames.freedefender
      iTunes Store Link: https://apps.apple.com/us/app/pal-go-tower-defense-td/id6479316663?uo=4


       

      🚀 Hack Features

      - [VIP] Freeze Currency (Currency will not decrease when used)

      - [VIP] Currency Always Enough (Buy even when you don't have enough currency)

      - [Free] Higher Recruit Energy (Gives 500 Recruit Energy Every Wave)

      - [Free] Always Can Drag Hero

      - [Free] Skip Ads

      - [Free] No Attack Cooldown

      - [Free] Global Speed Multiplier (Enable Inside Battle)

       

      Warning


      Do not use on main account. There is a chance of ban. Not responsible for any bans.

       


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 66 replies
    • Pal Go: Tower Defense TD v0.4.19 [+7 Jailed Cheats]
      Modded/Hacked App: Pal Go: Tower Defense TD By Playwind Ltd
      Bundle ID: com.playwindgames.freedefender
      iTunes Store Link: https://apps.apple.com/us/app/pal-go-tower-defense-td/id6479316663?uo=4


       

      Hack Features

      - [VIP] Freeze Currency (Currency will not decrease when used)

      - [VIP] Currency Always Enough (Buy even when you don't have enough currency)

      - [Free] Higher Recruit Energy (Gives 500 Recruit Energy Every Wave)

      - [Free] Always Can Drag Hero

      - [Free] Skip Ads

      - [Free] No Attack Cooldown

      - [Free] Global Speed Multiplier (Enable Inside Battle)

       

      Warning


      Do not use on main account. There is a chance of ban. Not responsible for any bans.

       

      Jailbreak required iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 88 replies
    • Taichi Panda v6.9.1 +4 Jailed Cheats
      Modded/Hacked App: Taichi Panda by Snail Games USA, Inc.
      Bundle ID: com.snailgamesusa.taiji
      iTunes Store Link: https://itunes.apple.com/us/app/taichi-panda/id944892716?mt=8&uo=4&at=1010lce4


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Cydia Impactor.
      - A Computer Running Windows/Mac/Linux.


      Hack Features:
      - No Skill Cooldown
      - Infinite MP
      - Disable Enemy Attacks
      • 199 replies
    • Taichi Panda v6.9.1 +4 Cheats
      Modded/Hacked App: Taichi Panda by Snail Games USA, Inc.
      Bundle ID: com.snailgamesusa.taiji
      iTunes Store Link: https://itunes.apple.com/us/app/taichi-panda/id944892716?mt=8&uo=4&at=1010lce4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iFile / Filza / iFunBox / iTools or any other file managers for iOS.
      - Cydia Substrate (from Cydia).
      - PreferenceLoader (from Cydia).


      Hack Features:
      - No Skill Cooldown
      - Infinite MP
      - Disable Enemy Attacks


      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/


      Hack Download Link:

      Hidden Content

      Download Hack








      Installation Instructions:
      STEP 1: Download the .deb Cydia hack file from the link above.
      STEP 2: Copy the file over to your iDevice using any of the file managers mentioned above or skip this step if you're downloading from your iDevice.
      STEP 3: Using iFile or Filza, browse to where you saved the downloaded .deb file and tap on it.
      STEP 4: Once you tap on the file, you will then need to press on 'Installer' or 'Install' from the options on your screen.
      STEP 5: Let iFile / Filza finish the cheat installation. Make sure it successfully installs, otherwise see the note below.
      STEP 6: Now open your iDevice settings and scroll down until you see the settings for this cheat and tap on it. If the hack is a Mod Menu, the cheat features can be toggled in-game.
      STEP 7: Turn on the features you want and play the game. You may need to follow further instructions inside the hack's popup in-game.

       

      NOTE: If you have any questions or problems, read our Troubleshooting topic & Frequently Asked Questions topic. If you still haven't found a solution, post your issue down below and we'll do our best to help! If the hack does work for you, post your feedback below and help out other fellow members that are encountering issues.


      Credits:
      - @ZahirSher


      Cheat Video/Screenshots:

      N/A

       
      • 567 replies
    • Galaxy Defense: Fortress TD v0.12.5 [+4 Cheats]
      Modded/Hacked App: Galaxy Defense: Fortress TD By CYBERJOY LIMITED
      Bundle ID: com.cyberjoy.galaxydefense
      App Store Link: https://apps.apple.com/us/app/galaxy-defense-fortress-td/id6740189002?uo=4



      🤩 Hack Features

      - One Hit Kill
      - Activate SVIP
       
      • 88 replies
    • Galaxy Defense: Fortress TD v0.12.5 [+4 Jailed Cheats]
      Modded/Hacked App: Galaxy Defense: Fortress TD By CYBERJOY LIMITED
      Bundle ID: com.cyberjoy.galaxydefense
      App Store Link: https://apps.apple.com/us/app/galaxy-defense-fortress-td/id6740189002?uo=4



      🤩 Hack Features

      - One Hit Kill
      - Activate SVIP
      • 48 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