1. 程式人生 > >ios mdm The app is not managed.

ios mdm The app is not managed.

如果你收到下面這個 Error, 代表你呼叫的順序錯誤。

解法:

請先在 queue 裡放入 “InstallCustomApp” command , 再放入 “ApplicationConfiguration” 即可。

iOS device 回傳的 Error:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>CommandUUID</key>
	<string>62f7a5be-a37c-4cd4-b58b-000a4e4496b4</string>
	<key>Settings</key>
	<array>
		<dict>
			<key>ErrorChain</key>
			<array>
				<dict>
					<key>ErrorCode</key>
					<integer>12038</integer>
					<key>ErrorDomain</key>
					<string>MCMDMErrorDomain</string>
					<key>LocalizedDescription</key>
					<string>App「your.app.id.here」不受管理。</string>
					<key>USEnglishDescription</key>
					<string>The app “your.app.id.here” is not managed.</string>
				</dict>
			</array>
			<key>Identifier</key>
			<string>tw.thinkingsoftware.geofence</string>
			<key>Item</key>
			<string>ApplicationConfiguration</string>
			<key>Status</key>
			<string>Error</string>
		</dict>
	</array>
	<key>Status</key>
	<string>Acknowledged</string>
	<key>UDID</key>
	<string>38c2840ff0be3ccff43299d2e06320485facb2f5</string>
</dict>
</plist>

相關文章: