Hello All,
I am unable to get unit testing to happen on a very simple application.
Steps: 1) Create Unit Testing Bundle (called UnitTests in the attached project) 2) add the app as a dependency 3) switch to the unit test bundle as the active target 4) specify Bundle Loader and Test Rig to be the application executable for the unit test target 5) add the -SenTest All argument to the Executable (called DizBot in this example) 6) add DYLD_INSERT_LIBRARIES = $(DEVELOPER_LIBRARY_DIR)/PrivateFrameworks/DevToolsBundleInjection.framework/DevToolsBundleInjection and XCInjectBundle to UnitTests.octest to the variables
When I build and go i get;
2007-12-27 10:49:57.916 DizBot[7459:10b] Error loading .../UnitTests.octest/Contents/MacOS/UnitTests: dlopen(...UnitTests.octest/Contents/MacOS/UnitTests, 262): Library not loaded: @rpath/SenTestingKit.framework/Versions/A/SenTestingKit Referenced from: .../UnitTests.octest/Contents/MacOS/UnitTests Reason: image not found DevToolsBundleInjection: Error loading bundle 'UnitTests.octest'
I copied the SenTestingKit.framework into my build directory ($BUILT_PRODUCTS_DIR) but then I get a SIGABRT from GDB.
I have a really simple project that I could put out on the web (or attach, its 48KB) if it would help.
Any help would be greatly appreciated.
Thanks,
-bd-
|