Swift faz condição de que você esteja no Sumulator
#if targetEnvironment(simulator)
// your simulator code
#else
// your real device code
#endif
Crowded Chamois
#if targetEnvironment(simulator)
// your simulator code
#else
// your real device code
#endif