Vision Pro: Building for 'ios-simulator' instead of "build for ios"

On my project I have some libraries built for 'iOS' only. They work just fine for the App store and also for the Mac M1 build (Deisgned for Ipad).

I can't understand why I have this error with Apple Vision Pro (defined for iPad).

Building for 'iOS-simulator', but linking in object file (libxxx.a[arm64][24]) built for 'iOS'

Shouldn't Apple Vision Pro simulator use the same Mac M1 build process?

also I'm adding (and already reported in the Feedback app) that Apple Vision Pro (Rosetta) is not available in the simulator. Probably this will fix my issue since it's the only device not available for Rosetta.

I am experiencing the same issue. Have you found any solution for it?

Vision Pro: Building for 'ios-simulator' instead of "build for ios"
 
 
Q