How can i solve this problem (OS Error: A required privilege is not held by the client. errno = 1314)

Viewed 1690

When I am trying to import pub get to show me this error in my debug & output -

Cannot create link, path = 'C:\Users\ramja\AppData\Local\Pub\Cache\_temp\dir61e8dc93\ios\Classes\FLTPackageInfoPlugin.m' (OS Error: A required privilege is not held by the client.       
, errno = 1314)
Running "flutter pub get" in source_code...
pub get failed (66; , errno = 1314))

How can I solve this problem for anyone here?

My Flutter doctor said - No issue.

2 Answers

To solve this simply run vscode as Administrator

This question has an answer on https://stackoverflow.com/a/69735375/14952004.

I have switched ON developer mode in Windows settings (Settings -> Update & security -> For developers) . It worked for me.

You can try to activate developer mode on Windows settings.

Related