5

I am trying to solve a problem related to Xcode 12, building for iOS Simulator, but linking in an object file built for iOS, for architecture 'arm64'

As an experiment, I wanted to see if I could configure one of my frameworks to only build x86_64 for all cases.

Here is my config: xcode config You can see I have overridden the architectures to be x86_64 and I am excluding arm64. I am also only building active architectures only. There is no way that arm64 should ever be considered during a build.

And yet...

Here is the output of a build the very next moment. It's tons of source files that indicate they are still being compiled for arm64.

enter image description here

Can anyone explain this discrepancy? I am running the latest Xcode, 13.2.1, on a new M1 Max laptop.

esilver
  • 27,713
  • 23
  • 122
  • 168
  • Did you find any solution to this issue? – eavsteen May 17 '22 at 17:55
  • We were using a library that was not compiled for arm64. Once we received a version of this library that had arm64 support, I believe we were able to resolve this issue. – esilver May 18 '22 at 19:44

0 Answers0