Jump to content

Error: ld: symbol(s) not found for architecture armv7 - Theos on iOS 8


Rook

19 posts in this topic

Recommended Posts

Posted
I tried compiling a project using PuTTY on iOS 8 with iOS 8.1 SDK and got this error:

 

ld: symbol(s) not found for architecture armv7

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

 

Anyone know a solution?

 

Thanks! ^_^

Posted

 

I tried compiling a project using PuTTY on iOS 8 with iOS 8.1 SDK and got this error:
 
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
 
Anyone know a solution?
 
Thanks! ^_^

 

bro can u post the pic of it ?

Posted

bro can u post the pic of it ?

Making all in ProjectName...
Making all for bundle ProjectName...
 Copying resource directories into the bundle wrapper...
 Linking bundle ProjectName...
Undefined symbols for architecture armv7:
  "_OBJC_CLASS_$_UIApplication", referenced from:
      objc-class-ref in Preferences.mm.4308fdb3.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]: *** [obj/ProjectName.bundle/ProjectName.64873355.unsigned] Error 1
make[2]: *** [internal-bundle-all_] Error 2
make[1]: *** [ProjectName.all.bundle.variables] Error 2
make: *** [internal-all] Error 2

Posted
Making all in ProjectName...
Making all for bundle ProjectName...
 Copying resource directories into the bundle wrapper...
 Linking bundle ProjectName...
Undefined symbols for architecture armv7:
  "_OBJC_CLASS_$_UIApplication", referenced from:
      objc-class-ref in Preferences.mm.4308fdb3.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]: *** [obj/ProjectName.bundle/ProjectName.64873355.unsigned] Error 1
make[2]: *** [internal-bundle-all_] Error 2
make[1]: *** [ProjectName.all.bundle.variables] Error 2
make: *** [internal-all] Error 2

bruh u should add ARCHS = armv7 arm64 to the tweak MakeFile and Add PROJECTNAME_FRAMEWORKS = UIKit to the Patcher MakeFile :) Done!

Posted

bruh u should add ARCHS = armv7 arm64 to the tweak MakeFile and Add PROJECTNAME_FRAMEWORKS = UIKit to the Patcher MakeFile :) Done!

Already have. ^_^

 

The error is generated from Preferences.mm file. :3

 

Want me to compile your project ?

Nah, not yet. :)

Posted

bruh i got same error ! double check it ! it will fix it :p

Fixed the error by removing any extra modifications made to the Preferences.mm file. :)

#import <Preferences/Preferences.h>

@interface ProjectNameListController: PSListController {
}
@end

@implementation ProjectNameListController
- (id)specifiers {
	if(_specifiers == nil) {
		_specifiers = [[self loadSpecifiersFromPlistName:@"ProjectName" target:self] retain];
	}
	return _specifiers;
}
@end

// vim:ft=objc

Posted

@@DiDA

 

u could have added: :3

 

 

#import <UIKit/UIKit.h>
 

but who cares now?

You're alive! :o

 

Thanks! I guess that could have been another solution. :3

Archived

This topic is now archived and is closed to further 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