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

    • Disney Magic Kingdoms Cheats v10.6.1 +1
      Modded/Hacked App: Disney Magic Kingdoms By Gameloft
      Bundle ID: com.gameloft.disneykingdom
      iTunes Store Link: https://apps.apple.com/us/app/disney-magic-kingdoms/id731592936?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

      - Free Store ( not Free iAP )

       

      Non-Jailbroken Hack: https://iosgods.com/topic/184748-disney-magic-kingdoms-v1012-jailed-cheats-1/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/147877-disney-magic-kingdoms-cheats-v1020-1/
        • Like
      • 390 replies
    • Dragons: Rise of Berk v1.98.3 +5 Cheats
      Modded/Hacked App: Dragons: Rise of Berk By Jam City, Inc.
      Bundle ID: com.ludia.dragons
      iTunes Store Link: https://apps.apple.com/us/app/dragons-rise-of-berk/id667461862?uo=4


      Hack Features:
      - Free Shopping (shows original cost but able to purchase regardless)
      - Free Skipping
      - Free Odin's Market Shopping
      - Odin's Market Packs Never Reduce
      - Currency Hack [Spend to Gain - reverts to zero on next launch]
      - Enable Rider's Club


      Non-Jailbroken & No Jailbreak required hack(s):  https://iosgods.com/topic/79228-dragons-rise-of-berk-v1794-4-cheats-for-jailed-idevices/


      iOS Hack Download Link: https://iosgods.com/topic/139612-dragons-rise-of-berk-v1794-6-cheats/
      • 691 replies
    • Harry Potter: Hogwarts Mystery v6.6.2 - [ Unlimited Energy & More ]
      Modded/Hacked App: Harry Potter: Hogwarts Mystery By Jam City, Inc.
      Bundle ID: com.tinyco.potter
      iTunes Store Link: https://apps.apple.com/us/app/harry-potter-hogwarts-mystery/id1333256716


      Hack Features:
      - Unlimited Energy
      - Max Attributes Level
      - Free Shop - Energy & Some Pets 
      - Max Creature Mastery Level
      - Unlimited Gems - Do Task And You'll Gain Gems
      - Feeding Button Enabled
      • 880 replies
    • Monster Legends: Collect all Cheats v18.0.5 +8
      Modded/Hacked App: Monster Legends: Merge RPG By Socialpoint
      Bundle ID: es.socialpoint.MonsterCity
      iTunes Store Link: https://apps.apple.com/us/app/monster-legends-merge-rpg/id653508448?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

      - 1 Hit Kill
      - Skip Enemy Turn
      - Multiply Attack
      - Multiply Defense
      - Insane Score (Always 3 Stars)
      - No Skill Cost
      - Auto Win
      - Auto Play Battle Enabled for All Maps


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/topic/140543-monster-legends-collect-all-v1778-5-cheats-for-jailed-idevices/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/176914-monster-legends-collect-all-cheats-v1779-8/
      • 345 replies
    • Dragon City - Breed & Battle! Cheats v25.8.4 +4
      Modded/Hacked App: Dragon City - Breed & Battle! By Socialpoint
      Bundle ID: es.socialpoint.dragoncity
      iTunes Store Link: https://apps.apple.com/us/app/dragon-city-breed-battle/id561941526?uo=4


      Hack Features:
      - One Hit Kill
      - God Mode 
      - Auto-Battle Unlocked

      This hack is using the new iOSGods Auto Updater. The hack will automatically update itself to the current app version you have installed on your iDevice.
      Note:
      Everything is linked with enemies, please use it carefully

      This hack works on the latest x64 or ARM64 & ARM64e iDevices: iPhone 5s, 6, 6 Plus, 6s, 6s Plus, 7, 7 Plus, 8, 8 Plus, X, Xr, Xs, Xs Max, 11, 11 Pro, 11 Pro Max, 12, 12 Pro, 12 Pro Max, 12 Mini, 13, 13 Pro, 13 Pro Max, 13 Mini, 14, 14 Plus, 14 Pro, 14 Pro Max, SE, iPod Touch 6G, 7G, iPad Air, Air 2, iPad Pro & iPad Mini 2, 3, 4, 5, 6 and later.


      iOS Hack Download Link: https://iosgods.com/topic/129371-dragon-city-mobile-cheats-auto-updating-3-god-mode-one-hit-kill/
      • 2,191 replies
    • The Seven Deadly Sins: Idle Cheats v1.17.0 +4
      Modded/Hacked App: The Seven Deadly Sins: Idle By Netmarble Corporation
      Bundle ID: com.netmarble.nanarise
      iTunes Store Link: https://apps.apple.com/us/app/the-seven-deadly-sins-idle/id6469305531?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
      - Modify Range
      - No Ads


      DO NOT BUY VIP FOR THIS CHEAT

      ONLY WORK in PvE so you can farm faster

      Non-Jailbroken Hack: https://iosgods.com/topic/185162-the-seven-deadly-sins-idle-v1120-jailed-cheats-3/

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/185131-the-seven-deadly-sins-idle-cheats-v1120-4/
      • 154 replies
    • Shadow Fight 3 Cheats v1.42.0 +5
      Modded/Hacked App: Shadow Fight 3 - RPG Fighting By Nekki Limited
      Bundle ID: com.nekki.shadowfight3
      iTunes Store Link: https://apps.apple.com/us/app/shadow-fight-3-rpg-fighting/id964827011?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

      - Freeze Enemy
      - Freeze Battle Time

      ViP Features:
      - God Mode
      - High Damage
      - Always in Special Mode

       

      Non-Jailbroken Hack: https://iosgods.com/topic/73264-shadow-fight-3-v1402-jailed-cheats-4/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/81752-shadow-fight-3-cheats-v1405-4/
      • 3,786 replies
    • GardenScapes Cheats v8.9.1 +5
      Modded/Hacked App: Gardenscapes By Playrix Games
      Bundle ID: com.playrix.gardenscapes-m3-ios
      iTunes Store Link: https://itunes.apple.com/us/app/gardenscapes/id1105855019?mt=8&uo=4&at=1010lce4



      Hack Features:
      - Infinite Moves
      - Inifnite Boosters (Won't subtract when use)
      - Infinite Lives
      - Infinite Coins (Spend some/ Get some) - Not recommended cause sometimes it will bug your gameplay
      - Infinite Stars (Complete tasks without needing stars) - GAMEBREAKING FOR SURE  



      Hack Download Link: https://iosgods.com/topic/75340-arm64-gardenscapes-cheats-v280-5-vip/


      Credits:
      - @Laxus
      - @RudePerson For Inspiring Me
      • 2,922 replies
    • Nonogram Crossing Logic Puzzle v1.078.01 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Nonogram Crossing Logic Puzzle By Two Desperados Ltd
      Bundle ID: com.twodesperados.pic.cross.picross.logic
      App Store Link: https://apps.apple.com/us/app/nonogram-crossing-logic-puzzle/id1613958816?uo=4


      🤩 Hack Features

      - Coins
      - Energy
      - Booster
      • 0 replies
    • Nonogram Crossing Logic Puzzle v1.078.01 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Nonogram Crossing Logic Puzzle By Two Desperados Ltd
      Bundle ID: com.twodesperados.pic.cross.picross.logic
      App Store Link: https://apps.apple.com/us/app/nonogram-crossing-logic-puzzle/id1613958816?uo=4


      🤩 Hack Features

      - Coins
      - Energy
      - Booster
      • 0 replies
    • Candy Critters: Idle Merge v1.1.0 +4++ Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Candy Critters: Idle Merge By PlaySide Studios PTY LTD
      Bundle ID: com.playsidestudios.candycritters
      App Store Link: https://apps.apple.com/us/app/candy-critters-idle-merge/id6480020380?uo=4

       


      🤩 Hack Features

      - Unlimited Currencies -> Will increase instead of decrease.
      - All Cards Unlocked
      - No Card Upgrade Cost
      - Free In-App Purchases
      • 3 replies
    • Candy Critters: Idle Merge v1.1.0 +4++ Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Candy Critters: Idle Merge By PlaySide Studios PTY LTD
      Bundle ID: com.playsidestudios.candycritters
      App Store Link: https://apps.apple.com/us/app/candy-critters-idle-merge/id6480020380?uo=4

       


      🤩 Hack Features

      - Unlimited Currencies -> Will increase instead of decrease.
      - All Cards Unlocked
      - No Card Upgrade Cost
      - Free In-App Purchases
      • 0 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