Skip to content

Commit

Permalink
fix: [XCTest] stop observing pid
Browse files Browse the repository at this point in the history
> #31
  • Loading branch information
electricbubble committed May 29, 2022
1 parent a31cdff commit d712e72
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions device.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d712e72

Please sign in to comment.