gabriel/gh-unit — Issue #78: iOS: "Undefined symbols for architecture armv7
Author: MarchLiu
Created: 2012-02-20 15:22:18+00:00
State: open

I meet same problem as this link:

http://groups.google.com/group/ghunit/tree/browse_frm/month/2012-01?_done=%2Fgroup%2Fghunit%2Fbrowse_frm%2Fmonth%2F2012-01%3F&

the message:

From Zenkimoto

"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)
But I am sure I have added framework, linker options (-ObjC -
all_load)."

In case if anyone was wondering about this, I have encountered this
error message as well. What I found that GHUnit 4.33 causes this
error when running on the device. Running on the iOS simulator works
just fine.

I ended up using version 4.32 and it's working just fine. Perhaps I
did something wrong or maybe the GHUnit v.4.33 iOS download needs to
be rebuilt?