Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

ios

xcode12

Running my app with Xcode 12 and show this :

enter image description here

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:

enter image description here

enter image description here

/ the problem still exists /

like image 352
JNYJ Avatar asked Sep 18 '20 03:09

JNYJ


2 Answers

1."Targets->Build Setting ->VALID_ARCHS ", Click delete on the keyboard 2."Targets->Build Setting ->Excluded Architectures", Click delete on the keyboard

like image 197
burningsun Avatar answered Sep 22 '22 12:09

burningsun


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
like image 44
Alex Bin Zhao Avatar answered Sep 23 '22 12:09

Alex Bin Zhao