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

    • Chainsaw Juice King: Idle Shop v1.3.1 Jailed Cheats +6
      Modded/Hacked App: Chainsaw Juice King: Idle Shop By SayGames LTD
      Bundle ID: com.loadcomplete.aichainsaw
      App Store Link: https://apps.apple.com/us/app/chainsaw-juice-king-idle-shop/id6450706268?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

      - Multiply Attack
      - God Mode
      - Free Store (not iAP)
      - No Ads
      - Skip Ads
      - Unlimited Booster Open Pack

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/192114-chainsaw-juice-king-idle-shop-v131-jailed-cheats-6/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 35 replies
    • Pocket Champs PVP Racing Games Cheats v5.8.15 +2
      Modded/Hacked App: Pocket Champs: 3D Racing Games By MADBOX
      Bundle ID: com.pocketchamps.game
      iTunes Store Link: https://apps.apple.com/us/app/pocket-champs-3d-racing-games/id1542776143?uo=4


      Hack Features:
      - Free Store (not Free iAP) -- Negative value will reset to 0 on launch
      - Infinite Coins & Gems

      iOS Hack Download Link: https://iosgods.com/topic/165006-pocket-champs-3d-racing-games-cheats-v318-2/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 193 replies
    • Immortal Rising Cheats v2.5.9 +4
      Modded/Hacked App: Immortal Rising By MOBIRIX
      Bundle ID: com.badbeans.DarkIdle
      iTunes Store Link: https://apps.apple.com/us/app/immortal-rising/id1588863558?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

      - God Mode
      - One Hit Kill
      - PREMIUM
      - Freeze Currencies*

      *Abuse = Ban

       

      Non-Jailbroken Hack: https://iosgods.com/topic/190808-immortal-rising-v254-jailed-cheats-4/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/178921-immortal-rising-cheats-v255-4/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 196 replies
    • 鬼谷八荒 Tale of Immortal v1.0004 +4 Cheats [ Unlocked ]
      Modded/Hacked App: 鬼谷八荒 Tale of Immortal By HKWENXINTECHNOLOGYLIMITED
      Bundle ID: com.guigugame.guigubahuangoverseas
      App Store Link: https://apps.apple.com/us/app/%E9%AC%BC%E8%B0%B7%E5%85%AB%E8%8D%92-tale-of-immortal/id6742472194?uo=4

       
       

      🤩 Hack Features

      - God Mode
      - One-Hit Kill
      - Dumb AI
      -- All DLC Unlocked
      • 1 reply
    • Subway Surfers v3.49.0 +23 Jailed Cheats [ Currencies + More ]
      Modded/Hacked App: Subway Surfers By Sybo Games ApS
      Bundle ID: com.kiloo.subwaysurfers
      iTunes Store Link: https://apps.apple.com/us/app/subway-surfers/id512939461?uo=4


      Hack Features:
      - Unlimited Currencies
      - Freeze Currencies
      - Free In-App Purchases
      - All Characters Unlocked
      - All Boards Unlocked
      - God Mode
      - No Stumble
      - Score Multiplier
      - Speed Multiplier
      - Gravity Multiplier
      - Jump Height Multiplier
      - Air Jump Height Multiplier
      - Unlimited Jumps
      - Unlimited Powers
      - Instant Lane Change
      - Freeze Trains
      - No Clip
      - Disable All Pickup
      - No Revive Cost
      - Unlimited Jetpack Time
      - Camera Stops
      - Camera Follows


      Jailbreak required hack(s): [Mod Menu Hack] Subway Surfers v3.40.0 +20 Cheats [ Currencies + More ] - ViP 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 58 replies
    • Subway Surfers v3.49.0 +23 Cheats [ Currencies + More ]
      Modded/Hacked App: Subway Surfers By Sybo Games ApS
      Bundle ID: com.kiloo.subwaysurfers
      iTunes Store Link: https://apps.apple.com/us/app/subway-surfers/id512939461?uo=4


      Hack Features:
      - Unlimited Currencies
      - Freeze Currencies
      - Free In-App Purchases
      - All Characters Unlocked
      - All Boards Unlocked
      - God Mode
      - No Stumble
      - Score Multiplier
      - Speed Multiplier
      - Gravity Multiplier
      - Jump Height Multiplier
      - Air Jump Height Multiplier
      - Unlimited Jumps
      - Unlimited Powers
      - Instant Lane Change
      - Freeze Trains
      - No Clip
      - Disable All Pickup
      - No Revive Cost
      - Unlimited Jetpack Time
      - Camera Stops
      - Camera Follows


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Subway Surfers v3.40.0 +20 Jailed Cheats [ Currencies + More ] - ViP Non-Jailbroken Hacks & 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 50 replies
    • Domino Dreams™ v1.42.6 [ +10 Cheats ] Auto Win
      Modded/Hacked App: Domino Dreams™ By SuperPlay LTD
      Bundle ID: com.superplaystudios.dominodreams
      iTunes Store Link: https://apps.apple.com/us/app/domino-dreams/id6444043291?uo=4



      🤩 Hack Features

      - Coins Unlimited [ LvL Rewards ]

      - Stars Unlimited [ Win LvL Then Back Show Stars Hacked Disable Cheat Close App Again Open Then Work Stars Don't Use Again ] Linked With Some Task

      - Ticket Free Max [ Linked With Stars ] LvL Cost

      - Undo Max [ Linked With Stars ] 

      - Gold Card Max [ Linked With Stars ] 

      - Chapter Next [ Play LvL Quit & Win ]

      - Avatar Unlocked [ Play LvL Win After Unlocked Don"t Use Again ]

      - Auto Win LvL [ Play LvL Move Anything ] 

      - Bonus Mod LvL [ ON-OFF ] 

      - Spin Free [ Need One Point only Open Play LvL ]
        • Informative
        • Agree
        • Winner
        • Like
      • 13 replies
    • Domino Dreams™ v1.42.6 [ +10 Jailed ] Auto Win
      Modded/Hacked App: Domino Dreams™ By SuperPlay LTD
      Bundle ID: com.superplaystudios.dominodreams
      iTunes Store Link: https://apps.apple.com/us/app/domino-dreams/id6444043291?uo=4


      🤩 Hack Features

      - Coins Unlimited [ LvL Rewards ]
      - Stars Unlimited [ Win LvL Then Back Show Stars Hacked Disable Cheat Close App Again Open Then Work Stars Don't Use Again ] Linked With Some Task
      - Ticket Free Max [ Linked With Stars ] LvL Cost
      - Undo Max [ Linked With Stars ] 
      - Gold Card Max [ Linked With Stars ] 
      - Chapter Next [ Play LvL Quit & Win ]
      - Avatar Unlocked [ Play LvL Win After Unlocked Don"t Use Again ]
      - Auto Win LvL [ Play LvL Move Anything ] 
      - Bonus Mod LvL [ ON-OFF ] 
      - Spin Free [ Need One Point only Open Play LvL ]
        • Informative
        • Winner
        • Like
      • 24 replies
    • March Champion v0.1 [+2 Cheats]
      Modded/Hacked App: March Champion By Tiplay Studio Inc.
      Bundle ID: com.tiplaystudio.marchchampion
      App Store Link: https://apps.apple.com/us/app/march-champion/id6745224501?uo=4



      🤩 Hack Features

      - Never Die
      - One Hit Kill 
       
        • Winner
      • 0 replies
    • March Champion v0.1 [+2 Jailed Cheats]
      Modded/Hacked App: March Champion By Tiplay Studio Inc.
      Bundle ID: com.tiplaystudio.marchchampion
      App Store Link: https://apps.apple.com/us/app/march-champion/id6745224501?uo=4



      🤩 Hack Features

      - Never Die
      - One Hit Kill 
      • 0 replies
    • Bridge Constructor Studio v1.0.65 +3 Jailed Cheats [ Unlocked ]
      Modded/Hacked App: Bridge Constructor Studio By Headup GmbH
      Bundle ID: com.headupgames.bridgeconstructorstudio
      App Store Link: https://apps.apple.com/us/app/bridge-constructor-studio/id6745402280?uo=4

       
       

      🤩 Hack Features

      - Freeze Bridge
      - No Build Costs
      -- Full Game Unlocked (will show as locked)
      • 0 replies
    • Bridge Constructor Studio v1.0.65 +3 Cheats [ Unlocked ]
      Modded/Hacked App: Bridge Constructor Studio By Headup GmbH
      Bundle ID: com.headupgames.bridgeconstructorstudio
      App Store Link: https://apps.apple.com/us/app/bridge-constructor-studio/id6745402280?uo=4

       
       

      🤩 Hack Features

      - Freeze Bridge
      - No Build Costs
      -- Full Game Unlocked (will show as locked)
        • Winner
      • 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