Xcode-beta 26: WARNING: error = 3→(76) INVALID_PERSONA; It is undefined behavior to look up a container with a persona other than personal or data separated. Please adopt a persona first. Assuming personal.

Any idea what this message means? I assume it's coming from CloudKit, but the application seems to store and retrieve data properly.

Answered by Frameworks Engineer in 846567022

Thanks for the report, this is a known issue, you can safely ignore this error message.

I am trying to use shell command in a mac applicaiton,and I get this problem too.

WARNING: error = 3→(76) INVALID_PERSONA; It is undefined behavior to look up a container with a persona other than personal or data separated. Please adopt a persona first. Assuming personal. given persona = (<MCMUserIdentity: 0xa43020600; posixUser = (501|20|lipeng|/Users/lipeng), identifier = 501, personaType = unspecific, personaUniqueString = 7ED4227A-2D24-48F7-9226-9AA380CB840D, kernelPersonaID = 1001>)

Thanks for the report, this is a known issue, you can safely ignore this error message.

Xcode-beta 26: WARNING: error = 3→(76) INVALID_PERSONA; It is undefined behavior to look up a container with a persona other than personal or data separated. Please adopt a persona first. Assuming personal.
 
 
Q