Unity 解决VSCode无代码提示
- Go to settings. (Preferences -> Settings on Mac)
- Search "omnisharp".
- Find the section "Omnisharp: Use Global Mono".
- Set it to "always".
- Reload the window / Or select "Restart".
打开文件权限出错
出现下面类似的提示信息
Error Domain=NSCocoaErrorDomain Code=257
"The file “xxx” couldn’t be opened because you don’t have permission to view it."
UserInfo={NSUserStringVariant=(
Folder
), NSURL=file:///xxxx, NSFilePath=/xxxx,
NSUnderlyingError=0x600000c8d470
{Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}
}
解决方法:把 entitlements 文件里的 App Sandbox 改成 NO