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

 

  • 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
  On 8/28/2017 at 9:00 PM, 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

 

Expand  

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

    • Disney Speedstorm v1.12.0 +1 Jailed Cheat [ Unlimited Nitro ]
      Modded/Hacked App: Disney Speedstorm By Gameloft
      Bundle ID: com.gameloft.disneyspeedstorm
      iTunes Store Link: https://apps.apple.com/us/app/disney-speedstorm/id6449708682?uo=4


      Hack Features:
      - Unlimited Nitro -> Will not decrease.
      - Instant Nitro Max


      Jailbreak required hack(s): [Mod Menu Hack] Disney Speedstorm v1.5.0 +2 Cheats [ Unlimited Nitro ] - 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 79 replies
    • Disney Speedstorm v1.12.0 +1 Cheat [ Unlimited Nitro ]
      Modded/Hacked App: Disney Speedstorm By Gameloft
      Bundle ID: com.gameloft.disneyspeedstorm
      iTunes Store Link: https://apps.apple.com/us/app/disney-speedstorm/id6449708682?uo=4


      Hack Features:
      - Unlimited Nitro -> Will not decrease.
      - Instant Nitro Max


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Disney Speedstorm v1.5.0 +2 Jailed Cheats [ Unlimited Nitro ] - 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/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 72 replies
    • Mystery Matters v2.9.1 +6 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Mystery Matters By Playrix
      Bundle ID: com.playrix.mystery-matters
      iTunes Store Link: https://apps.apple.com/us/app/mystery-matters/id6450447751
       

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

      VIP
      Note - These features will get you banned from teams/clans.
      - Unlimited Coins -> Earn or spend some.
      - Unlimited Stars -> Earn some.
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 44 replies
    • Mystery Matters v2.9.1 +6 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Mystery Matters By Playrix
      Bundle ID: com.playrix.mystery-matters
      iTunes Store Link: https://apps.apple.com/us/app/mystery-matters/id6450447751
       

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

      VIP
      Note - These features will get you banned from teams/clans.
      - Unlimited Coins -> Earn or spend some.
      - Unlimited Stars -> Earn some.
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 46 replies
    • Smashero.io - Hack N Slash RPG v1.16.2 +2 Jailed Cheats [ God / O-HK ]
      Modded/Hacked App: Smashero.io - Hack N Slash RPG By CANNON CRACKER, Inc.
      Bundle ID: com.cc.Smashero
      iTunes Store Link: https://apps.apple.com/us/app/smashero-io-hack-n-slash-rpg/id6505129091?uo=4


      Hack Features:
      - God Mode
      - One-Hit Kill


      Jailbreak required hack(s): [Mod Menu Hack] Smashero.io - Hack N Slash RPG v3.3 +2 Cheats [ God / O-HK ] - 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/
        • Agree
        • Thanks
        • Winner
        • Like
      • 28 replies
    • Smashero.io - Hack N Slash RPG v1.16.2 +2 Cheats [ God / O-HK ]
      Modded/Hacked App: Smashero.io - Hack N Slash RPG By CANNON CRACKER, Inc.
      Bundle ID: com.cc.Smashero
      iTunes Store Link: https://apps.apple.com/us/app/smashero-io-hack-n-slash-rpg/id6505129091?uo=4


      Hack Features:
      - God Mode
      - One-Hit Kill


      Non-Jailbroken & No Jailbreak required hack(s): [No Jailbreak Required] Smashero.io - Hack N Slash RPG v3.3 +2 Jailed Cheats [ God / O-HK ] - 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/
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 56 replies
    • Goal Battle - Soccer Games v4.527 +2 Jailed Cheats [ Dumb Opponents ]
      Modded/Hacked App: Goal Battle - Soccer Games By Mage Oyun Teknolojileri Anonim Sirketi
      Bundle ID: com.mage.goalbattle
      App Store Link: https://apps.apple.com/us/app/goal-battle-soccer-games/id6477293095?uo=4

       
       

      🤩 Hack Features

      - Dumb Opponents
      - All Avatars Unlocked
        • Thanks
        • Winner
        • Like
      • 2 replies
    • Goal Battle - Soccer Games v4.527 +2 Cheats [ Dumb Opponents ]
      Modded/Hacked App: Goal Battle - Soccer Games By Mage Oyun Teknolojileri Anonim Sirketi
      Bundle ID: com.mage.goalbattle
      App Store Link: https://apps.apple.com/us/app/goal-battle-soccer-games/id6477293095?uo=4

       
       

      🤩 Hack Features

      - Dumb Opponents
      - All Avatars Unlocked
        • Agree
        • Winner
      • 5 replies
    • Episode: Reality Stars v1.19 +2++ Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Episode: Reality Stars By Episode Interactive, LLC
      Bundle ID: com.sodeepilabs.glamsquad
      App Store Link: https://apps.apple.com/ph/app/episode-reality-stars/id1604253094?uo=4


      Hack Features:
      - Unlimited Currencies -> Head into Settings and toggle the License button. Press on Hero to add 99K currencies.
      - Time Cheat Menu -> Head into Settings and toggle the Terms of Service button. Toggle to your liking.
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 84 replies
    • Episode: Reality Stars v1.19 +2++ Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Episode: Reality Stars By Episode Interactive, LLC
      Bundle ID: com.sodeepilabs.glamsquad
      App Store Link: https://apps.apple.com/ph/app/episode-reality-stars/id1604253094?uo=4


      Hack Features:
      - Unlimited Currencies -> Head into Settings and toggle the License button. Press on Hero to add 99K currencies.
      - Time Cheat Menu -> Head into Settings and toggle the Terms of Service button. Toggle to your liking.
        • Informative
        • Winner
        • Like
      • 30 replies
    • Cooking World: Cooking Games v1.6.2 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Cooking World: Cooking Games By MagicSeven Co., Ltd
      Bundle ID: com.cooking.world.chef.craze.restaurant.fever
      iTunes Store Link: https://apps.apple.com/us/app/cooking-world-cooking-games/id6469040590?uo=4
       

      🤩 Hack Features

      - Gems [ Earn Some ]
      - Coins [ Earn Some ]
      - Exp [ Earn Some + Rewards ] Breakable Feature

      - Lives [ Linked With Exp ]
        • Haha
        • Like
      • 10 replies
    • Cooking World: Cooking Games v1.6.2 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Cooking World: Cooking Games By MagicSeven Co., Ltd
      Bundle ID: com.cooking.world.chef.craze.restaurant.fever
      iTunes Store Link: https://apps.apple.com/us/app/cooking-world-cooking-games/id6469040590?uo=4

       

      🤩 Hack Features

      - Gems [ Earn Some ]
      - Coins [ Earn Some ]
      - Exp [ Earn Some + Rewards ] Breakable Feature 

      - Lives [ Linked With Exp ]
        • Informative
        • Haha
        • Thanks
        • Winner
        • Like
      • 11 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