2017-06-07 4 views
5

Wenn ich versuchte, die App in Simulatoren zu starten, habe ich Xcode 8.3.2 und Xcode 9 Beta 1 und mein Projekt lief in Xcode 8.3.2 . Ich habe die folgenden Fehler erhalten.Images.xcassets: Fehler: Konnte ein passendes Gerät für den Typ SimDeviceType nicht finden

Images.xcassets: error: Failed to find a suitable device for the type SimDeviceType : com.apple.dt.Xcode.IBSimDeviceType.iPad-2x with runtime SimRuntime : 10.3 (14E269) - com.apple.CoreSimulator.SimRuntime.iOS-10-3 
    Failure Reason: Failed to create SimDeviceSet at path /Users/Mac/Library/Developer/Xcode/UserData/IB Support/Simulator Devices. You'll want to check the logs in ~/Library/Logs/CoreSimulator to see why creating the SimDeviceSet failed. 
    Underlying Errors: 
     Description: Failed to initialize simulator device set. 
     Failure Reason: Failed to subscribe to notifications from CoreSimulatorService. 
     Underlying Errors: 
      Description: Error returned in reply to notification request: Connection invalid 
      Failure Reason: Software caused connection abort 
/* com.apple.actool.document.notices */ 
+0

Ich habe das gleiche Problem auf Xcode 8.3.3 - haben Sie eine funktionierende Lösung für dieses Problem gefunden? –

+0

@AkashThakkar ab sofort habe ich keine Lösung dafür bekommen. – Tuple

Antwort

1

Versuchen und Reinigen Sie das Projekt und dann ist das Run, was ich

tat

Goto Produkt> Sauber, dann laufen

8

ich diesen Fehler hatte und löste es, indem nur Simulator Öffnen der Xcode-Menü.

Xcode ->Open Developer Tool ->Simulator

Sobald der Simulator geöffnet war und gebootet, ich gereinigt und das Projekt wieder aufgebaut.

+0

Ich hatte das auch, stellte sich heraus, dass ich den Xcode 8-Simulator im Hintergrund geöffnet hatte, während ich Xcode 9.2 verwendete ... Das Schließen und Öffnen des richtigen reparierte es :) – hypercrypt

Verwandte Themen