1

Today when I run my flutter(2.2.x) project in XCode Version 12.5 (12E262), shows error:

Runner's architectures (armv7, arm64) include none that iPhone 11 can execute (Intel 64-bit).

this is the UI:

enter image description here

I have read this question and tried to fix this problem. But I found I did not have a VALID_ARCHS variable in Build Settings -> User-Defined -> VALID_ARCHS.

enter image description here

what should I do to fix this problem?

Dolphin
  • 29,069
  • 61
  • 260
  • 539

1 Answers1

3

I fixed it by updating Excluded Architectures in Project Runner

  • Project Runner
  • Build Settings > Architectures > Excluded Architectures

for some reason I have arm64. It works when I removed it.

surga
  • 1,436
  • 21
  • 25