I am using FPC 3.2.3 with MacOs 11.6 and Xcode 13.0. I can compile and link apps for aarch64 and the app works on an IOS device. But not on a x86_64 IOS-Simulator. I get the error: "ld: building for iOS, but linking in object file built for iOS Simulator, file 'x86_64/units/x86_64-iphonesim/pp.o". I installed the cross compiler with the help of "fpcupdeluxe Release v2.2.0b". I've already tried all parameters and flags. Manual linking also didn't work.
I found a link here that has the same problem:
https://www.mail-archive.com/fpc-pascal@lists.freepascal.org/msg54836.htmlThx,
Lars