App installation failed: Could not write to the device

Kh_Shata picture Kh_Shata · Jun 23, 2015 · Viewed 57.1k times · Source

In Xcode 6.3, I got this error when trying to run an iOS project written in Swift on a real device.

App installation failed

could not write to the device.

I tried to clean the project and run again, but the same error occurs.

How can I fix this error?

Answer

PaulYin picture PaulYin · Jun 21, 2016

Deleting the app on the device and running the project again works for me.