Skip to content

Commit

Permalink
chore: left a comment for future work
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa authored Mar 28, 2024
1 parent 1a17e69 commit f82b9df
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/real-device.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,10 @@ export class RealDevice {
await this.devicectl.sendSignalToProcess(pids[0], 2);
} else {
instrumentService = await services.startInstrumentService(this.udid);

// The result of "runningProcesses" include `bundle_id` key in iOS 16+ (possibly a specific 16.x+)
// thus here may not be necessary to find a process with `CFBundleExecutable`
// after dropping older iOS version support.
const processes = await instrumentService.callChannel(
INSTRUMENT_CHANNEL.DEVICE_INFO,
'runningProcesses',
Expand Down

0 comments on commit f82b9df

Please sign in to comment.