ios - Add Test Target to existing project in Xcode 6.3 -



ios - Add Test Target to existing project in Xcode 6.3 -

note: question related, reply given there not solve issue me: xc testing framework ios(xcode 6.1) test session exited(80) without checking in

i have existing ios code, , want start writing xctest cases using xcode 6.3. create test target clicking on + in test navigator. test target created me, including file tests unit tests in them.

the test starts greyed out in test navigator (i cannot click cmd+t).

question 1: how can enable tests?

edit: reply described in screenshot: https://www.evernote.com/shard/s4/sh/6a5ca990-d723-46ee-bf77-2cf0ff4e70b2/1a62c472fbbeeffa595fcecd4a9fbbf7, found here: adding unit tests existing project?

in project settings, have next settings production target (legacy): , next settings test target (auto generated):

if run test anyway manually clicking on play button in test navigator, receive next extensive error messages.

warning: error creating lldb target @ path '/users/erwin/library/developer/xcode/deriveddata/nyonorder-bzkqdvtkegbjpuccyzmrgprbjqgm/build/products/debug-iphonesimulator/orderwriter.app'- using empty lldb target can cause slow memory reads remote devices. idebundleinjection.c: error 3585 loading bundle '/users/erwin/library/developer/xcode/deriveddata/nyonorder-bzkqdvtkegbjpuccyzmrgprbjqgm/build/products/debug-iphonesimulator/nyonordertests.xctest': bundle “nyonordertests” couldn’t loaded because doesn’t contain version current architecture. devtoolsbundleinjection environment: xcinjectdiagnostics: (null) xcinjectbundleinto: /users/erwin/library/developer/xcode/deriveddata/nyonorder-bzkqdvtkegbjpuccyzmrgprbjqgm/build/products/debug-iphonesimulator/orderwriter.app/orderwriter xcinjectbundle: /users/erwin/library/developer/xcode/deriveddata/nyonorder-bzkqdvtkegbjpuccyzmrgprbjqgm/build/products/debug-iphonesimulator/nyonordertests.xctest testbundlelocation: /users/erwin/library/developer/xcode/deriveddata/nyonorder-bzkqdvtkegbjpuccyzmrgprbjqgm/build/products/debug-iphonesimulator/nyonordertests.xctest tmpdir: /users/erwin/library/developer/coresimulator/devices/7094b929-04bd-459e-8e83-bdf9cbfa397a/data/containers/data/application/b02b9956-754b-4663-9bc2-7191b0c2bffe/tmp dyld_library_path: /users/erwin/library/developer/xcode/deriveddata/nyonorder-bzkqdvtkegbjpuccyzmrgprbjqgm/build/products/debug-iphonesimulator dyld_insert_libraries: /applications/xcode.app/contents/developer/platforms/iphonesimulator.platform/developer/library/privateframeworks/idebundleinjection.framework/idebundleinjection dyld_framework_path: /users/erwin/library/developer/xcode/deriveddata/nyonorder-bzkqdvtkegbjpuccyzmrgprbjqgm/build/products/debug-iphonesimulator dyld_fallback_library_path: /applications/xcode.app/contents/developer/platforms/iphonesimulator.platform/developer/sdks/iphonesimulator.sdk/usr/lib dyld_fallback_framework_path: /applications/xcode.app/contents/developer/platforms/iphonesimulator.platform/developer/library/frameworks *** test session exited(80) without checking in. executable not provide architecture compatible current process. if believe error represents bug, please attach log file @ /var/folders/cn/sfcysstx0zxb13qzdj35rh040000gn/t/com.apple.dt.xctest-status/session-2015-04-10_13:58:25-8ifyov.log

question 2: settings additionally have check/change able run tests?

edit adding arm64 production target valid architecture solved particular error. unsafe add?

ios xcode unit-testing xcode6 xcode6.3

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -