Jump to content

Undefined symbols for architecture armv7:


Go to solution Solved by Rook,

9 posts in this topic

Recommended Posts

Posted

Hi

 

I'm getting this error with theos-jailed

MacBook-Pro:testhe Joey$ make
> Making all for tweak testhe…
==> Linking tweak testhe (armv7)…
Undefined symbols for architecture armv7:
  "_OBJC_CLASS_$_SCLAlertView", referenced from:
      objc-class-ref in Tweak.xm.5e8005be.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/Users/Joey/testhe/.theos/obj/debug/armv7/testhe.dylib] Error 1
make[2]: *** [/Users/Joey/testhe/.theos/obj/debug/armv7/testhe.dylib] Error 2
make[1]: *** [internal-library-all_] Error 2
make: *** [testhe.all.tweak.variables] Error 2

 

My makefile:

ARCHS = armv7 arm64
TARGET = iphone:clang:latest:latest
CFLAGS = -fobjc-arc

MODULES = jailed
include /Users/Joey/projects/theos/makefiles/common.mk

TWEAK_NAME = testhe
testhe_FILES = Tweak.xm
testhe_FILES = Tweak.xm $(shell find $(THEOS)/include/SCLAlertView -name '*.m')
testhe_FRAMEWORKS = UIKit MessageUI Social QuartzCore CoreGraphics Foundation AVFoundation Accelerate GLKit AudioToolbox
testhe_LDFLAGS += -Wl,-segalign,4000
testhe_FRAMEWORKS = UIKit

testhe_FILES = Tweak.xm
testhe_IPA = /Users/Joey/Downloads/brp781.ipa

include /Users/Joey/projects/theos/makefiles/tweak.mk

 

my tweak.xm:

#import <SCLAlertView/SCLAlertView.h>
#import <substratearc.h>
#import <mach-o/dyld.h>
#include <substrate.h>
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

%hook AppDelegate // Change this with your Application's Delegate. AppController, UnityAppController, GameDelegate etc.

- (BOOL)application:(id)fp8 didFinishLaunchingWithOptions:(id)fp12 { // Popup only once at each launch of the app.{

    SCLAlertView *alert = [[SCLAlertView alloc] initWithNewWindow];
    
    [alert addButton: @"Visit my Channel!" actionBlock: ^(void) {
        [[UIApplication sharedApplication] openURL: [NSURL URLWithString: @"https://youtube.com/user/BikeRaceJ/"]];
    }];
    
    alert.shouldDismissOnTapOutside = NO; //Dismiss alert when tapped outside? YES or NO
    alert.backgroundType = Blur; // Blur, Shadow or Transparent background
    alert.customViewColor = [UIColor colorWithRed:0.00 green:0.64 blue:1.00 alpha:1.0]; // Overwrite SCLAlertView (Buttons, top circle and borders) colors
    
    
    alert.showAnimationType = SlideInFromLeft; // Animation when the popup is shown. Default is SlideInFromTop
    //alert.hideAnimationType = SlideOutToBottom; // Animation when closing the popup. Default is FadeOut
    
    [alert showSuccess: nil // Success, Error, Notice, Warning, Info, Edit, Custom, Waiting
              subTitle: @"Hacked by Ted2/BikeRaceJ\n"
      closeButtonTitle: @"Thank You" // The text on the button which closes the popup
              duration: 10.0f]; // Seconds until the popup auto closes.
        return %orig;
}
%end

 

Posted
3 hours ago, Archangel04 said:

You have to use cURL to get SDK not merely download them

Yea I've had all kind of sdks tested lol

  • Solution
Posted

Remove your current Makefile and try this:

CODESIGN_IPA=0
MODULES = jailed
CFLAGS = -fobjc-arc
include /Users/Joey/projects/theos/makefiles/common.mk

TWEAK_NAME = testhe

testhe_FRAMEWORKS = UIKit MessageUI Social QuartzCore CoreGraphics Foundation AVFoundation Accelerate GLKit AudioToolbox
testhe_LDFLAGS += -Wl,-segalign,4000

testhe_FILES = Tweak.xm $(shell find $(THEOS)/include/SCLAlertView -name '*.m')
testhe_IPA = /Users/Joey/Downloads/brp781.ipa

include /Users/Joey/projects/theos/makefiles/tweak.mk

 

Posted
4 minutes ago, DiDA said:

Remove your current Makefile and try this:


CODESIGN_IPA=0
MODULES = jailed
CFLAGS = -fobjc-arc
include /Users/Joey/projects/theos/makefiles/common.mk

TWEAK_NAME = testhe

testhe_FRAMEWORKS = UIKit MessageUI Social QuartzCore CoreGraphics Foundation AVFoundation Accelerate GLKit AudioToolbox
testhe_LDFLAGS += -Wl,-segalign,4000

testhe_FILES = Tweak.xm $(shell find $(THEOS)/include/SCLAlertView -name '*.m')
testhe_IPA = /Users/Joey/Downloads/brp781.ipa

include /Users/Joey/projects/theos/makefiles/tweak.mk

 

You're the man! Working perfectly, thanks ^_^

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

    • Mob Control v2.87.2 +7 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Mob Control By Voodoo
      Bundle ID: com.vincentb.MobControl
      iTunes Store Link: https://apps.apple.com/us/app/mob-control/id1562817072?uo=4


      Hack Features:
      - Unlimited Coins -> Earn or spend some.
      - Unlimited Skip'Its -> Earn or spend some.
      - Unlimited Stars -> Earn some.
      - Unlimited Bricks
      - Unlimited Earnt Bricks
      - Unlimited Cards -> Will increase instead of decrease.
      - No Card Requirement


      Jailbreak required hack(s): [Mod Menu Hack] Mob Control v2.78.0 +7 Cheats [ Unlimited Currencies ] - 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/
      • 199 replies
    • Mob Control v2.87.2 +7 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Mob Control By Voodoo
      Bundle ID: com.vincentb.MobControl
      iTunes Store Link: https://apps.apple.com/us/app/mob-control/id1562817072?uo=4


      Hack Features:
      - Unlimited Coins -> Earn or spend some.
      - Unlimited Skip'Its -> Earn or spend some.
      - Unlimited Stars -> Earn some.
      - Unlimited Bricks
      - Unlimited Earnt Bricks
      - Unlimited Cards -> Will increase instead of decrease.
      - No Card Requirement


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Mob Control v2.78.0 +7 Jailed Cheats [ Unlimited Currencies ] - Free Non-Jailbroken IPA 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/
        • Like
      • 105 replies
    • Erythros Lite v24.02.25 +8 Jailed Cheats [ Unlimited Everything ]
      Modded/Hacked App: Erythros Lite By VLADYSLAV PAVLIV
      Bundle ID: com.keyneed.erythroslite
      App Store Link: https://apps.apple.com/us/app/erythros-lite/id6740181005?uo=4

       
       

      🤩 Hack Features

      - Unlimited Health
      - Unlimited Stamina
      - Unlimited Food
      - Unlimited Water
      - Unlimited Sickness
      - Unlimited Experience
      -- Premium Enabled
      -- Anti Ban [ Untested ]
      • 0 replies
    • Erythros Lite v24.02.25 +8 Cheats [ Unlimited Everything ]
      Modded/Hacked App: Erythros Lite By VLADYSLAV PAVLIV
      Bundle ID: com.keyneed.erythroslite
      App Store Link: https://apps.apple.com/us/app/erythros-lite/id6740181005?uo=4

       


      🤩 Hack Features

      - Unlimited Health
      - Unlimited Stamina
      - Unlimited Food
      - Unlimited Water
      - Unlimited Sickness
      - Unlimited Experience
      -- Premium Enabled
      -- Anti Ban [ Untested ]
      • 0 replies
    • Vampire Survivors v1.13.109 +4 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Vampire Survivors By Poncle
      Bundle ID: com.poncle.VampireSurvivors
      iTunes Store Link: https://apps.apple.com/us/app/vampire-survivors/id6444525702
       

      Hack Features:
      - Damage Multiplier
      - Defence Multiplier
      - Unlimited Coins -> Spend some.
      - All Weapons Unlocked -> Head over to Options and toggle the Sounds button.


      Jailbreak required hack(s): [Mod Menu Hack] Vampire Survivors v1.6.104 +5 Cheats [ Damage & Defence ] - 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/
      • 115 replies
    • Vampire Survivors v1.13.109 +4 Cheats [ Damage & Defence ]
      Modded/Hacked App: Vampire Survivors By Poncle
      Bundle ID: com.poncle.VampireSurvivors
      iTunes Store Link: https://apps.apple.com/us/app/vampire-survivors/id6444525702
       

      Hack Features:
      - Damage Multiplier
      - Defence Multiplier
      - Unlimited Coins -> Spend some.
      - All Weapons Unlocked -> Head over to Options and toggle the Sounds button.


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Vampire Survivors v1.6.104 +3 Jailed Cheats [ God Mode ] - Free Non-Jailbroken IPA 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/
      • 110 replies
    • Love Sparks: Make Me Blush v2.44.0 +2++ Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Love Sparks: Make Me Blush By SVEG MASHA, OOO
      Bundle ID: com.swagmasha.lovespark
      iTunes Store Link: https://apps.apple.com/us/app/love-sparks-make-me-blush/id1580105392?uo=4
       

      Hack Features:
      - Unlimited Gems -> Earn some.
      - VIP Enabled


      Jailbreak required hack(s): [Mod Menu Hack] Love Sparks: My Secret Fantasy v2.17.0 +2 Cheats [ Unlimited Gems ] - 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/
      • 887 replies
    • Love Sparks: Make Me Blush v2.44.0 +2++ Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Love Sparks: Make Me Blush By SVEG MASHA, OOO
      Bundle ID: com.swagmasha.lovespark
      iTunes Store Link: https://apps.apple.com/us/app/love-sparks-make-me-blush/id1580105392?uo=4
       

      Hack Features:
      - Unlimited Gems -> Earn some.
      - VIP Enabled


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Love Sparks: My Secret Fantasy v2.17.0 +3 Jailed Cheats [ Unlimited Gems ] - Free Non-Jailbroken IPA 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/
      • 388 replies
    • Whispers - Interactive Stories v2.2.9 +2 Jailed Cheats [ Free Choices ]
      Modded/Hacked App: Whispers: Interactive Stories By GAMEHAUS LIMITED
      Bundle ID: com.twincat.stories
      iTunes Store Link: https://apps.apple.com/us/app/whispers-interactive-stories/id1546336250
       

      Hack Features:
      - All Chapters Unlocked
      - Free Premium Choices


      Jailbreak required hack(s): [Mod Menu Hack] Whispers: Interactive Stories v1.4.9 +2 Cheats [ Free Choices ] - 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/
      • 277 replies
    • Whispers - Interactive Stories v2.2.9 +2 Cheats [ Free Choices ]
      Modded/Hacked App: Whispers: Interactive Stories By GAMEHAUS LIMITED
      Bundle ID: com.twincat.stories
      iTunes Store Link: https://apps.apple.com/us/app/whispers-interactive-stories/id1546336250
       

      Hack Features:
      - All Chapters Unlocked
      - Free Premium Choices


      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/
      • 172 replies
    • MeChat - Interactive Stories v4.33.1 +2 Jailed Cheats [ Unlimited Gems ]
      Modded/Hacked App: MeChat - Interactive Stories By IMPONILOX LIMITED
      Bundle ID: world.playme.mechat
      App Store Link: https://apps.apple.com/us/app/mechat-interactive-stories/id1536157979?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

      - Unlimited Gems -> Will increase instead of decrease.

      VIP
      - Unlimited Gems -> Earn some then disable this feature. DO NOT SPEND ANY GEMS WHILST THIS FEATURE IS ENABLED!
      • 767 replies
    • MeChat - Interactive Stories v4.33.1 +2 Cheats [ Unlimited Gems ]
      Modded/Hacked App: MeChat - Interactive Stories By IMPONILOX LIMITED
      Bundle ID: world.playme.mechat
      App Store Link: https://apps.apple.com/us/app/mechat-interactive-stories/id1536157979?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

      - Unlimited Gems -> Will increase instead of decrease.

      VIP
      - Unlimited Gems -> Earn some then disable this feature. DO NOT SPEND ANY GEMS WHILST THIS FEATURE IS ENABLED!
      • 307 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