pointfreeco / swift-snapshot-testing

📸 Delightful Swift snapshot testing.

Home Page:https://www.pointfree.co/episodes/ep41-a-tour-of-snapshot-testing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"The file “...” couldn’t be opened because you don’t have permission to view it" after switching branch

IgorShevtshenko opened this issue · comments

I see that here is already opened issue on this topic but nobody provides solutions for this (re-record snapshot is not the option).

The problem

After I record snapshot being on 1 branch I am able to run assertSnapshot and access previously created snapshot file. But after I switch to another branch on same MacBook I receive error about "The file “...” couldn’t be opened because you don’t have permission to view it".

Yes deleting and recording again is working but this is not the solution