XCode Device Simulator App crash on startup

My project is ready to submit to the Appstore. The only remaining thing to do is to take the preview and screenshots for the apps page. So I needed XCode's device simulator to capture them in all the necessary resolutions.

The thing is that whenever I launch a simulator the device loads properly but the app is not able to start and crashes.

I am using:

XCode Version 13.4.1

Pods:

  • platform :ios, '11.0'

target 'UnityFramework' do

  •  -pod 'Firebase/Analytics', '9.1.0'
  •  -pod 'Firebase/Auth', '9.1.0'
  •  -pod 'Firebase/Core', '9.1.0'
  •  -pod 'Firebase/Database', '9.1.0'

Unity 2020.3.21f

Device: iPad/iPhone all models, with iOS 15.5 or 14.4

Searching the App's name in the crash log I managed to find the following:

Aug 17 11:36:36 MacBookPro com.apple.CoreSimulator.SimDevice.748A67FC-4467-40CC-857E-AD8634D4AE9E[2055] (com.apple.xpc.launchd.domain.pid.AppName.2230): Failed to bootstrap path: path = /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 14.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit, error = 2: No such file or directory Aug 17 11:36:36 MacBookPro com.apple.CoreSimulator.SimDevice.748A67FC-4467-40CC-857E-AD8634D4AE9E[2055] (com.apple.xpc.launchd.domain.pid.AppName.2230): Failed to bootstrap path: path = /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 14.4.simruntime/Contents/Resources/RuntimeRoot/usr/lib/dyld_sim, error = 2: No such file or directory

Not sure if it helps though

XCode Device Simulator App crash on startup
 
 
Q