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

    • Icy Village: Survival Idle v4.3.3 +2++ Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Icy Village: Survival Idle By AppQuantum Publishing Ltd
      Bundle ID: com.unimob.icy.village
      iTunes Store Link: https://apps.apple.com/us/app/icy-village-survival-idle/id6470175895?uo=4


      Hack Features:
      - Unlimited Currencies -> Will increase instead of decrease.


      Jailbreak required hack(s): [Mod Menu Hack] Icy Village: Tycoon Survival ( All Versions ) +2++ 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/
      • 34 replies
    • Mergevia: Match Tiles & Merge v1.1.19 +1 Jailed Cheat [ Unlimited Everything ]
      Modded/Hacked App: Mergevia: Match Tiles & Merge By FUNJOY TECHNOLOGY LIMITED
      Bundle ID: com.starfish.mergevia.tile.match.ios
      App Store Link: https://apps.apple.com/us/app/mergevia-match-tiles-merge/id6740308450?uo=4

       
       

      🤩 Hack Features

      - Unlimited Everything
      • 2 replies
    • Changokushi! Heroes v1.0.13 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Changokushi! Heroes By okakichi inc.
      Bundle ID: jp.okakichi.heroes
      App Store Link: https://apps.apple.com/th/app/changokushi-heroes/id6566179200?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 6 replies
    • Grand Tour : Classic RPG v1.1.9 +4 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Grand Tour : Classic RPG By PLUMERIA Inc.
      Bundle ID: com.plumeriagames.msr
      iTunes Store Link: https://apps.apple.com/us/app/grand-tour-classic-rpg/id6499002136?uo=4


      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
      - Unlimited Gold -> Will increase instead of decrease.
      - Unlimited Gems -> Will increase instead of decrease.


      Jailbreak required hack(s): [Mod Menu Hack] Grand Tour : Classic RPG v1.0.0 +4 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/
      • 34 replies
    • LEGO® Hill Climb Adventures v2.3.1 +1++ Jailed Cheat [ Unlimited Currencies ]
      Modded/Hacked App: LEGO® Hill Climb Adventures By Fingersoft
      Bundle ID: com.fingersoft.legohillclimbadventures
      iTunes Store Link: https://apps.apple.com/ph/app/lego-hill-climb-adventures/id6443582961?uo=4


      Hack Features:
      - Unlimited Currencies -> Spend some.


      Jailbreak required hack(s): [Mod Menu Hack] LEGO® Hill Climb Adventures v1.0.2 +1++ Cheat [ 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/
      • 51 replies
    • Arcane Adventure v0.1.1 [ +4 Cheats ] Never Die
      Modded/Hacked App: Arcane Adventure By Keystorm Holdings Limited
      Bundle ID: com.game.arcane.adventure
      App Store Link: https://apps.apple.com/gb/app/arcane-adventure/id6753942710?uo=4 

      🤩 Hack Features

      - Never Die
      - DMG
      - Crit Chance
      - Crit Factor
      • 2 replies
    • Arcane Adventure v0.1.1 [ +4 Jailed ] Never Die
      Modded/Hacked App: Arcane Adventure By Keystorm Holdings Limited
      Bundle ID: com.game.arcane.adventure
      App Store Link: https://apps.apple.com/gb/app/arcane-adventure/id6753942710?uo=4

      🤩 Hack Features

      - Never Die
      - DMG
      - Crit Chance
      - Crit Factor
      • 0 replies
    • Pines Peak: Merge Travel Games v12512.0 +6 Jailed Cheats [ Unlimited Cash ]
      Modded/Hacked App: Pines Peak: Merge Travel Games By VIZOR APPS LTD
      Bundle ID: com.vizor-apps.Road-Trip2
      App Store Link: https://apps.apple.com/ph/app/pines-peak-merge-travel-games/id6743472188?uo=4

       


      🤩 Hack Features

      - Freeze Merge Energy
      - Freeze Energy
      - Freeze Cash

      VIP
      - Unlimited Merge Energy -> Spend some then restart the game.
      - Unlimited Energy -> Spend some then restart the game.
      - Unlimited Cash -> Spend some then restart the game.
      • 3 replies
    • Disney Magic Match 3D v7.0.1 +4 Jailed Cheats [ Unlimited Everything ]
      Modded/Hacked App: Disney Magic Match 3D By Jam City, Inc.
      Bundle ID: com.jamcity.pdt
      App Store Link: https://apps.apple.com/us/app/disney-magic-match-3d/id6468690398?uo=4

       


      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Lives
      - Unlimited Pre-Game Boosters
      - Unlimited In-Game Boosters
      • 5 replies
    • Unromantic Demon Queen: Otome v1.0.11 +1 Jailed Cheat [ Free Premium Choices ]
      Modded/Hacked App: Unromantic Demon Queen : Otome By Storytaco.inc
      Bundle ID: com.storytaco.c7client
      iTunes Store Link: https://apps.apple.com/us/app/unromantic-demon-queen-otome/id6446239496?uo=4


      Hack Features:
      - Free Premium Choices


      Jailbreak required hack(s): [Mod Menu Hack] Unromantic Demon Queen: Otome v1.0.8 +1 Cheat [ Free Premium 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/
      • 9 replies
    • Dragoneer Squad: Idle v1.0.26 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Dragoneer Squad: Idle By DAERI SOFT
      Bundle ID: com.daerigame.dragon
      App Store Link: https://apps.apple.com/us/app/dragoneer-squad-idle/id6746182414?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 25 replies
    • Avalar: Raid of Shadow v03.85.10 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Avalar: Raid of Shadow By Enigma Publishing Limited
      Bundle ID: com.vtwo.atwo.epl.as
      App Store Link: https://apps.apple.com/us/app/avalar-raid-of-shadow/id6745590551?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 36 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