Xcode 12为模拟器构建并运行项目,但出现权限问题

问题描述

当我升级到Xcdoe 12并构建以前的应用程序项目时,然后在运行模拟器时出现错误,这似乎是权限问题。我也去File> Get Info了解错误内容,但是没有发现异常。

有什么想法吗?

======================

以下是错误内容

详细信息

The file “***” Couldn’t be opened because you don’t have permission to view it.
Domain: NSCocoaErrorDomain
Code: 257
Failure Reason: You don’t have permission.
Recovery Suggestion: To view or change permissions,select the item in the Finder and choose File > Get Info.
User Info: {
  NSFilePath = "/Users/momo/Library/Developer/Xcode/DerivedData/***-dxvphugocaepzfaicmcbykxrlgrt/Build/Products/Debug-iphonesimulator/***.app";
}
-

The operation Couldn’t be completed. Permission denied
Domain: NSPOSIXErrorDomain
Code: 13
Failure Reason: Permission denied

系统信息

macOS版本10.15.6(内部版本19G2021) Xcode 12.0.1(17220)

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)