大佬教程收集整理的这篇文章主要介绍了使用带有iPad / iOS6.0的“App Lock”配置配置文件设置(也称为“kiosk模式”)时出错,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
Apple为iPad提供了“自助服务终端模式”,作为iOS6的一部分,将设备锁定在一个应用程序中(甚至可以直接引导到应用程序中).非常适合在零售/餐厅等使用iPad.
为了使用它,首先必须使用Apple Configurator将设备设置为“监督”设备.然后,您将一个特殊条目添加到名为“App Lock”的配置文件中.我遵循了recently-updated configuration profile document.实际上,您只需将PayloadType设置为’com.apple.app.lock’并添加一个名为’Identifier’的属性,该属性设置为应用程序的包ID的值.
当我尝试将配置文件添加到iPad时(无论是通过Safari链接,MDM还是Apple Configurator),它拒绝它.
Sep 24 17:51:56 Test-iPad mc_mobile_tunnel[487] <Notice>: (Note ) MDM: AttempTing to perform Supervised request: ProfileList Sep 24 17:51:56 Test-iPad installd[30] <Error>: 0x2ff9f000 filter_attributes: Info.plist keys requested via MobileInstallationLookup/Browse in client Apple Configurator (via mobile_installation_proxy) were not found in MobileInstallation's cache. Please file a bug requesTing that these keys be added: <CFBasicHash 0x1e58b0b0 [0x3d8f2100]>{type = mutable set,count = 1,entries => 2 : <CFString 0x3d8de564 [0x3d8f2100]>{Contents = "CFBundleSignature"} } Sep 24 17:51:57 Test-iPad mc_mobile_tunnel[492] <Notice>: (Error) MC: MCAppWhitelistPayload Can't parse payload: NSError: Desc : The payload “Test Profile” is invalid. Sugg : The field “App” is invalid. US Desc: The payload “Test Profile” is invalid. US Sugg: The field “App” is invalid. Domain : MCPayloadErrorDomain Code : 2000 Type : MCFatalError Params : ( "Test Profile" ) ...Underlying error: NSError: Desc : The field “App” is invalid. US Desc: The field “App” is invalid. Domain : MCPayloadErrorDomain Code : 2003 Type : MCFatalError Params : ( App ) Sep 24 17:51:57 Test-iPad mc_mobile_tunnel[492] <Notice>: (Error) MC: Payload “(null)” contains ignored fields. They are: <CFBasicHash 0x20819140 [0x3d8f2100]>{type = mutable Dict,entries => 1 : <CFString 0x1f527bd0 [0x3d8f2100]>{Contents = "Identifier"} = <CFString 0x1f527c10 [0x3d8f2100]>{Contents = "com.hubworks.myapp"} } Sep 24 17:51:57 Test-iPad mc_mobile_tunnel[492] <Notice>: (Error) MC: CAnnot create profile of type “com.apple.app.lock”. Error: NSError: Desc : The payload “Test Profile” is invalid. Sugg : The field “App” is invalid. US Desc: The payload “Test Profile” is invalid. US Sugg: The field “App” is invalid. Domain : MCPayloadErrorDomain Code : 2000 Type : MCFatalError Params : ( "Test Profile" ) ...Underlying error: NSError: Desc : The field “App” is invalid. US Desc: The field “App” is invalid. Domain : MCPayloadErrorDomain Code : 2003 Type : MCFatalError Params : ( App ) Sep 24 17:51:57 Test-iPad mc_mobile_tunnel[492] <Notice>: (Error) MC: Profile MCConfigurationProfile 0x1f526100,version 1: Display Name: “Test Profile” Identifier : home-mACBook-air.local.2A8DC5A2-937E-4246-B2AF-7C756C30C447 UUID : E06A5B33-9CD3-40CB-8611-0479E642B427 Is stub : No Locked : No Encrypted : No Trusted : 2 Signed : Yes Signed by : Apple Configurator (58:55:CA:F7:24:B9) Can't parse profile: NSError: Desc : The profile “Test Profile” is invalid. Sugg : The payload “Test Profile” is invalid. US Desc: The profile “Test Profile” is invalid. US Sugg: The payload “Test Profile” is invalid. Domain : MCProfileErrorDomain Code : 1000 Type : MCFatalError Params : ( "Test Profile" ) ...Underlying error: NSError: Desc : The payload “Test Profile” is invalid. Sugg : The field “App” is invalid. US Desc: The payload “Test Profile” is invalid. US Sugg: The field “App” is invalid. Domain : MCPayloadErrorDomain Code : 2000 Type : MCFatalError Params : ( "Test Profile" ) ...Underlying error: NSError: Desc : The field “App” is invalid. US Desc: The field “App” is invalid. Domain : MCPayloadErrorDomain Code : 2003 Type : MCFatalError Params : ( App ) Extra info: { isPriMary = 1; } Sep 24 17:51:57 Test-iPad mc_mobile_tunnel[492] <Notice>: (Error) MC: Failed to parse profile data. Error: NSError: Desc : The profile “Test Profile” is invalid. Sugg : The payload “Test Profile” is invalid. US Desc: The profile “Test Profile” is invalid. US Sugg: The payload “Test Profile” is invalid. Domain : MCProfileErrorDomain Code : 1000 Type : MCFatalError Params : ( "Test Profile" ) ...Underlying error: NSError: Desc : The payload “Test Profile” is invalid. Sugg : The field “App” is invalid. US Desc: The payload “Test Profile” is invalid. US Sugg: The field “App” is invalid. Domain : MCPayloadErrorDomain Code : 2000 Type : MCFatalError Params : ( "Test Profile" ) ...Underlying error: NSError: Desc : The field “App” is invalid. US Desc: The field “App” is invalid. Domain : MCPayloadErrorDomain Code : 2003 Type : MCFatalError Params : ( App ) Extra info: { isPriMary = 1; }
<?xml version="1.0"?> <plist version="1.0"> <Dict> <key>PayloadContent</key> <array> <Dict> <key>App</key> <Dict> <key>Identifier</key> <String>bundle_identifier_of_the_app</String> </Dict> <key>PayloadType</key> <String>com.apple.app.lock</String> <key>PayloadIdentifier</key> <String>#######-#######-#######-######</String> <key>PayloadUUID</key> <String>#######-#######-#######-######</String> <key>PayloadVersion</key> <Integer>#</Integer> </Dict> </array> <key>PayloadType</key> <String>Configuration</String> <key>PayloadDisplayName</key> <String>##########</String> <key>PayloadIdentifier</key> <String>######-#####-######-#####</String> <key>PayloadUUID</key> <String>######-######-#####-#####</String> <key>PayloadVersion</key> <Integer>#</Integer> </Dict> </plist>
以上是大佬教程为你收集整理的使用带有iPad / iOS6.0的“App Lock”配置配置文件设置(也称为“kiosk模式”)时出错全部内容,希望文章能够帮你解决使用带有iPad / iOS6.0的“App Lock”配置配置文件设置(也称为“kiosk模式”)时出错所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。