Am using Xcode 4.5.
Recently i have download GHunit framework and setup it by following link.
On compiling the target, am getting the error mentioned below. need your valuable suggestion.
Undefined symbols for architecture i386:
"_CACurrentMediaTime", referenced from:
_GHRunForInterval in GHUnitIOS(GHTestUtils.o)
_GHRunUntilTimeoutWhileBlock in GHUnitIOS(GHTestUtils.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
CACurrentMediaTime
is declared at CABase.h
and implemented at QuartzCore
framework, you'll need to link it to the project.
In our mobile application development course at school, we have been using this tutorial http://www.raywenderlich.com/3716/unit-testing-tutorial-for-ios-xcode-4-quick-start-guide
And It does not Run without the QuartzCore.framework as well, so thank you very much !
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With