Virtualization entitlement

Hi,

I'm not sure if i encountered a bug, or if this is expected behavior, but i have a cli that makes use of com.apple.security.virtualization entitlement, building it and running it on my local machine works like a charm.

Building it on my local machine and running it on an another one results in the following error:

Failed to validate the virtual machine configuration. Error Domain=VZErrorDomain Code=2 "The process doesn’t have the “com.apple.security.virtualization” entitlement." UserInfo={NSLocalizedFailure=Invalid virtual machine configuration., NSLocalizedFailureReason=The process doesn’t have the “com.apple.security.virtualization” entitlement.}

But checking the entitlement, it's definitely there:

$ codesign -d --entitlements - ./cli
Executable=[...]/cli
[Dict]
  [Key] com.apple.security.virtualization
  [Value]
     [Bool] true

Please note that we do not yet have an Apple developer account

Thank you

Replies

Please note that we do not yet have an Apple developer account

Does that mean you’re signing ad hoc? Or using a Personal Team?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

At the time of posting the Apple developer account was being created. We now have an account, and are able to sign. Seems like not having that account was the issue