ios - DTDeviceKit: Could not start house arrest service for app identifier XXX -
i'm using xcode 7.3.1 , executing xctest via command-line on device, "iphone 1", iphone 6 running ios 9.3.5:
xcodebuild \ -scheme todo \ -project todo.xcodeproj \ -destination "platform=ios,name=iphone 1"\ clean build test
the build succeeded, failed after compiling test files:
2016-09-13 14:51:32.604 xcodebuild[79689:2064116] dtdevicekit: not start house arrest service app identifier com.example.todo [error domain=com.apple.dtdevicekit code=-402653093 "too many instances of service running." userinfo={nslocalizedfailurereason=too many instances of service running., com.apple.dtdevicekit.stacktrace=( 0 dtdevicekitbase 0x000000010fead3cb dtdkcreatenserror + 113 1 dtdevicekitbase 0x000000010feadb09 dtdk_amderrortonserror + 791 2 dtdevicekitbase 0x000000010febf2f5 __70-[dtdkremotedeviceconnection starthousearrestserviceforappidentifier:]_block_invoke + 100 3 dtdevicekitbase 0x000000010febe1d1 __48-[dtdkremotedeviceconnection futurewithsession:]_block_invoke_4 + 22 4 dtdevicekitbase 0x000000010feb0317 __dtdkexecuteinsession_block_invoke + 38 5 dtdevicekitbase 0x000000010feaf940 __dtdkexecutewithconnection_block_invoke_2 + 477 6 dtdevicekitbase 0x000000010feaf73c __dtdkexecutewithconnection_block_invoke + 107 7 libdispatch.dylib 0x00007fff99bda40b _dispatch_client_callout + 8 8 libdispatch.dylib 0x00007fff99bdb9f2 _dispatch_barrier_sync_f_invoke + 74 9 dvtfoundation 0x0000000106400bef dvtdispatchbarriersync + 206 10 dvtfoundation 0x00000001063dd59b -[dvtdispatchlock performlockedblock:] + 116 11 dtdevicekitbase 0x000000010feaf646 dtdkexecutewithconnection + 223 12 dtdevicekitbase 0x000000010feb02a1 dtdkexecuteinsession + 121 13 dtdevicekitbase 0x000000010febe108 __48-[dtdkremotedeviceconnection futurewithsession:]_block_invoke_3 + 117 14 dvtfoundation 0x00000001063fff4b __dvtdispatchasync_block_invoke + 827 15 libdispatch.dylib 0x00007fff99be593d _dispatch_call_block_and_release + 12 16 libdispatch.dylib 0x00007fff99bda40b _dispatch_client_callout + 8 17 libdispatch.dylib 0x00007fff99becbd7 _dispatch_async_redirect_invoke + 1733 18 libdispatch.dylib 0x00007fff99bda40b _dispatch_client_callout + 8 19 libdispatch.dylib 0x00007fff99bde29b _dispatch_root_queue_drain + 1890 20 libdispatch.dylib 0x00007fff99bddb00 _dispatch_worker_thread3 + 91 21 libsystem_pthread.dylib 0x00007fff9b5d94de _pthread_wqthread + 1129 22 libsystem_pthread.dylib 0x00007fff9b5d7341 start_wqthread + 13 ), nslocalizedrecoverysuggestion=too many instances of service running., nslocalizeddescription=too many instances of service running.}] 2016-09-13 14:51:32.918 xcodebuild[79689:2063388] error domain=idetestoperationsobservererrordomain code=5 "early unexpected exit, operation never finished bootstrapping - no restart attempted" userinfo={nslocalizeddescription=early unexpected exit, operation never finished bootstrapping - no restart attempted}
running tests in xcode did not succeed either. , fails errors described in these posts:
i've tried solutions suggested in posts (i.e. fix provisioning profile , code signing), did not help. has faced similar problems?
i trying find out if dtdevicekit
running on machine, did not. next suspicion running on phone.
after rebooting phone, works.
Comments
Post a Comment