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>

 


相關文章:

[iOS] get MDM settings from system dictionary in swift
http://stackoverflow.max-everyday.com/2018/01/ios-get-mdm-settings-from-system-dictionary-in-swift/

MDM推送設定值到 iOS device
http://stackoverflow.max-everyday.com/2017/09/mdm-settings-ios-device/

MDM推送App到 iOS device
http://stackoverflow.max-everyday.com/2017/09/mdm-install-app/

Sample iOS 行動裝置管理伺服器(MDM server)
http://stackoverflow.max-everyday.com/2017/09/ios-mdm-server/

相關文章

寫留言

你的電子郵件位址並不會被公開。 必要欄位標記為 *