我面临的问题是仅对某些设备执行clearpasscode命令。
我收到以下错误:
mdmd[608] <Warning>: MC|Attempting to perform MDM request: ClearPasscode
mdmd[608] <Warning>: MDM|Handling request type: ClearPasscode
keybagd[611] <Error>: 2ffad000 __handle_changepasscodewithescrow_block_invoke_1: oldpass=SECRET newpass=NULL no blob
keybagd[611] <Error>: 2ffad000 __handle_changepasscodewithescrow_block_invoke_1: Can't reset passcode with escrow bag: 0xffffffff
profiled[610] <Warning>: MC|Cannot clear passcode. Result: -1
mdmd[608] <Warning>: MDM|Command Status: Error
Error: NSError 0x1e57dec0:
Desc : The passcode cannot be cleared (-1)
US Desc: The passcode cannot be cleared (-1)
Domain : MCPasscodeErrorDomain
Code : 5013
Type : MCFatalError
Params : (
"<MCNumber: 0x1e5850a0>"
)
mdmd[608] <Warning>: MDM|Transaction completed. Status: 200
PS:该命令对某些设备执行正常。