Posts

Post not yet marked as solved
4 Replies
11k Views
I get the following error message whenever I try to build to an actual device (works fine when using the simulator, and I can build to and install via TestFlight without issue):Unable to install "AppName"The certificate used to sign "AppName" has either expired or has been revoked. An updated certificate is required to sign and install the application.Everything was working fine, then this error started appearing for seemingly no reason. I have tried the following fixes (multiple times, and in varying orders), but nothing has worked:Restart MacRestart XcodeRe-install XcodeRe-install certificates & provisioning profiles (overwriting old ones, and completely deleting old ones)Delete & Revoke old certificates & re-create and install themPreferences -> Accounts -> View Details -> Download AllRemoved all expired certificates & replaced with updated versionsDeleted all files related to app development, then cloned fresh from gitI've tried building & running the app on a different Mac and it works fine, so it's definitely something wrong with my machine but I have no idea what.Originally asked on StackOverflow.
Posted
by EtherDev.
Last updated
.