After successfully running apps, so many times on my iPhone, I am getting this error again and again. Any solution?
Asked
Active
Viewed 4,879 times
2

Jakob Christensen
- 14,826
- 2
- 51
- 81

Kumar Utsav
- 2,761
- 4
- 24
- 38
-
1Make sure you selected device is `iPhone` under deployment info section. – Dharma Jul 05 '17 at 12:11
4 Answers
6
Try restarting your Xcode. It worked for me. Got this issue while working on Xcode 9.4 (Beta)

gaurish.salunke
- 1,059
- 10
- 18
2
Step 1: From Xcode top tool bar Click on Product->Scheme->New Scheme.
Step 2: Create new scheme by entering your scheme name.
Step 3: Set the current scheme as target scheme by clicking on Set The active scheme icon which is located just right to the stop button icon in xcode.
Step 4: Clean the solution and run it.

Krishnarjun Banoth
- 1,410
- 1
- 15
- 30
1
I have faced this issue in Xcode 10. It was a bug in XCode, I closed and reopened Xcode and it started working.
I've noticed this sort of thing many many times now with Xcode with other problems, its very frustrating for me.

M Murteza
- 1,629
- 15
- 10