2012-09-25 17 views
5

पृष्ठभूमि:"App लॉक" विन्यास प्रोफाइल सेटिंग (उर्फ "कियोस्क मोड") के साथ का उपयोग कर त्रुटि एक iPad/iOS6.0

एप्पल iOS6 का हिस्सा जो ताले के रूप में अपने iPad के लिए एक "कियोस्क मोड" प्रदान करता है डिवाइस एक एप्लिकेशन में (यहां तक ​​कि सीधे ऐप में भी बूट करता है)। खुदरा/रेस्तरां/आदि में आईपैड का उपयोग करने के लिए बढ़िया।

इसका उपयोग करने के लिए, डिवाइस को पहले ऐप्पल कॉन्फ़िगरेटर का उपयोग करके "पर्यवेक्षित" डिवाइस के रूप में सेट करना होगा। फिर आप "ऐप लॉक" नामक कॉन्फ़िगरेशन प्रोफ़ाइल में एक विशेष प्रविष्टि जोड़ते हैं। मैंने recently-updated configuration profile document का पालन किया। अनिवार्य रूप से, आपने बस 'com.apple.app.lock' के रूप में PayloadType सेट किया है और 'पहचानकर्ता' नामक एक संपत्ति जोड़ें जो आपके एप्लिकेशन के बंडल आईडी के मान पर सेट है।

जब मैं आईपैड में कॉन्फ़िगर प्रोफाइल जोड़ने की कोशिश करता हूं (चाहे सफारी लिंक, एमडीएम, या ऐप्पल कॉन्फ़िगरेटर के माध्यम से), तो यह इसे अस्वीकार कर देता है।

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, count = 1, 
    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; 
    } 
+1

यहां कॉन्फ़िगरेशन प्रोफ़ाइल है जिसका उपयोग मैं कर रहा हूं (व्यक्तिगत रूप से पहचानने वाली जानकारी के साथ): http://www.pastebin.com/srB9iqHY – looselycoupled

उत्तर

7

मैं इसे लगा आउट:

Xcode में कंसोल आउटपुट निम्नलिखित दिखाता है! मैं या तो इसे गलत तरीके से पढ़ रहा हूं या ऐप्पल ने configuration profile reference में थोड़ी सी जानकारी छोड़ी है। त्रुटि से बचने के लिए, "पहचानकर्ता"/बंडल आईडी कुंजी/मूल्य जोड़ी को एक शब्दकोश में लपेटा जाना चाहिए, स्वयं "ऐप" नामक कुंजी का मान होना चाहिए। नीचे देखें:

<?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> 
+0

क्या यह अभी भी आईओएस 8 के लिए आवेदन करता है? क्या यह आइपॉड टच डिवाइस पर भी काम कर सकता है? –

0

हाँ अभी भी आईओएस 9.1

में काम कर रहे हैं और आप इस तरह के विकल्प जोड़ सकते हैं:

<?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>PayloadContent</key> 
<array> 
     <dict> 
     <key>App</key> 
     <dict> 
      <key>Identifier</key> 
      <string>bundle_identifier_of_the_app</string> 
      <key>Options</key> 
      <dict> 
      <key>DisableAutoLock</key> 
      <true/> 
      <key>DisableVolumeButtons</key> 
      <true/> 
      </dict> 
     </dict> 
     <key>PayloadType</key> 
     <string>###.#####.#####</string> 
     <key>PayloadIdentifier</key> 
     <string>com.klangerfinder.lockdown</string> 
     <key>PayloadUUID</key> 
     <string>######-######-#####-#####</string> 
     <key>PayloadVersion</key> 
     <integer>1</integer> 
     </dict> 
    </array> 
    <key>PayloadType</key> 
    <string>Configuration</string> 
    <key>PayloadDisplayName</key> 
    <string>AppLockDown</string> 
    <key>PayloadIdentifier</key> 
    <string>###.#####.#####</string> 
    <key>PayloadUUID</key> 
    <string>######-######-#####-#####</string> 
    <key>PayloadVersion</key> 
    <integer>1</integer> 
</dict> 
</plist> 

वहाँ वर्ष post's की बहुत हैं। यह और उपरोक्त वास्तविक कामकाजी लोग हैं !!!

 संबंधित मुद्दे

  • कोई संबंधित समस्या नहीं^_^