我使用苹果公司的mdm并发现一个奇怪的问题。 这个iphone设备本来可以是mdm控件,它运行正常,但突然失控,看到xcode设备日志出现,"拒绝MDM Push字典,因为它没有正确的魔术字符串。" 这是怎么解决的?
Aug 1 08:03:04 iPhone6 apsd(PersistentConnection)[93] <Notice>: 2017-08-01 08:03:04 +0800 apsd[93]: <APSCourier: 0x155d12f70>: Received message for enabled topic 'com.apple.mgmt.External.69e3a6a4-4f53' with payload '{
aps = {
};
mdm = "5E73DE3E-ADE2-4955-B58C";
}' onInterface: WWAN for device token: YES with priority (null)
Aug 1 08:03:04 iPhone6 mdmd(libdispatch.dylib)[4508] <Notice>: Push token received.
Aug 1 08:03:04 iPhone6 mdmd(ApplePushService)[4508] <Notice>: Received push notification.
Aug 1 08:03:04 iPhone6 mdmd(ApplePushService)[4508] <Notice>: Rejecting MDM push dictionary because it does not have the right magic string.
&#13;
答案 0 :(得分:0)
你的推动魔法似乎不正确它应该几乎总是UUID
格式,仔细检查你发送的是正确的,或者显示你如何发送它的代码/获得它
来源:
https://media.blackhat.com/bh-us-11/Schuetz/BH_US_11_Schuetz_InsideAppleMDM_WP.pdf
The PushMagic token is a hexadecimal string, likely a simple random UUID (in UUID format).