ProxymanApp / Proxyman

Modern. Native. Delightful Web Debugging Proxy for macOS, iOS, and Android ⚡️
https://proxyman.io
5.49k stars 180 forks source link

Cannot find iOS booted simulators on Xcode 15.0.1 #1827

Open lechuckcaptain opened 10 months ago

lechuckcaptain commented 10 months ago

Description

It seems that the procedure to install Proxyman Certificate on iOS simulator cannot find booted iOS simulators on Xcode 15.0.1. If I use simulators of Xcode 15.0.0 everything is OK.

Steps to Reproduce

  1. Open the tool to install Proxyman Certificate on iOS simulators
  2. Boot one or more Xcode 15.0.1 iOS simulators

Current Behavior

No booted simulators found

Expected Behavior

One or more booted simulators

Environment

NghiaTranUIT commented 10 months ago

Can you open Xcode Setting and verify the Command Line Tool is selecting your Xcode 15?

Proxyman is relied on simctl to check the booted device. May you run this on the Terminal app?

xcrun simctl list devices

CleanShot 2023-10-25 at 20 48 16@2x

lechuckcaptain commented 10 months ago

Sure, apparently something is not working properly, from terminal I can correctly see the booted iOS simulators 🤔

image
lechuckcaptain commented 10 months ago

Not sure if it's helpful but as you can see both iOS 17.0.0 and iOS 17.0.1 gets displayed as iOS 17.0 in the output

image
NghiaTranUIT commented 10 months ago

Thanks. Let me download Xcode 15.0.1 and try to reproduce it.

I tested it again and it works with Xcode 15.0

CleanShot 2023-10-25 at 20 59 14@2x


  1. Can you Reset your iPhone Simulator and start iOS 17.0 ?
  2. To workaround, you can simply open Proxyman app -> Certificate menu -> Export -> DER file -> Drag & drop the file to the Simulator -> Open Setting app -> General -> Trust Setting -> Enable the certificate.
Vkt0r commented 10 months ago

Thanks @NghiaTranUIT, For your answer, here https://github.com/ProxymanApp/Proxyman/issues/1827#issuecomment-1779322084. As someone with several Xcode versions installed I was using Xcode 15.0 and the command line tools installed and checked was for Xcode 15.0.1. Changing it to Xcode 15.0 solved the issue.

NghiaTranUIT commented 10 months ago

Thanks @Vkt0r 🙇

@lechuckcaptain can you give it a try. I hope it fixes your issue 👍

lechuckcaptain commented 10 months ago

Sure, as I said in the first comment, switching back to Xcode 15.0.0 everything is OK. Let me clarify, the issue is not blocking (at least not for me), I was just raising a flag that probably it's worth taking a look at the new 15.0.1 version since it seems to not working properly together with Proxyman.