[GH-ISSUE #1568] Install certificate for Xcode Previews #1561

Open
opened 2026-03-03 19:52:26 +03:00 by kerem · 6 comments
Owner

Originally created by @auramagi on GitHub (Mar 6, 2023).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1568

Originally assigned to: @NghiaTranUIT on GitHub.

Description

Add ability to install root certificate for simulators that are used for Xcode Previews.

simctl tool supports having discrete sets of simulators. Xcode Previews use this feature to maintain a "previews" set of simulators. By using the set option we can select which simulator set gets used for a command.

We can use the following command to manually install the certificate while a live preview is shown:

xcrun simctl --set previews keychain booted add-root-cert path/to/Certificate.pem

Why this feature/change is important?

Inspecting traffic in Xcode Previews now requires some manual certificate juggling, but it would be better for Proxyman to support this in the UI.

Originally created by @auramagi on GitHub (Mar 6, 2023). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1568 Originally assigned to: @NghiaTranUIT on GitHub. ## Description <!-- A brieft of what feature/change? --> Add ability to install root certificate for simulators that are used for Xcode Previews. `simctl` tool supports having discrete sets of simulators. Xcode Previews use this feature to maintain a "previews" set of simulators. By using the `set` option we can select which simulator set gets used for a command. We can use the following command to manually install the certificate while a live preview is shown: ```sh xcrun simctl --set previews keychain booted add-root-cert path/to/Certificate.pem ``` ## Why this feature/change is important? <!-- Explain why Proxyman needs this feature/change? --> Inspecting traffic in Xcode Previews now requires some manual certificate juggling, but it would be better for Proxyman to support this in the UI.
Author
Owner

@NghiaTranUIT commented on GitHub (Mar 6, 2023):

Thanks for the suggestion 🎉

I would add the Xcode Previews into the iOS Simulator Setup Guide, under the Advance Cog button.

<!-- gh-comment-id:1456096850 --> @NghiaTranUIT commented on GitHub (Mar 6, 2023): Thanks for the suggestion 🎉 I would add the Xcode Previews into the iOS Simulator Setup Guide, under the Advance Cog button.
Author
Owner

@NghiaTranUIT commented on GitHub (Mar 6, 2023):

You can try this Beta build: https://download.proxyman.io/beta/Proxyman_4.3.1_Support_Install_to_Xcode_Preview.dmg

Screenshot 2023-03-06 at 21 28 41
<!-- gh-comment-id:1456241967 --> @NghiaTranUIT commented on GitHub (Mar 6, 2023): You can try this Beta build: https://download.proxyman.io/beta/Proxyman_4.3.1_Support_Install_to_Xcode_Preview.dmg <img width="881" alt="Screenshot 2023-03-06 at 21 28 41" src="https://user-images.githubusercontent.com/5878421/223138574-ca1b9aee-892d-4ea1-84f5-7893554ebf30.png">
Author
Owner

@auramagi commented on GitHub (Mar 7, 2023):

You can try this Beta build

It seems to work great. I think a cog button is a reasonable place to put this feature.

Really impressed by the fast issue turnaround 👍

<!-- gh-comment-id:1457399817 --> @auramagi commented on GitHub (Mar 7, 2023): > You can try this Beta build It seems to work great. I think a cog button is a reasonable place to put this feature. Really impressed by the fast issue turnaround 👍
Author
Owner

@stodirascu commented on GitHub (Dec 12, 2024):

Hi. I no longer see the cog in the mentioned dialog. Nor does the above command work. @NghiaTranUIT any news on how to make networking work in Xcode Previews?

<!-- gh-comment-id:2538535663 --> @stodirascu commented on GitHub (Dec 12, 2024): Hi. I no longer see the cog in the mentioned dialog. Nor does the above command work. @NghiaTranUIT any news on how to make networking work in Xcode Previews?
Author
Owner

@NghiaTranUIT commented on GitHub (Dec 12, 2024):

It's in the Down Arrow, next to the button 👍

Screenshot 2024-12-12 at 5 50 59 PM
<!-- gh-comment-id:2538538346 --> @NghiaTranUIT commented on GitHub (Dec 12, 2024): It's in the Down Arrow, next to the button 👍 <img width="697" alt="Screenshot 2024-12-12 at 5 50 59 PM" src="https://github.com/user-attachments/assets/d81584be-0dd4-4371-aa81-ae5b517ebbe4" />
Author
Owner

@stodirascu commented on GitHub (Dec 12, 2024):

Ah 🤦
Thanks man

<!-- gh-comment-id:2538555665 --> @stodirascu commented on GitHub (Dec 12, 2024): Ah 🤦 Thanks man
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Proxyman#1561
No description provided.