8

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 /

JNYJ
  • 515
  • 6
  • 14

3 Answers3

9

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

burningsun
  • 248
  • 1
  • 2
  • 11
  • if link some custom frameworks need do the same actions. – JNYJ Sep 18 '20 at 09:52
  • Thank you! Was stuck on this for days! Had VALID_ARCHS: empty but didn't realize I had to delete the entry completely. – atkayla Nov 09 '20 at 08:17
  • In XCode 12.4, I cannot delete either of the entry, only set its value to empty. Getting the error for device build and not the simulator. – pnk6 Apr 20 '21 at 23:06
4

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
Alex Bin Zhao
  • 398
  • 3
  • 11
0

Agree with one of above, following solved my case.

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

losiu
  • 39
  • 2