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

    • Mech Assemble v1.6.37 Jailed Cheats +5
      Modded/Hacked App: Mech Assemble By ONEMT PTE. LTD.
      Bundle ID: com.ios.mecharogue.online
      App Store Link: https://apps.apple.com/us/app/mech-assemble/id6739125107?uo=4



      🤩 Hack Features

      - High Defense
      - No Reload
      • 126 replies
    • Unfolded: Webtoon Stories v1.1.1 +21 Mods [ Debug Menu ]
      Mod APK Game Name: Unfolded: Webtoon Stories
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=org.nanobit.webtoon

       

      🤩 Hack Features

      - Freeze Currencies
      - Debug Menu -> Head into Settings and toggle the Support button.
      • 0 replies
    • Match Factory! v1.58.143 +3 Jailed Cheats [ Unlimited Everything ]
      Modded/Hacked App: Match Factory! By Peak Games
      Bundle ID: net.peakgames.match
      iTunes Store Link: https://apps.apple.com/gb/app/match-factory/id6449094229?uo=4


      Hack Features:
      - Unlimited Everything -> Will increase instead of decrease. Use coins for energy.
      - Auto Win -> Pick up an item.
      - Unlimited Time -> Will not decrease.
      • 72 replies
    • Glow Tales: Merge & Makeover v1.1.1 +100 Jailed Cheats [ Debug Menu ]
      Modded/Hacked App: Glow Tales: Merge & Makeover By Paxie Games Oyun ve Yazilim Anonim Sirketi
      Bundle ID: com.paxiegames.glowtales
      App Store Link: https://apps.apple.com/us/app/glow-tales-merge-makeover/id6754087834?uo=4

       


      🤩 Hack Features

      - Debug Menu -> Head into Settings and toggle the Inbox button.
      • 6 replies
    • Hellsquad Rrrush! v1.4.0 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Hellsquad Rrrush! By Wemade Max Co., Ltd.
      Bundle ID: com.wemademax.projectsc
      App Store Link: https://apps.apple.com/us/app/hellsquad-rrrush/id6737409896?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 40 replies
    • Merge Studio: Fashion Makeover v4.2.1 +50++ Jailed Cheats [ Debug Menu ]
      Modded/Hacked App: Merge Studio: Fashion Makeover By Paxie Games Oyun ve Yazilim Anonim Sirketi
      Bundle ID: com.paxiegames.mergestudio
      iTunes Store Link: https://apps.apple.com/us/app/merge-studio-fashion-makeover/id1615964753?uo=4


      Hack Features:
      - Debug Menu -> Head over to Settings and toggle the Sound button.


      Jailbreak required hack(s): [Mod Menu Hack] Merge Studio: Fashion Makeover v2.3.0 +50++ Cheats [ Debug Menu ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 98 replies
    • Royal Kingdom v24753 +4 Jailed Cheats [ Coins + More ]
      Modded/Hacked App: Royal Kingdom By Dream Games
      Bundle ID: com.dreamgames.royalkingdom
      iTunes Store Link: https://apps.apple.com/ph/app/royal-kingdom/id1606549505
       

      Hack Features:
      - Freeze Coins
      - Freeze Lives
      - Freeze Boosters
      - Freeze Moves


      Jailbreak required hack(s): [Mod Menu Hack] Royal Kingdom v3987 +4 Cheats [ Unlimited Coins ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 179 replies
    • Slime Legion v3.9.0 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Slime Legion By Perfeggs
      Bundle ID: com.hero.may.cry.adventure.game
      iTunes Store Link: https://apps.apple.com/us/app/slime-legion/id1664686966
       

      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - Damage Multiplier
      - Defence Multiplier
      - Moves Modifier


      Jailbreak required hack(s): https://iosgods.com/topic/173174-slime-legion-v162-3-cheats-damage-defence/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 166 replies
    • Unfolded: Webtoon Stories v1.1.1 +21 Jailed Cheats [ Debug Menu ]
      Modded/Hacked App: Unfolded: Webtoon Stories By Nanobit d.o.o.
      Bundle ID: com.nanobitsoftware.webtoon
      App Store Link: https://apps.apple.com/us/app/unfolded-webtoon-stories/id6741916006?uo=4

       


      🤩 Hack Features

      - Freeze Currencies

      VIP
      - Debug Menu -> Head into Settings and toggle the Support button.
      • 0 replies
    • OnceWorld v1.0.1 +2 Jailed Cheats [ Damage + More ]
      Modded/Hacked App: OnceWorld By PONIX LLC
      Bundle ID: work.ponix.onceworld
      App Store Link: https://apps.apple.com/us/app/onceworld/id6753948618?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - God Mode
      • 18 replies
    • Hunt Royale: Action RPG Battle v3.22.1 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Hunt Royale: Action RPG Battle By BoomBit, Inc.
      Bundle ID: com.hunt.royale
      iTunes Store Link: https://apps.apple.com/us/app/hunt-royale-action-rpg-battle/id1537379121?uo=4

       
       

      🚀 Hack Features

      - Dumb Enemies

      VIP
      - Damage Multiplier
      - Defence Multiplier
      • 224 replies
    • Wittle Defender v1.1.8.3 [+2 Cheats]
      Modded/Hacked App: Wittle Defender By HABBY PTE. LTD.
      Bundle ID: com.game.kingrush
      App Store Link: https://apps.apple.com/us/app/wittle-defender/id6502815032?uo=4

       

      Important


      Do not Abuse. Not responsible for any bans.

      Visual damage not represent real damage

       

      🤩 Hack Features

      - Damage Multiplier
      - Defense Multiplier

      • 61 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