I get the following error message whenever I try to create a real device (works fine when using the simulator, and I can create and install through TestFlight without any problems):
Unable to set "AppName"
The certificate used to sign "AppName" either expired or was revoked. An updated certificate is required to sign and install the application.
Everything worked fine, then this error began to appear, apparently for no reason. I tried the following fixes (several times and in different orders), but nothing worked:
- Mac reboot
- Restart xcode
- Reinstall Xcode
- Reinstall certificates and provisioning profiles (overwrite old ones and completely delete old ones)
- Delete and revoke old certificates and recreate and install them
- Settings β Accounts β View details β Download all
- Edit: Remove all expired certificates and replace with updated versions
- Removed all files related to application development, then cloned from git
I tried to create and run the application on another Mac, and it works fine, so there is definitely something wrong with my machine, but I have no idea what.
ios xcode
Tam
source share