Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get the snapshot PNGs? #216

Open
bill-florio opened this issue Jan 8, 2025 · 2 comments
Open

How to get the snapshot PNGs? #216

bill-florio opened this issue Jan 8, 2025 · 2 comments

Comments

@bill-florio
Copy link

Hi! Thanks for the nice job! I am a Prefire user and want to store snapshot PNGs. is there a way to get the file from .xcresult? thx!

@noahsmartin
Copy link
Member

Hey @bill-florio the snapshots are saved as an XCTAttachment so they can be viewed in Xcode's test result summary. I think they are in derived data somewhere, but I haven't been able to find them. We might need to add an additional step to write the images to a specific folder to get the behavior you're looking for. Unless there is some other Xcode command that will retrieve the images that I don't know about.

@bill-florio
Copy link
Author

Thx @noahsmartin !, I will keep both Prefire and SnapshotPreviews in the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants