Reputation: 433
Tried to build the application to iOS device(any device iPhone X, XS, any OS like 12,13 beta) getting certificate issue.
want to build the app on ios 13 beta OS supported device and debug the issues. I am to build app on simulator. Automatic managing of certificates work fine on Xcode 10.2
should be able to install app on device from Xcode 11 beta for debugging.
Xcode 11 beta certificate issue
Upvotes: 5
Views: 7810
Reputation: 7459
Login to developer.apple.com :
Select provisioning profile which has certificate issue
Go to Edit profile
Select the correct certificate (For use in Xcode 11 or later)
Save & Download profile and try to import latest one.
That's it!
Upvotes: 3
Reputation: 1394
Xcode 11 has two new certificates called Apple (instead of iOS and Mac), by default Xcode tries to create the certificate based on your personal team which has a different prefix. I solved the problem by removing all those certs from KeyChain, then head to https://developer.apple.com/account/resources/certificates/add to create both Apple Development and Apple Distribution certificates, then clear the build and run again.
Upvotes: 3
Reputation: 535306
Xcode 11 certificates are in a new format. Looking at your screen shot, you seem to have a certificate mismatch: "iOS Developer" is the old format, but "Apple Development" is the new format. If you're going to continue using Automatic Signing, I would suggest deleting all certificates and provisioning profiles and starting over.
Upvotes: 5