简体   繁体   English

xcode 12:无法打开文件“app name”,因为您没有查看它的权限

[英]xcode 12: The file “app name” couldn't be opened because you don’t have permission to view it

Running my app with Xcode 12 and show this :使用 Xcode 12 运行我的应用程序并显示:

在此处输入图片说明

and now the old Xcode 11.3 is the same result.(before it is ok)现在旧的 Xcode 11.3 是相同的结果。(之前没问题)

why for this?为什么要这样做? thanks all.谢谢大家。

Tying:搭售:

---- 1 ---- 1

replace info.plist from create new project with the same name.用相同的名称从创建新项目中替换 info.plist。

/ the problem still exists. / 问题仍然存在。 / /

---- 2 delete values: ---- 2 删除值:

在此处输入图片说明

在此处输入图片说明

/ the problem still exists / / 问题依然存在 /

1.“Targets->Build Setting ->VALID_ARCHS”,点击键盘上的delete 2.“Targets->Build Setting ->Excluded Architectures”,点击键盘上的delete

How I fixed this issue in my case are 2 options:在我的情况下,我如何解决这个问题有两个选项:

  1. Updated BUILD SETTINGS > VALID_ARCHS with $(ARCHS_STANDARD)使用 $(ARCHS_STANDARD) 更新了 BUILD SETTINGS > VALID_ARCHS
  2. Completely delete SETTINGS > VALID_ARCHS entry完全删除 SETTINGS > VALID_ARCHS 条目

Agree with one of above, following solved my case.同意上述之一,以下解决了我的情况。

"Targets->Build Setting ->VALID_ARCHS ", delete it. “Targets->Build Setting ->VALID_ARCHS”,删除它。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Xcode 9.4无法打开文件“ my_app”,因为您没有查看权限 - Xcode 9.4 The file “my_app” couldn’t be opened because you don’t have permission to view it 文件“MyApp”无法打开,因为您无权查看错误(Xcode 11) - The file “MyApp” couldn’t be opened because you don’t have permission to view it error (Xcode 11) 文件“***.app”无法打开,因为您没有查看它的权限 - The file “***.app” couldn’t be opened because you don’t have permission to view it 文件 ”<appName> .app”无法打开,因为您没有查看它的权限 - The file “<appName>.app” couldn’t be opened because you don’t have permission to view it 由于您没有权限,因此无法打开文件 - File couldn't be opened because you don't have permission Xcode 6.1-无法打开笔尖,因为您无权查看它 - Xcode 6.1 - Nib couldn’t be opened because you don’t have permission to view it 无法检索文件,错误:由于您无权查看该文件,因此无法打开该文件 - Cannot retrieve file, error: The file couldn’t be opened because you don’t have permission to view it 由于您无权查看文件“ IMG_00001.MOV”,因此无法打开 - The file “IMG_00001.MOV” couldn’t be opened because you don’t have permission to view it 获取文件“xxx”无法打开,因为您在导入时没有查看它的权限 - Getting The file 'xxx" couldn't be opened because you don't have permission to view it when importing 无法打开文件“ ”,因为您没有查看它的权限 - The file “ ” couldn’t be opened because you don’t have permission to view it
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM