Reputation: 493
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.
Upvotes: 22
Views: 15331
Reputation: 607
If you Not reslove the problem as Jaysen Marais
said Reset and Restart Xcode.
You can try this way:
Open Instrument by Left Navigator - Memory
- Profile in Instruments
and a alert as blew, you should select Restart
, and then waiting reopen the Instrument.
Then all is OK for me.
Upvotes: -1
Reputation: 724
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
Upvotes: 1
Reputation: 4134
The following worked for me (some steps may be unnecessary):
Upvotes: 28