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

String(contentsOfFile: filePath) failed : couldn’t be opened because you don’t have permission to view it. #19

Open
vassily-fr opened this issue Nov 19, 2021 · 0 comments

Comments

@vassily-fr
Copy link

Searching for abandoned resource strings…
cannot read file!!! : Error Domain=NSCocoaErrorDomain Code=257 "The file “xxxx” couldn’t be opened because you don’t have permission to view it." UserInfo={NSFilePath=/Users/myname/Documents/MyProject/Pods/xxxxxx.swift, NSUnderlyingError=0x7f8afd9f3e10 {Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"}}

I tryid every thing I could think of :
chmod X on AbandonString.swift
chmod -R 777 on project folder
and execute command with "sudo"

🤷‍♂️

Thanks for help.

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

1 participant