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

    • Travel Merge Family v2.30 [ +1++ Cheats ] Currency Max
      Travel Merge Family


      Modded/Hacked App: Travel Merge Family By Arruga Corp.
      Bundle ID: com.ArrugaCorp.TravelMergeFamily
      App Store Link: https://apps.apple.com/us/app/travel-merge-family/id6553995556?uo=4


      🤩 Hack Features

      - Currency Max


      • 2 replies
    • Project Makeover v2.116.1 +4 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Project Makeover By Magic Tavern, Inc.
      Bundle ID: com.bgg.jump
      App Store Link: https://apps.apple.com/us/app/project-makeover/id1483058899?uo=4

       
       

      🤩 Hack Features

      - Unlimited Cash
      - Unlimited Coins
      - Unlimited Gems
      - Unlimited Lives

      This hack was made by @Cashlaz. Give him all your love & appreciation! ❤️
      • 5 replies
    • Heroes vs. Hordes: Survivor v5.0.2 [ +11 Cheats ] Currency Max
      Modded/Hacked App: Heroes vs. Hordes: Survivor By Swift Games GmbH
      Bundle ID: com.swiftgames.roguelikesurvival
      iTunes Store Link: https://apps.apple.com/us/app/heroes-vs-hordes-survivor/id1608898173?uo=4

       
      Hack Features

      - Currency

      - Resource

      - Gold Unlimited [ Bonus Wave ]

      - Ch Unlocked [ Play All Off ]

      - Always Last Wave

      - Talents Cost 0

      - Hero DMG Only

      - HP & DMG [ Just Equip & Unequip ]

      - Enemy Freeze

      - Enemy ATK NO

       
      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/
      • 67 replies
    • Heroes vs. Hordes: Survivor v5.0.2 [ +11 Jailed ] Currency Max
      Modded/Hacked App: Heroes vs. Hordes: Survivor By Swift Games GmbH
      Bundle ID: com.swiftgames.roguelikesurvival
      iTunes Store Link: https://apps.apple.com/us/app/heroes-vs-hordes-survivor/id1608898173?uo=4

       

       

      Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      Hack Features

      - Currency

      - Resource

      - Gold Unlimited [ Bonus Wave ]

      - Ch Unlocked [ Play All Off ]

      - Always Last Wave

      - Talents Cost 0

      - Hero DMG Only

      - HP & DMG [ Just Equip & Unequip ]

      - Enemy Freeze

      - Enemy ATK NO


      Jailbreak required iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APKs: https://iosgods.com/forum/68-android-section/

       

      iOS Hack Download IPA Link


      Hidden Content

      Download via the iOSGods App
      • 83 replies
    • Virtual Villagers 6 v1.8.6 +100 Jailed Cheats [ Cheats Menu ]
      Modded/Hacked App: Virtual Villagers 6 By LDW Software, LLC
      Bundle ID: com.ldw.vv6
      iTunes Store Link: https://apps.apple.com/us/app/virtual-villagers-6/id6566193928?uo=4

       
       

      Hack Features

      - Cheats Menu -> Head into Settings, toggle the Help button, close settings then re-open to show a Cheats button.*
      - Unlimited Food*
      - Unlimited Wood*
      - Unlimited Stone*
      - Unlimited Tech Points*
      - Unlimited Lavastone*

      * - Head into Settings and toggle the Help button. Only enable 1 feature at a time.


      Jailbreak required iOS hacks: [Mod Menu Hack] Virtual Villagers 6 v1.3.23 +100 Cheats [ Cheats Menu ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 5 replies
    • Virtual Villagers 6 v1.8.6 +100 Cheats [ Cheats Menu ]
      Modded/Hacked App: Virtual Villagers 6 By LDW Software, LLC
      Bundle ID: com.ldw.vv6
      iTunes Store Link: https://apps.apple.com/us/app/virtual-villagers-6/id6566193928?uo=4

       


      Hack Features

      - Cheats Menu -> Head into Settings, toggle the Help button, close settings then re-open to show a Cheats button.*
      - Unlimited Food*
      - Unlimited Wood*
      - Unlimited Stone*
      - Unlimited Tech Points*
      - Unlimited Lavastone*

      * - Head into Settings and toggle the Help button. Only enable 1 feature at a time.


      For Non-Jailbroken & No Jailbreak required hacks: [IPA Mod Menu] Virtual Villagers 6 v1.3.23 +100 Jailed Cheats [ Cheats Menu ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 2 replies
    • Project Makeover ( All Versions ) +4 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Project Makeover By Magic Tavern, Inc.
      Bundle ID: com.bgg.jump
      App Store Link: https://apps.apple.com/us/app/project-makeover/id1483058899?uo=4

       
       

      🤩 Hack Features

      - Unlimited Cash
      - Unlimited Coins
      - Unlimited Gems
      - Unlimited Lives

      This hack was made by @Cashlaz. Give him all your love & appreciation! ❤️
      • 7 replies
    • Galaxiga - Classic 80s Arcade V10.88 [ +7 Jailed ] Energy Max
      Modded/Hacked App: Galaxiga - Classic 80s Arcade By ONESOFT GLOBAL PTE. LTD.
      Bundle ID: com.os.space.force.galaxy.alien
      iTunes Store Link: https://apps.apple.com/us/app/galaxiga-classic-80s-arcade/id1519367184?uo=4


      Hack Features:

      - Premium Pass [ Rewards Only ]

      - Energy Unlimited [ Linked Premium Pass ]

      - Plane Unlocked [ Tire 1 Tire 2 ] 

      - Drone Unlocked [ Tire 1 Tire 2 ]

      - Stone Unlocked [ Tire 1 Tire 2 ] 

      - Unlock Gem Cost 0 [ Plane Drone Stone ]

      - Easy Kill [ Only SP - No PVP ] 

      - Win PvP Select Higher Rank [ Plane Drone Stone ] Easy To Win PvP NO Bannnn


      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/
      • 45 replies
    • Galaxiga - Classic 80s Arcade V10.88 [ +7 Cheats ] Energy Max
      Modded/Hacked App: Galaxiga - Classic 80s Arcade By ONESOFT GLOBAL PTE. LTD.
      Bundle ID: com.os.space.force.galaxy.alien
      iTunes Store Link: https://apps.apple.com/us/app/galaxiga-classic-80s-arcade/id1519367184?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - Premium Pass [ Rewards Only ]

      - Energy Unlimited [ Linked Premium Pass ]

      - Plane Unlocked [ Tire 1 Tire 2 ] 

      - Drone Unlocked [ Tire 1 Tire 2 ]

      - Stone Unlocked [ Tire 1 Tire 2 ] 

      - Unlock Gem Cost 0 [ Plane Drone Stone ] Maybe Effect PvP 

      - Easy Kill [ Only SP - No PVP ] 

      - Win PvP Select Higher Rank [ Plane Drone Stone ]

      Not3:- Don't Abuse The Hack Incase Banned Lower Chances Maybe


      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/


      iOS Hack Download Link:

      Hidden Content

      Download Hack
      • 77 replies
    • Pocket Necro v1.5.3 [ +11 Cheats ] Gold Unlimited
      Modded/Hacked App: Pocket Necromancer By Sandsoft Publishing Company
      Bundle ID: com.quicksand.pocketnecromancer
      iTunes Store Link: https://apps.apple.com/us/app/pocket-necromancer/id6450004790?uo=4


      Hack Features:
      - ADS NO [ Reward Fee ]

      - Premium Active

      - Energy Cost 0

      - Energy Increaser

      - Gold Unlimited [ Win Battle ] Rewards

      - Stage Unlocked

      - Chapter Unlocked +2

      - Play Any [ Stage & Ch ]

      - Never Die

      - DMG

      - Speed Mov

      - Bullet Max [ Works With Weapon Only Just Equip ]


      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/
      • 51 replies
    • Pocket Necro v1.5.3 [ +11 Jailed ] Gold Unlimited
      Modded/Hacked App: Pocket Necromancer By Sandsoft Publishing Company
      Bundle ID: com.quicksand.pocketnecromancer
      iTunes Store Link: https://apps.apple.com/us/app/pocket-necromancer/id6450004790?uo=4


      Hack Features:

      - ADS NO [ Reward Fee ]

      - Premium Active

      - Energy Cost 0

      - Energy Increaser

      - Gold Unlimited [ Win Battle ] Rewards

      - Stage Unlocked

      - Chapter Unlocked +2

      - Play Any [ Stage & Ch ]

      - Never Die

      - DMG

      - Speed Mov

      - Bullet Max [ Works With Weapon Only Just Equip ]

       
      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/


      iOS Hack Download IPA Link:

      Hidden Content

      Download via the iOSGods App
      • 55 replies
    • Merge & Blast: Dream Island v2.21.0 [ +2 Cheats ] Auto Win
      Modded/Hacked App: Merge & Blast: Dream Island By Dreamo, Inc.
      Bundle ID: com.dreamo.woodyblast
      iTunes Store Link: https://apps.apple.com/us/app/merge-blast-dream-island/id1668748189?uo=4


      🤩 Hack Features

      - Auto Win
      - Coin + Moves [ Disable After Get ]




      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 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