Skip to content

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

@vassily-fr

Description

@vassily-fr

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions