I'm trying to use the Assessment Configuration with the most recent changes introduced.
The entitlement that the app is using is:
com.apple.developer.edu-assessment-mode
If the entitlement is not correct, then the app won't start because the provisioning profile won't match.
Once the application tries to start a session I get the following error:
[16777:98639] [Core] Encountered error running activation: com.apple.assessment.assessmentMode.enable.
Error: NSError: Error Domain=NSCocoaErrorDomain Code=4097 "connection
to service named com.apple.assessmentagent"
UserInfo={NSDebugDescription=connection to service named com.apple.assessmentagent}
Desc : Couldn’t communicate with a helper application.
Sugg : Try your operation again. If that fails, quit and relaunch the application and try again.
Domain : NSCocoaErrorDomain
Code : 0x1001 (4097)
Extra info:
{
NSDebugDescription = "connection to service named com.apple.assessmentagent";
}
Error: Error Domain=AEAssessmentErrorDomain Code=1 "(null)" UserInfo={NSUnderlyingError=0x600003ef54d0 {Error Domain=AECCoreErrorDomain Code=101 "(null)" UserInfo={AEPolicySessionFailedToActivateSubsystems=(
"Error Domain=NSCocoaErrorDomain Code=4097 \"connection to service
named com.apple.assessmentagent\" UserInfo={NSDebugDescription=connection to service named com.apple.assessmentagent}"
)}}}
I've granted "Accessibility" permissions to the AEServer in System Preferences
The version of macOS that I'm using is macOS Monterey 12.4. The app minimum target macOS is macOS Catalina 10.15.4.