-
Notifications
You must be signed in to change notification settings - Fork 309
Framework missing symbols for ARMV7 #69
Comments
I had the same problem... |
Same here. Ok in simulator, failed to build in iPhone4(iOS5) |
Has anybody found a fix yet? |
You need to build by yourself.
|
I agree. The same thing worked for me. |
@tszming Thank you, worked for me! |
Could someone provide a bit more detail on how a rebuild solved this issue? I downloaded the source and verified that the build settings were appropriately configured for armv6 and armv7. I rebuilt the framework, re-referenced the newly built framework in my existing project and cleared my project completely. When I try to run my project, I still receive the same error. Any ideas why? Any help would be much appreciated. |
Thanks! Worked for me! |
Thanks to tszming! It worked for me,too. |
I'M facing same problem, its a related issue. duplicate symbol OBJC_METACLASS$_Base64 in /Users/fengz/Library/Developer/Xcode/DerivedData/App-fcboiwafvqizjpbnawarmmchgvqh/Build/Intermediates/App.build/Debug-iphoneos/App.build/Objects-normal/armv7/Base64-3A0CFD19E80D86B.o and /Users/fengz/Library/Developer/Xcode/DerivedData/App-fcboiwafvqizjpbnawarmmchgvqh/Build/Intermediates/App.build/Debug-iphoneos/App.build/Objects-nor
8505
mal/armv7/Base64-3A0CFD19E80D86B.o for architecture armv7 |
thank you. you saved my dad! |
Hi there,
I've downloaded the latest GHUnit framework 0.4.33 and am trying to use it with the iOS 5 SDK.
If I compile for the simulator (i386) it builds and runs my tests fine.
If I try to run it on my iPhone 4 (Running iOS 5) it fails to build with the following error:
Undefined symbols for architecture armv7:
"OBJC_CLASS$_YKUIImageViewControl", referenced from:
objc-class-ref in GHUnitIOS(GHUnitIOSTestView.o)
"OBJC_CLASS$_GHImageDiffView", referenced from:
objc-class-ref in GHUnitIOS(GHUnitIOSTestViewController.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Here is the output of arch:
nm -a -arch armv7 GHUnitIOS | grep YKUIImageViewControl
nm: no name list
U OBJC_CLASS$_YKUIImageViewControl
nm -a -arch armv6 GHUnitIOS | grep YKUIImageViewControl
nm: no name list
U OBJC_CLASS$_YKUIImageViewControl
nm -a -arch i386 GHUnitIOS | grep YKUIImageViewControl
nm: no name list
U OBJC_CLASS$_YKUIImageViewControl
GHUnitIOS(YKUIImageViewControl.o):
00000000 t -[YKUIImageViewControl forwardingTargetForSelector:]
00000017 t -[YKUIImageViewControl imageView]
0000002e t -[YKUIImageViewControl initWithFrame:]
00008a6c s -[YKUIImageViewControl initWithFrame:].eh
000001dc t -[YKUIImageViewControl initWithFrame:image:highlightedImage:]
00008af0 s -[YKUIImageViewControl initWithFrame:image:highlightedImage:].eh
00000156 t -[YKUIImageViewControl layoutSubviews]
00008ac4 s -[YKUIImageViewControl layoutSubviews].eh
000000f4 t -[YKUIImageViewControl setHighlighted:]
00008a98 s -[YKUIImageViewControl setHighlighted:].eh
00008a38 S OBJC_CLASS$_YKUIImageViewControl
00008948 S OBJC_IVAR$_YKUIImageViewControl._imageView
00008a24 S OBJC_METACLASS$YKUIImageViewControl
0000899c s l_OBJC$INSTANCE_METHODS_YKUIImageViewControl
000089ec s l_OBJC$INSTANCE_VARIABLES_YKUIImageViewControl
00008a08 s l_OBJC$PROP_LIST_YKUIImageViewControl
00008974 s l_OBJC_CLASS_RO$YKUIImageViewControl
0000894c s l_OBJC_METACLASS_RO$_YKUIImageViewControl
It looks to me like the i386 build has some extra stuff the arm architectures don't have.
The text was updated successfully, but these errors were encountered: