I'm trying to get previews in Xcode 15 however it always fails to load, showing the following issue:
I'm getting the following error in my AppDelegate:
could not find module 'Amplify' for target 'x86_64-apple-ios-simulator'; found: arm64-apple-ios-simulator,
I see plenty of issues online (not with Amplify) for an error the other way around i.e.
could not find module 'x' for target 'arm64'; found: 'x86_64'
but not my issue.
Has anyone ran into this issue before?
open XCode > -Your Main Target- > Build Active Architecture Only and set 'NO' to build on the all architectures.
Options:
YES - If set to yes, then Xcode will detect the device that is connected, and determine the architecture, and build on just that architecture alone.
NO - If set to no, then it will build on all the architectures.