Hi,
I recently moved from Intel to an M1 Mac. Now on M1 Mac with Xcode 14.1 on Ventura, stopping the simulator and rerunning no longer works.
First build and launch of the application to simulator works fine
However, stopping the running application (by pressing square button) does not immediately stop the app, instead within a minute or so, the app screen will turn black screen
Further build and launch post #2 will be stuck at "Launching <Project name>" and "Attaching <Project name> to <Simulator name>"
I will have to close and reopen the simulator in order to build and launch on simulator again.
More context in case they are related to the issue:
My application uses MetalKit and Cocoapods libraries.
For custom Cocoapods frameworks to build and run on simulator, I followed https://stackoverflow.com/a/70535420
One of the Cocoapod library's spec is below:
spec.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' } spec.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
My architecture build setting is attached below