intellignt_idiot intellignt_idiot - 1 month ago 4
iOS Question

Xcode 8, unable to run the app on device, suddenly there is an error "An invalid key was encountered"

I was able to run the app on device yesterday, and when I tried today, it started giving this error (Picture attached).
I am able to run it on the simulator but not on the actual device.
I changed nothing nor deleted any certificates or provisioning profiles.
I have already tried cleaning the derived data.

How do I remove this error ?

enter image description here

Answer

After so many tries, the only way I managed to get rid of the error was by checking the Automatically Manage Signing option. For that I had to log in to my apple account.

Comments