Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add timestamp to track when simulator is detected.
  • Loading branch information
freakboy3742 committed Dec 4, 2024
commit 68253aac4e8aae6fc0954e475031a383c4d0f31e
3 changes: 2 additions & 1 deletion iOS/testbed/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ async def find_device(initial_devices):
await asyncio.sleep(1)
elif len(new_devices) == 1:
udid = new_devices.pop()
print(f"Test simulator UDID: {udid}")
print(f"{datetime.now():%Y%m%d %H%M%S}: New test simulator detected")
print(f"UDID: {udid}")
return udid
else:
exit(f"Found more than one new device: {new_devices}")
Expand Down