Sujay
Sujay

Reputation: 2520

DTAssetProviderService could not start DTXConnection with Simulator

After updating to Xcode 7.3 I am not able to run my app in the iOS Simulator.

On every attempt I am getting the following error message:

DTAssetProviderService could not start DTXConnection with Simulator 'iPhone …'. Check the system log for errors.

I have checked the following Apple developer forums thread but didn't any provide any solution. Suddenly when I have cleaned & deleted the old app from the simulator and rebuilt, it works fine. This issue was not only for the first time.

Screenshot of quoted error message above.

Can anybody explain this issue in detail?

Mar 24 10:18:38 CoreSimulatorService[521] : com.apple.CoreSimulator.CoreSimulatorService 209.19 starting.
Mar 24 10:18:44 CoreSimulatorService[521] : Requested watch is is not available for pairing. Assuming it has the capability.
Mar 24 10:18:44 CoreSimulatorService[521] : Requested phone is is not available for pairing. Assuming it has the capability.
Mar 24 10:18:44 CoreSimulatorService[521] : Requested watch is is not available for pairing. Assuming it has the capability.
Mar 24 10:18:44 CoreSimulatorService[521] : Requested phone is is not available for pairing. Assuming it has the capability.
Mar 24 10:18:45 com.apple.dt.Xcode[455] : Requested watch is is not available for pairing. Assuming it has the capability.
Mar 24 10:18:45 com.apple.dt.Xcode[455] : Requested phone is is not available for pairing. Assuming it has the capability.
Mar 24 10:18:45 com.apple.dt.Xcode[455] : Requested watch is is not available for pairing. Assuming it has the capability.
Mar 24 10:18:45 com.apple.dt.Xcode[455] : Requested phone is is not available for pairing. Assuming it has the capability.
Mar 24 11:02:29 com.apple.iphonesimulator[712] : Requested watch is is not available for pairing. Assuming it has the capability.
Mar 24 11:02:29 com.apple.iphonesimulator[712] : Requested phone is is not available for pairing. Assuming it has the capability.
Mar 24 11:02:29 com.apple.iphonesimulator[712] : Requested watch is is not available for pairing. Assuming it has the capability.
Mar 24 11:02:29 com.apple.iphonesimulator[712] : Requested phone is is not available for pairing. Assuming it has the capability. Mar 24 11:02:31 CoreSimulatorService[521] : Could not register service com.apple.coreservices.lsuseractivity.simulatorsupport: Failed to lookup com.apple.coreservices.lsuseractivity.simulatorsupport: 0x44e

My guess for this issue: I am not sure but my guess is when I updated Xcode, the iOS version updated to 9.3 but the app was already installed in the iPhone 6 Plus simulator when the old version (9.2) was installed. Therefore when I tried to run the app with iOS 9.3 I was configured for iOS 9.2 only, and due to incompatibility it crashed.

Upvotes: 45

Views: 19387

Answers (9)

Jayesh Lathiya
Jayesh Lathiya

Reputation: 808

  1. Exit both Xcode and simulator
  2. Delete Derived data [Right click on finder and select "Go To Folder" Type ~/Library/Developer/Xcode/DerivedData/ in textbox. it will redirect you to DerivedData folder.
  3. Delete all folders inside it.
  4. Relaunch Xcode and Run your project again.

your issue will be solved.

Upvotes: 7

Uma Madhavi
Uma Madhavi

Reputation: 4917

For me quiting Xcode & Simulator(Reset) and restarting Mac Resolved.

Upvotes: 0

aleene
aleene

Reputation: 334

Killing the simulator and restarting it from Xcode helped me.

You are probably using macOS Sierra which breaks Xcode 7.3.1 (mac store version)

Use Xcode 8 beta or Xcode 7.3.1.dmg downloaded from the Mac Developer portal for a fix https://developer.apple.com/downloads

Direct link to Xcode 7.3.1: http://adcdownload.apple.com/Developer_Tools/Xcode_7.3.1/Xcode_7.3.1.dmg

Upvotes: 17

occasl
occasl

Reputation: 5454

For me, it was an issue with having WebSense installed by my IT department. It is known to inject libraries into other processes such as Simulator. Once removed, it was working again.

Upvotes: 0

user5421830
user5421830

Reputation:

Yes,It happens after upgrading to Xcode 7.3 and Probably when you run your project first time in a simulator.

Following are the solution 1) Try to reset the simulator 2) Terminate / Kill the simulator 3) Terminate / Kill the Xcode and run again.

Hope any of above 3 helps you.

Upvotes: 2

Santo
Santo

Reputation: 1651

I quit my Xcode and Simulator then opened my project and ran again, it worked for me. But I dont understand what kind of error and why it occured.

Upvotes: 9

Mo Iisa
Mo Iisa

Reputation: 504

Simply delete the old App from the simulator by going to: Hardware -> Home (Here, you will be returned to the home screen of the simulator). Now press and hold the old app icon on the simulated 'home' screen until all the apps start wobbling. Tap the cross and you will be asked to confirm the deletion.

Now build your app again and all should be fine.

Upvotes: 0

Amit Ajmera
Amit Ajmera

Reputation: 1467

Yes,It happens after upgrading to Xcode 7.3 and Probably You run first time in a simulator.

When you see this error, Just click "Ok" but Don't quit Simulator or Xcode,Simulator will continue with its process and you can see the progress bar. Let it finish first and then Run project again,You will able to make it run successfully.

Upvotes: 9

Ali
Ali

Reputation: 514

Can't believe for me it's solved by just restarting mac :O

Upvotes: 4

Related Questions