Cannot install App Lock payload for Safari or Calculator and Restrictions payload with camera disabled

Originator:taylor
Number:rdar://34606794 Date Originated:22-Sep-2017 05:14 PM
Status:Open Resolved:
Product:iOS + SDK Product Version:11.0
Classification:Serious Bug Reproducible:Always
 
Summary:
iOS returns an error when attempting to install the following profiles together:

1. A profile with an app lock payload specifying either safari or calculator. Other 3rd party apps, such as AfterLight do not produce the error.
2. A profile with a restrictions payload disabling the camera.

iOS returns with an error when trying to install the restrictions payload.

Steps to Reproduce:
1. Install the single app lock profile.
2. Install the restrictions profile.

Expected Results:
Both profiles should install without error. 

Actual Results:
iOS returns an error when installing the restrictions profile. Chain:

[
 [0] {
                "ErrorCode" => 4001,
              "ErrorDomain" => "MCInstallationErrorDomain",
     "LocalizedDescription" => "Profile Installation Failed",
     "USEnglishDescription" => "Profile Installation Failed"
 },
 [1] {
                "ErrorCode" => 4001,
              "ErrorDomain" => "MCInstallationErrorDomain",
     "LocalizedDescription" => "Profile Failed to Install",
     "USEnglishDescription" => "Profile Failed to Install"
 },
 [2] {
                "ErrorCode" => 1009,
              "ErrorDomain" => "MCProfileErrorDomain",
     "LocalizedDescription" => "The profile “Restrictions: Supervised Devices Group Restrictions (migrated)” could not be installed.",
     "USEnglishDescription" => "The profile “Restrictions: Supervised Devices Group Restrictions (migrated)” could not be installed."
 },
 [3] {
                "ErrorCode" => 4001,
              "ErrorDomain" => "MCInstallationErrorDomain",
     "LocalizedDescription" => "The payload “cf99b08b4ba943c598d5c89b015e7d8c” could not be installed.",
     "USEnglishDescription" => "The payload “cf99b08b4ba943c598d5c89b015e7d8c” could not be installed."
 },
 [4] {
                "ErrorCode" => 3004,
              "ErrorDomain" => "MCRestrictionsErrorDomain",
     "LocalizedDescription" => "The payload contains a restriction that conflicts with an installed Single App Mode payload.",
     "USEnglishDescription" => "The payload contains a restriction that conflicts with an installed Single App Mode payload."
 }
]


Version:
11.0

Notes:
Additionally, iOS returns an error if trying to install the restrictions profile immediately after deleting the app lock profile (within a second or two).

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!