intellignt_idiot intellignt_idiot - 1 year ago 141
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 Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download