I am trying to run the GHUnit test to just verify that the setter really works for the NSManagedObject in my application. My application is called βMachineβ, and my goal of GHUnit is called βTestsβ. I added the Machine as a function of the testing purpose. My object in the test is called Target. The code is below, and the error in the link is shown below.
@end
Ld / Users / dlwhitehurst / Library / Developer / Xcode / DerivedData / Machine-cscchzscengbcmcmeyzxlkbhumdn / Build / Products / Debug-iphonesimulator / Tests.app / Tests normal i386 cd / Users / dlwhitehurst / Development / Coding / Objective-C iPad setenv MACOSX_DEPLOYMENT_TARGET 10.6 setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" / Developer / Platforms / iPhoneSimulator .platform / Developer / usr / bin / llvm-gcc-4.2 -arch i386 -isysroot / Developer / Platforms / iPhoneSimulator.platform / Developer / SDKs / iPhoneSimulator4.3.sdk -L / Users / dlwhitehurst / Library / Developer / Xcode / DerivedData / Machine-cscchzscengbcmcmeyzxlkbhumdn / Build / Products / Debug-iphonesimulator -F / Users / dlwhitehurst / Library / Developer / Xcode / DerivedData / Machine-cscchzscengbcmcmeyzxlkbhumdn / Build-Done / Products-Dimit / Debild hurst / Development / Frameworks -filelist / Users / dlwhitehurst / Library / Developer / Xcode / DerivedData / Machine-cscchzscengbcmcmeyzxlkbhumdn / Build / Intermediates / Machine.build / Debug-iphonesimulator / Tests.build / Objects-normal / i386 / Tests.List mmacosx-version-min = 10.6 -ObjC -all_load -Xlinker -objc_abi_version -Xlinker 2 -framework CoreData -framework GHUnitIOS -framework UIKit -framework Foundation -framework CoreGraphics -o / Users / dlwhitehurst / Library / Developer /Dcode Derive cscchzscengbcmcmeyzxlkbhumdn / Construction / Products / Debu r-iphonesimulator / Tests.app / tests
Undefined symbols for i386 architecture: "_OBJC_CLASS _ $ _ Target" referenced: objc-class-ref in ControllerTests.o ld: symbol not found for i386 architecture collect2: ld returned 1 exit status
xcode4 ios4 linker-errors gh-unit
David L. Whitehurst Jun 18 2018-11-18T00: 00Z
source share