9
votes

I have been trying to run the app to check the performance using Core Animation profiler in Xcode Instruments. Even though the device is online it shows up Device is offline.

I tried getting the work done as per the various suggestions provided here instruments-device-grayed-out. But nothing worked work apparently.

Could anybody suggest how do i get this working.

Specification: Xcode - 10.2 iOS - 12.2

Here is the screenshot.

enter image description here

2
Have you found a solution? I have the same issue. - Benjamin Wen
Yes, I got mine working with these steps 1. Quit Xcode 2. Unplug the iPhone/iPad 3. Start the Xcode and plug the device 4. Try running the core animation. If it still the same 5. Open a different project and run the core animation 6. Then come back and try with your Project - Pavan kumar C

2 Answers

7
votes

The following worked for me (some steps may be unnecessary):

  1. Quit Xcode
  2. Unplug iPhone
  3. Restart iPhone
  4. Start Xcode
  5. Plug in iPhone
  6. Profile
1
votes

In my case it turned out that my iPhone is not trusted my computer.

See my answer in this question: https://stackoverflow.com/a/60732605/3051096