From d712e7231b969b26cbbe841494ba3646c13e24bb Mon Sep 17 00:00:00 2001 From: electricbubble Date: Sun, 29 May 2022 16:07:56 +0800 Subject: [PATCH] fix: [XCTest] stop observing pid > https://github.com/electricbubble/gidevice/issues/31 --- device.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/device.go b/device.go index 0784172..e116bc7 100644 --- a/device.go +++ b/device.go @@ -742,9 +742,10 @@ func (d *device) XCTest(bundleID string, opts ...XCTestOption) (out <-chan strin return _out, cancelFunc, err } - if err = d.instruments.startObserving(pid); err != nil { - return _out, cancelFunc, err - } + // see https://github.com/electricbubble/gidevice/issues/31 + // if err = d.instruments.startObserving(pid); err != nil { + // return _out, cancelFunc, err + // } if DeviceVersion(version...) >= DeviceVersion(12, 0, 0) { err = xcTestManager1.authorizeTestSession(pid)