cocoa - Xcode 5 throws "Library not loaded" error when adding a test target -


i've tried adding test target on xcode 5 using add target -> add cocoa touch unit testing bundle. however, when run test, following error:

2013-09-24 10:43:14.446 stack exchange[48895:c07] error loading /users/arielitovsky/library/developer/xcode/deriveddata/myapp-fjegcztcnwxqdfdimhonqzzqpdwr/build/products/debug-iphonesimulator/stack exchange tests.xctest/stack exchange tests: dlopen(/users/arielitovsky/library/developer/xcode/deriveddata/myapp-fjegcztcnwxqdfdimhonqzzqpdwr/build/products/debug-iphonesimulator/stack exchange tests.xctest/stack exchange tests, 262): library not loaded: /developer/library/frameworks/xctest.framework/xctest referenced from: /users/arielitovsky/library/developer/xcode/deriveddata/myapp-fjegcztcnwxqdfdimhonqzzqpdwr/build/products/debug-iphonesimulator/stack exchange tests.xctest/stack exchange tests reason: image not found idebundleinjection.c: error loading bundle '/users/arielitovsky/library/developer/xcode/deriveddata/myapp-fjegcztcnwxqdfdimhonqzzqpdwr/build/products/debug-iphonesimulator/stack exchange tests.xctest' program ended exit code: 0

why isn't working?

you must run test on ios 7 simulator. not work on ios 6.x.


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -