简体   繁体   中英

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 :

在此处输入图片说明

and now the old Xcode 11.3 is the same result.(before it is ok)

why for this? thanks all.

Tying:

---- 1

replace info.plist from create new project with the same name.

/ the problem still exists. /

---- 2 delete values:

在此处输入图片说明

在此处输入图片说明

/ 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)
  2. Completely delete SETTINGS > VALID_ARCHS entry

Agree with one of above, following solved my case.

"Targets->Build Setting ->VALID_ARCHS ", delete it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM