Xcode Cannot generate model encryption key

hello,
When I used xcode to generate the model encryption key, an error was reported, the error was 'Failed to Generate Encryption Key and Sign in with you Apple ID in the Apple ID pane in System Preferences and retry '.But I have logged in my apple id in the system preferences, and this error still occurs.I reinstalled xcode and re-logged in to my apple id. This error still exists.

Xcode Version 12.4
macOS Catalina 10.15.7

thanks

Replies

This issue continues to occur with Xcode 13.3 beta (13E5086k) and macOS 12.2 (21D49).

This was an issue on the server side for key generation logic. It should be resolved now. It should work with any Xcode 13.0 on any macOS Monterey. Please file a bug report on https://feedbackassistant.apple.com if you are still facing the issue. Sorry about the inconvenience.

  • Confirmed, thanks!!

Add a Comment

Check your Program Roles in App Store Connect. https://developer.apple.com/support/roles/ I think 'Create keys' means model encryption key, it needs above 'admin' role.