JNYJ
JNYJ

Reputation: 525

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 :

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 /

Upvotes: 8

Views: 6569

Answers (3)

losiu
losiu

Reputation: 59

Agree with one of above, following solved my case.

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

Upvotes: 0

burningsun
burningsun

Reputation: 248

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

Upvotes: 9

Alex Bin Zhao
Alex Bin Zhao

Reputation: 406

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

Upvotes: 4

Related Questions