Skip to content

Install certificate for Xcode Previews #1568

Open

Description

@auramagi

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.

Activity

  1. added this to the Proxyman 4.4.0 milestone on Mar 6, 2023
  2. self-assigned this
    on Mar 6, 2023
  3. NghiaTranUIT commented on Mar 6, 2023

    @NghiaTranUIT
    Member

    Thanks for the suggestion 🎉

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

  4. NghiaTranUIT commented on Mar 6, 2023

    @NghiaTranUIT
    Member
  5. auramagi commented on Mar 7, 2023

    @auramagi
    Author

    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 👍

  6. stodirascu commented on Dec 12, 2024

    @stodirascu

    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?

  7. NghiaTranUIT commented on Dec 12, 2024

    @NghiaTranUIT
    Member

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

    Screenshot 2024-12-12 at 5 50 59 PM
  8. stodirascu commented on Dec 12, 2024

    @stodirascu

    Ah 🤦
    Thanks man

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request✅ DoneTicket is addressed and fixed.

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions