Jump to content

Got and error while making a UIPopup


Go to solution Solved by Guest,

8 posts in this topic

Recommended Posts

Posted

I got this error and I have the FRAMEWORKS in the make file

 

Undefined symbols for architecture armv7:

"_OBJC_CLASS_$_UIAlertView", referenced from:

objc-class-ref in Tweak.xm.af20312e.o

ld: symbol(s) not found for architecture armv7

clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation)

make[2]: *** [obj/magicpiano.dylib.64873355.unsigned] Error 1

make[1]: *** [internal-library-all_] Error 2

make: *** [magicpiano.all.tweak.variables] Error 2

RootAcGranted:/var/mobile/magicpiano root#

AND THIS IS THE CODE I PASTED INTO THE Tweak.xm file

 

%hook PianoAppDelegate

-(void)applicationDidBecomeActive:(id)argument {

UIAlertView *alert = [[uIAlertView alloc] initWithTitle:@"Hacked By Patricktph aka Techpro Hacker" message:@"This hack is going to give you VIP + More" delegate:nil cancelButtonTitle:@"Let's Go" otherButtonTitles:nil];

[alert show];

[alert release];

}

%end

Posted

Are you sure you added Frameworks properly to the Makefile?

 

PROJECTNAME_FRAMEWORKS = UIKit

 

(this line has to be below PROJECTNAME_FILES)

Posted

Are you sure you added Frameworks properly to the Makefile?

 

PROJECTNAME_FRAMEWORKS = UIKit

 

(this line has to be below PROJECTNAME_FILES)

Yea I did here this is my code for the make file

export ARCHS = armv7 arm64

include theos/makefiles/common.mk

 

TWEAK_NAME = magicpiano

magicpiano_FILES = Tweak.xm

magicPiano_FRAMEWORKS = UIKit

 

include $(THEOS_MAKE_PATH)/tweak.mk

 

after-install::

install.exec "killall -9 SpringBoard"

Posted

@@Patricktph

 

Your 

magicpiano_FILES = Tweak.xm

Should be uppercase.

 

Like this: 

magicPiano_FILES = Tweak.xm
Posted

@@Patricktph

 

Your 

 

magicpiano_FILES = Tweak.xm
Should be uppercase.

 

Like this: 

magicPiano_FILES = Tweak.xm
I did I got an error again > here

Linking tweak magicPiano...

Undefined symbols for architecture armv7:

"_OBJC_CLASS_$_UIAlertView", referenced from:

objc-class-ref in Tweak.xm.af20312e.o

ld: symbol(s) not found for architecture armv7

clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation)

make[2]: *** [obj/magicPiano.dylib.64873355.unsigned] Error 1

make[1]: *** [internal-library-all_] Error 2

make: *** [magicPiano.all.tweak.variables] Error 2

iPhone:/var/mobile/magicpiano root#

 

THIS IS MY Make file

ARCHS = armv7 arm64

include theos/makefiles/common.mk

 

TWEAK_NAME = magicPiano

magicPiano_FILES = Tweak.xm

MagicPino_FRAMEWPRKS = UIKit

 

include $(THEOS_MAKE_PATH)/tweak.mk

 

after-install::

install.exec "killall -9 SpringBoard"

 

AND THIS IS WHAT I PASTED IN THE TWEAK.XM

 

%hook PianoAppDelegate

-(void)applicationDidBecomeActive:(id)argument {

UIAlertView *alert = [[uIAlertView alloc] initWithTitle:@"Hacked By Patricktph aka Techpro Hacker" message:@"This hack is going to give you VIP + More" delegate:nil cancelButtonTitle:@"Let's Go" otherButtonTitles:nil];

[alert show];

[alert release];

}

%end

 

I did I got an error again > here

Linking tweak magicPiano...

Undefined symbols for architecture armv7:

"_OBJC_CLASS_$_UIAlertView", referenced from:

objc-class-ref in Tweak.xm.af20312e.o

ld: symbol(s) not found for architecture armv7

clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation)

make[2]: *** [obj/magicPiano.dylib.64873355.unsigned] Error 1

make[1]: *** [internal-library-all_] Error 2

make: *** [magicPiano.all.tweak.variables] Error 2

iPhone:/var/mobile/magicpiano root#

 

THIS IS MY Make file

ARCHS = armv7 arm64

include theos/makefiles/common.mk

 

TWEAK_NAME = magicPiano

magicPiano_FILES = Tweak.xm

MagicPino_FRAMEWPRKS = UIKit

 

include $(THEOS_MAKE_PATH)/tweak.mk

 

after-install::

install.exec "killall -9 SpringBoard"

 

AND THIS IS WHAT I PASTED IN THE TWEAK.XM

 

%hook PianoAppDelegate

-(void)applicationDidBecomeActive:(id)argument {

UIAlertView *alert = [[uIAlertView alloc] initWithTitle:@"Hacked By Patricktph aka Techpro Hacker" message:@"This hack is going to give you VIP + More" delegate:nil cancelButtonTitle:@"Let's Go" otherButtonTitles:nil];

[alert show];

[alert release];

}

%end

Posted

You misspelled FRAMEWORKS now...

And it's magicPiano not magicPino.

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