When I tried to build and run, Xcode said my device was locked. I looked at my iPhone, and it\'s not locked at all. How do I fix this?
On your device (iPhone/iPad) goto: Settings -> Developer -> Clear Trusted Computers worked for me.