Skip to content

Instantly share code, notes, and snippets.

@dlevi309
Last active March 30, 2024 11:30
Show Gist options
  • Star 12 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save dlevi309/92c490de8dc0e2357fb2afceceb9703c to your computer and use it in GitHub Desktop.
Save dlevi309/92c490de8dc0e2357fb2afceceb9703c to your computer and use it in GitHub Desktop.
An extensive list of settings written when installing a debugging profile from developer.apple.com

Digital Car Key:

Has three sections.

defaults: {
    “com.apple.MobileBluetooth.debug” =     {
        ExtraZoningLog =         {
            EnableZoneLogging = 1;
        };
        FWStreamLogging =         {
            FWCoreDumpEnable = 1;
            FWStreamLoggingEnable = 1;
        };
        HCI =         {
            lmpRouting = 1;
        };
        HCITraces =         {
            StackDebugEnabled = 1;
        };
    };
}
defaults: {
    “com.apple.nearbyd” =     {
        roseEnableFirmwareLogs = 1;
        roseSaveCrashLogs = 1;
    };
}
defaults: {
    “com.apple.seserviced” =     {
        “debug.install.logging.applet” = 1;
        “debug.logging.profile.to.install” = Development;
    };
}

MediaPlayer logging:

defaults: {
    "com.apple.homesharing" =     {
        HSConsoleLoggingLevel = 7;
        HSLogFileLoggingLevel = 7;
        HSLogging = 1;
    };
    "com.apple.medialibrary" =     {
        MediaLibraryConsoleLoggingLevel = 7;
        MediaLibraryLogFileLoggingLevel = 7;
        MediaLibraryLogging = 1;
        MediaLibraryServiceConsoleLoggingLevel = 7;
        MediaLibraryServiceFileLogLoggingLevel = 7;
        MediaLibraryServiceLoggingEnabled = 1;
        MediaLibrarySyncDataConsoleLoggingLevel = 7;
        MediaLibrarySyncDataFileLogLoggingLevel = 7;
        MediaLibrarySyncDataLoggingEnabled = 1;
        MediaLibraryWriterConsoleLoggingLevel = 7;
        MediaLibraryWriterFileLogLoggingLevel = 7;
        MediaLibraryWriterLoggingEnabled = 1;
    };
    "com.apple.mediaremote" =     {
        MRConsoleLoggingLevel = 7;
        MRLogFileLoggingLevel = 7;
        MRLoggingEnabled = 1;
    };
    "com.apple.mobileipod" =     {
        "CMC-verboseLogging" = 1;
        MPCompleteMyCollectionConsoleLoggingLevel = 7;
        MPCompleteMyCollectionLogFileLoggingLevel = 7;
        MPLoggingDefaultLevelConsoleKey = 7;
        MPLoggingDefaultLevelLogFileKey = 7;
        MPMusicPlayerControllerConsoleLoggingLevel = 7;
        MPMusicPlayerControllerLogFileLoggingLevel = 7;
        MPPlaybackConsoleLoggingLevel = 7;
        MPPlaybackLogFileLoggingLevel = 7;
        MPPurchaseLoggingConsoleLoggingLevel = 7;
        MPPurchaseLoggingFileLogLoggingLevel = 7;
        MPTiltLoggingConsoleLoggingLevel = 7;
        MPTiltLoggingLogFileLoggingLevel = 7;
        MediaPlayerLogging = 1;
        MusicPlayerControllerLogging = 1;
        PlaybackLogging = 1;
        PurchaseLogging = 1;
        TiltLogging = 1;
    };
    "com.apple.videos" =     {
        AlternateTracksLogging = 1;
        MPAlternateTracksConsoleLoggingLevel = 7;
        MPAlternateTracksLogFileLoggingLevel = 7;
        MPRentalsConsoleLoggingLevel = 7;
        MPRentalsLogFileLoggingLevel = 7;
        RentalsLogging = 1;
    };
}

Siri Debug Logging (Alternative):

defaults: {
    "com.apple.assistant.logging" =     {
        AFLogLevel = 6;
        AFSpeechLoggingEnabled = 1;
    };
    "com.apple.voiceserviceslogging" =     {
        VSLogLevel = 7;
    };
    "com.apple.voicetrigger" =     {
        "Console Output Level" = 7;
        "File Logging Level" = 7;
    };
}

Performance Trace:

defaults: {
    “com.apple.control-center.PerformanceTraceModule” =     {
        SBIconVisibility = 1;
    };
}

5G_Preferred_Over_WiFi:

defaults: {
    “com.apple.symptoms” =     {
        “cosm_override_params” =         {
            force5GPreferred = 1;
        };
    };
}

SharePlayDevelopment:

defaults: {
    “com.apple.TelephonyUtilities” =     {
        sharePlayForceDisabled = 0;
    };
}

SetInstallAttributionPingbackDelay:

defaults: {
    “com.apple.appstored” =     {
        InstallAttributionPingbackDelay = 300;
        InstallAttributionShouldUseProxy = 0;
    };
}

iTunes Sync Diagnostics:

defaults: {
    “.GlobalPreferences” =     {
        DADiagnosticsEnabled = 1;
        DALogLevel = 6;
        DAOutputLevel = 6;
    };
}

Airtraffic:

defaults: {
    ".GlobalPreferences" =     {
        ATLogLevel = 7;
        ATOutputLevel = 7;
    };
}

Time Logging (2016):

defaults: {
    ".GlobalPreferences" =     {
        TMDataLoggingLevel = 7;
        TMEnableFileLogging = 1;
    };
}

iCloud Debug Logging:

defaults: {
    ".GlobalPreferences" =     {
        "com.apple.coredata.ubiquity.logLevel" = 3;
    };
    "com.apple.librariand" =     {
        LogLevel = 7;
    };
    "com.apple.mmcs" =     {
        DebugLevel = 4;
    };
    "com.apple.ubd" =     {
        logLevel = 7;
    };
}

iOSAirPodsProSeed:

defaults: {
    "com.apple.AUDeveloperSettings" =     {
        showAirPodsTestingPane = 1;
    };
}

AirPlayDiagnosticMode:

Internal profile, not meant to be shared publicly (lol).

defaults: {
    "com.ATS.ATSCompanion.ATSUtility" =     {
        AirPlayDiagnosticModeProfileInstalled = 1;
    };
    "com.apple.airplay" =     {
        carPlayDiagnosticModeEnabled = 1;
        publishEncryptionKeyDiagnosticModeEnabled = 1;
    };
}

Accessory Development:

it adds a whole new section in the settings app with different system-wide functions like enabling an "enhanced" version of Siri, WiFi MAC address randomization, and some select system overrides.

defaults: {
    ".GlobalPreferences" =     {
        AccessoryDeveloperEnabled = 1;
    };
}

Baseband:

defaults: {
    "com.apple.commcenter" =     {
        EnableBasebandLogging =         {
            History = 8;
            Profile = 1;
            Sleep = 0;
        };
        TelephonyLoggingPriority = 3;
        TelephonyLoggingVersion = 10;
    };
}

BatteryLife:

defaults: {
    ".GlobalPreferences" =     {
        DADiagnosticsEnabled = 1;
        DALogLevel = 6;
    };
    "com.apple.apsd" =     {
        APSLogLevel = 6;
        APSWriteLogs = 1;
    };
    "com.apple.persistentconnection" =     {
        PCWriteLogs = 1;
    };
    "com.apple.powerlogd" =     {
        FullMode = 1;
    };
}

CFNetworkDiagnostics:

defaults: {
    ".GlobalPreferences" =     {
        AppleCFNetworkDiagnosticLogging = 3;
    };
}

Calendar/Reminders:

defaults: {
    ".GlobalPreferences" =     {
        DADiagnosticsEnabled = 1;
        DALogLevel = 6;
        DAOutputLevel = 6;
    };
}

Carplay:

defaults: {
    "com.apple.GEO" =     {
        "LogLevel.AddressCorrection" = 7;
        "LogLevel.Autocomplete" = 7;
        "LogLevel.BatchReverseGeocode" = 7;
        "LogLevel.BusinessPortalBaseURL" = 7;
        "LogLevel.DeviceConnection" = 6;
        "LogLevel.Directions" = 7;
        "LogLevel.ETA" = 7;
        "LogLevel.ExperimentRequest" = 7;
        "LogLevel.LocationShift" = 7;
        "LogLevel.LogMessageUsageURL" = 7;
        "LogLevel.MapMatch" = 7;
        "LogLevel.PlaceDataLookup" = 7;
        "LogLevel.ProblemNotificationAvailability" = 7;
        "LogLevel.ProblemOptIn" = 7;
        "LogLevel.ProblemStatus" = 7;
        "LogLevel.ProblemSubmission" = 7;
        "LogLevel.ResourceManifest" = 7;
        "LogLevel.SimpleETA" = 7;
        "LogLevel.Usage" = 7;
    };
    "com.apple.MobileBluetooth.debug" =     {
        FWStreamLogging =         {
            FWCoreDumpEnable = 1;
            FWStreamLoggingEnable = 1;
        };
        HCITraces =         {
            StackDebugEnabled = 1;
        };
    };
    "com.apple.Preferences" =     {
        IAPLogging = 1;
    };
    "com.apple.UIKit" =     {
        UIStatusBarRadarTimeItemEnabled = 1;
    };
    "com.apple.assistant.logging" =     {
        AFLogLevel = 6;
        AFSpeechLoggingEnabled = 1;
    };
    "com.apple.coremedia" =     {
        "cmsession_trace" = 1;
        "endpointcentral_trace" = 1;
        "starkmode_trace" = 1;
    };
    "com.apple.iapd" =     {
        LogAttachEvents = 1;
        PrintIapPackets = 1;
    };
    "com.apple.iaptransportd" =     {
        AppleIDBusEventLogging = 1;
    };
    "com.apple.logging" =     {
        LogEAEvents = 1;
    };
    "com.apple.voiceservices.logging" =     {
        VSLogLevel = 7;
    };
    "com.apple.voicetrigger" =     {
        "Console Output Level" = 7;
        "File Logging Level" = 7;
    };
}

ClassroomDebug:

defaults: {
    ".GlobalPreferences" =     {
        CRKLogLevel = 7;
        LKLogLevel = 7;
    };
}

DataAccess:

defaults: {
    ".GlobalPreferences" =     {
        DADiagnosticsEnabled = 1;
        DALogLevel = 6;
        DAOutputLevel = 6;
    };
}

FSMetadata:

defaults: {
    "com.apple.Preferences" =     {
        FilesystemMetadataSnapshotEnabled = 1;
    };
}

GSSDebugProfile:

defaults: {
    ".GlobalPreferences" =     {
        GSSDebugLevel = 10;
        KerberosDebugLevel = 10;
    };
}

LaunchHangDiagnostics / HangTracer:

defaults: {
    ".GlobalPreferences" =     {
        "HTProfile.HangTracerDuration" = 20000;
        "HTProfile.HangTracerEnableTailspin" = 1;
        "HTProfile.HangTracerEnabled" = 1;
        "HTProfile.HangTracerHangTimeoutDuration" = 20000;
        "HTProfile.HangTracerIncludeDiskInfo" = 1;
        "HTProfile.HangTracerKeepTailspinsWithFormat" = compressed;
        "HTProfile.HangTracerPercentFullSpinReports" = 100;
        "HTProfile.HangTracerSavedTailspinsMaxMB" = 20;
        "HTProfile.HangTracerShouldUploadToDiagPipe" = 0;
        "HTProfile.HangTracerSlowActLaunchTailspinThreshold" = 5000;
        "HTProfile.HangTracerSlowActTailspinsEnabled" = 1;
    };
    "com.apple.tailspin" =     {
        Enabled = 1;
    };
}

LocationAndMotion:

defaults: {
    "com.apple.locationd" =     {
        EnableRavenRecorder = 1;
        EnableVisionRecorder = 1;
        WriteRavenLogsToCrashReporterFolder = 1;
        WriteVisionLogsToCrashReporterFolder = 1;
    };
    gpsd =     {
        EnableInterfaceTelemetry = 1;
        EnableProtobufBinaryLog = 1;
        LogLevel = 6;
        ProtobufLogDirectory = "/var/mobile/Library/Logs/CrashReporter";
        VendorLogDirectory = "/var/mobile/Library/Logs/CrashReporter";
        VendorLogMaxDirectorySizeMB = 500;
    };
}

defaults: {
    "com.apple.commcenter" =     {
        AllowTelephonyLoggingUI = 1;
        EnableBasebandLogging =         {
            History = 12;
            Profile = 2;
            Sleep = 0;
        };
        EnableTelephonyLogging = 1;
    };
}

ManagedConfiguration:

defaults: {
    ".GlobalPreferences" =     {
        MCLogLevel = 7;
        MCOutputLevel = 7;
    };
}

MegaWifiProfile:

defaults: {
    "com.apple.IPConfiguration.control" =     {
        Verbose = 1;
    };
    "com.apple.IPMonitor.control" =     {
        Verbose = 1;
    };
    "com.apple.MobileWiFi.debug" =     {
        WiFiManagerLoggingEnabled = true;
    };
    "com.apple.captive.control" =     {
        Verbose = 1;
    };
    "com.apple.corecapture.configure" =     {
        CoreCaptureConfig =         {
            CCConfigurePipe =             {
                "com.apple.driver.ACIWiFiDriver" =                 {
                    DatapathEvents =                     {
                        Policy = 1;
                    };
                    DriverLogs =                     {
                        Policy = 1;
                    };
                    FirmwareLogs =                     {
                        Policy = 1;
                    };
                };
                "com.apple.driver.AppleBCMWLANCoreV2.0" =                 {
                    DatapathEvents =                     {
                        Policy = 1;
                    };
                    DriverLogs =                     {
                        Policy = 1;
                    };
                    FirmwareBusLogs =                     {
                        Policy = 1;
                    };
                    FirmwareLogs =                     {
                        Policy = 1;
                    };
                };
                "com.apple.driver.AppleBCMWLANCoreV3.0" =                 {
                    DatapathEvents =                     {
                        Policy = 1;
                    };
                    DriverLogs =                     {
                        Policy = 1;
                    };
                    FirmwareBusLogs =                     {
                        Policy = 1;
                    };
                    FirmwareEcounterLogs =                     {
                        Policy = 1;
                    };
                    FirmwareLogs =                     {
                        Policy = 1;
                    };
                    TimeSyncEngineMessages =                     {
                        Policy = 1;
                    };
                };
                "com.apple.iokit.IO80211Family" =                 {
                    IO80211AWDLPeerManager =                     {
                        Policy = 1;
                    };
                    OneStats =                     {
                        Policy = 1;
                    };
                };
            };
            CCConfigureStream =             {
                "com.apple.driver.ACIWiFiDriver" =                 {
                    DatapathEvents =                     {
                        Commander =                         {
                            CoreCapture =                             {
                                LogFlags = 3;
                            };
                        };
                        RxEvents =                         {
                            CoreCapture =                             {
                                LogFlags = 0;
                            };
                        };
                        RxManagement =                         {
                            CoreCapture =                             {
                                LogFlags = 0;
                            };
                        };
                        RxStats =                         {
                            CoreCapture =                             {
                                LogFlags = 0;
                            };
                        };
                        "bpf_tap_in" =                         {
                            CoreCapture =                             {
                                LogFlags = 37795716399104;
                            };
                        };
                        "bpf_tap_in_awdl0" =                         {
                            CoreCapture =                             {
                                LogFlags = 351617645098215952;
                            };
                        };
                        drainrxdatawio =                         {
                            CoreCapture =                             {
                                LogFlags = 3;
                            };
                        };
                        filltxfdatawio =                         {
                            CoreCapture =                             {
                                LogFlags = 3;
                            };
                        };
                        interfacequeue =                         {
                            CoreCapture =                             {
                                LogFlags = 1;
                            };
                        };
                        "interfacequeue_awdl0" =                         {
                            CoreCapture =                             {
                                LogFlags = 1;
                            };
                        };
                        networkfamilystack =                         {
                            CoreCapture =                             {
                                LogFlags = 0;
                            };
                        };
                        "networkfamilystack_awdl0" =                         {
                            CoreCapture =                             {
                                LogFlags = 0;
                            };
                        };
                        peerinput =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        "peerinput_awdl0" =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        peerqueue =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        "peerqueue_awdl0" =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                    };
                    DriverLogs =                     {
                        IO80211Logger =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = 1;
                            };
                            CoreCapture =                             {
                                LogFlags = 8388608;
                                LogLevel = 5;
                            };
                        };
                        "IO80211Logger_awdl0" =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = 1;
                            };
                            CoreCapture =                             {
                                LogFlags = 146042519552;
                                LogLevel = 5;
                            };
                        };
                        loggerstream =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = 2;
                            };
                            CoreCapture =                             {
                                LogFlags = 4718933;
                                LogLevel = 5;
                            };
                        };
                    };
                    FirmwareLogs =                     {
                        debugQueueStream =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = "-1";
                            };
                            CoreCapture =                             {
                                LogFlags = "-1";
                                LogLevel = 127;
                            };
                        };
                    };
                };
                "com.apple.driver.AppleBCMWLANCoreV2.0" =                 {
                    DatapathEvents =                     {
                        "bpf_tap_in" =                         {
                            CoreCapture =                             {
                                LogFlags = 37796253270038;
                            };
                        };
                        "bpf_tap_in_ap1" =                         {
                            CoreCapture =                             {
                                LogFlags = 37796253270016;
                            };
                        };
                        "bpf_tap_in_awdl0" =                         {
                            CoreCapture =                             {
                                LogFlags = 27358469243185680;
                            };
                        };
                        bulkread =                         {
                            CoreCapture =                             {
                                LogFlags = 11;
                            };
                        };
                        bulkwrite =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        commander =                         {
                            CoreCapture =                             {
                                LogFlags = 3;
                            };
                        };
                        credits0 =                         {
                            CoreCapture =                             {
                                LogFlags = 1;
                            };
                        };
                        events =                         {
                            CoreCapture =                             {
                                LogFlags = 1;
                            };
                        };
                        glomtransmitted =                         {
                            CoreCapture =                             {
                                LogFlags = 1;
                            };
                        };
                        interfacequeue =                         {
                            CoreCapture =                             {
                                LogFlags = 1;
                            };
                        };
                        "interfacequeue_ap1" =                         {
                            CoreCapture =                             {
                                LogFlags = 1;
                            };
                        };
                        "interfacequeue_awdl0" =                         {
                            CoreCapture =                             {
                                LogFlags = 1;
                            };
                        };
                        networkfamilystack =                         {
                            CoreCapture =                             {
                                LogFlags = 3;
                            };
                        };
                        "networkfamilystack_ap1" =                         {
                            CoreCapture =                             {
                                LogFlags = 3;
                            };
                        };
                        "networkfamilystack_awdl0" =                         {
                            CoreCapture =                             {
                                LogFlags = 3;
                            };
                        };
                        peerinput =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        "peerinput_ap1" =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        "peerinput_awdl0" =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        peerqueue =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        "peerqueue_ap1" =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        "peerqueue_awdl0" =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        requestiotxhsic =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        requestiotxsdio =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        rxpacket =                         {
                            CoreCapture =                             {
                                LogFlags = 3;
                            };
                        };
                    };
                    DriverLogs =                     {
                        IO80211Logger =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = 4;
                            };
                            CoreCapture =                             {
                                LogFlags = 137447342080;
                                LogLevel = 5;
                            };
                        };
                        "IO80211Logger_ap1" =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = 4;
                            };
                            CoreCapture =                             {
                                LogFlags = 0;
                                LogLevel = 5;
                            };
                        };
                        "IO80211Logger_awdl0" =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = 1;
                            };
                            CoreCapture =                             {
                                LogFlags = 146042519552;
                                LogLevel = 5;
                            };
                        };
                        loggerstream =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = 1;
                            };
                            CoreCapture =                             {
                                LogFlags = 33848193;
                                LogLevel = 5;
                            };
                        };
                    };
                    FirmwareLogs =                     {
                        "Chip_UART" =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = 0;
                            };
                            CoreCapture =                             {
                                LogFlags = 1;
                                LogLevel = 5;
                            };
                        };
                    };
                };
                "com.apple.driver.AppleBCMWLANCoreV3.0" =                 {
                    DatapathEvents =                     {
                        "bpf_tap_in" =                         {
                            CoreCapture =                             {
                                LogFlags = 37796253270038;
                            };
                        };
                        "bpf_tap_in_ap1" =                         {
                            CoreCapture =                             {
                                LogFlags = 37796253270016;
                            };
                        };
                        "bpf_tap_in_awdl0" =                         {
                            CoreCapture =                             {
                                LogFlags = 27358469243185680;
                            };
                        };
                        commander =                         {
                            CoreCapture =                             {
                                LogFlags = 3;
                            };
                        };
                        credits0 =                         {
                            CoreCapture =                             {
                                LogFlags = 1;
                            };
                        };
                        driverstatepcie =                         {
                            CoreCapture =                             {
                                LogFlags = 3;
                            };
                        };
                        events =                         {
                            CoreCapture =                             {
                                LogFlags = 1;
                            };
                        };
                        glomtransmitted =                         {
                            CoreCapture =                             {
                                LogFlags = 1;
                            };
                        };
                        interfacequeue =                         {
                            CoreCapture =                             {
                                LogFlags = 1;
                            };
                        };
                        "interfacequeue_ap1" =                         {
                            CoreCapture =                             {
                                LogFlags = 1;
                            };
                        };
                        "interfacequeue_awdl0" =                         {
                            CoreCapture =                             {
                                LogFlags = 1;
                            };
                        };
                        networkfamilystack =                         {
                            CoreCapture =                             {
                                LogFlags = 0;
                            };
                        };
                        "networkfamilystack_ap1" =                         {
                            CoreCapture =                             {
                                LogFlags = 0;
                            };
                        };
                        "networkfamilystack_awdl0" =                         {
                            CoreCapture =                             {
                                LogFlags = 0;
                            };
                        };
                        peerinput =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        "peerinput_ap1" =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        "peerinput_awdl0" =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        peerqueue =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        "peerqueue_ap1" =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        "peerqueue_awdl0" =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        requestiotxpcie =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        requestiotxsdio =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        rxpacket =                         {
                            CoreCapture =                             {
                                LogFlags = 3;
                            };
                        };
                        rxpacketpcie =                         {
                            CoreCapture =                             {
                                LogFlags = 3;
                            };
                        };
                    };
                    DriverLogs =                     {
                        IO80211Logger =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = 4;
                            };
                            CoreCapture =                             {
                                LogFlags = 137447342080;
                                LogLevel = 5;
                            };
                        };
                        "IO80211Logger_ap1" =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = 4;
                            };
                            CoreCapture =                             {
                                LogFlags = 0;
                                LogLevel = 5;
                            };
                        };
                        "IO80211Logger_awdl0" =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = 1;
                            };
                            CoreCapture =                             {
                                LogFlags = 146042519552;
                                LogLevel = 5;
                            };
                        };
                        loggerstream =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = 1;
                            };
                            CoreCapture =                             {
                                LogFlags = 33848193;
                                LogLevel = 5;
                            };
                        };
                    };
                    FirmwareBusLogs =                     {
                        "Firmware_Bus" =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = 0;
                            };
                            CoreCapture =                             {
                                LogFlags = 0;
                                LogLevel = 0;
                            };
                        };
                    };
                    FirmwareEcounterLogs =                     {
                        FirmwareEcounterLogs =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = 0;
                            };
                            CoreCapture =                             {
                                LogFlags = 0;
                                LogLevel = 0;
                            };
                        };
                    };
                    FirmwareLogs =                     {
                        "Chip_UART" =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = 0;
                            };
                            CoreCapture =                             {
                                LogFlags = 1;
                                LogLevel = 5;
                            };
                        };
                    };
                    TimeSyncEngineMessages =                     {
                        TimeSyncEngine =                         {
                            CoreCapture =                             {
                                LogFlags = 1;
                                LogLevel = 5;
                            };
                        };
                    };
                };
                "com.apple.iokit.IO80211Family" =                 {
                    ControlPath =                     {
                        "IO80211 Event Stream" =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = "-1";
                            };
                            CoreCapture =                             {
                                LogFlags = 4;
                                LogLevel = 5;
                            };
                        };
                        "IO80211 IOCTL Stream" =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = "-1";
                            };
                            CoreCapture =                             {
                                LogFlags = 3;
                                LogLevel = 5;
                            };
                        };
                    };
                    IO80211AWDLPeerManager =                     {
                        bpfIO80211Awdl =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = 1;
                            };
                            CoreCapture =                             {
                                LogFlags = 27358198660246032;
                                LogLevel = 5;
                            };
                        };
                    };
                    OneStats =                     {
                        "IO80211 IOReporter Stream" =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = 0;
                            };
                            CoreCapture =                             {
                                LogFlags = 1;
                                LogLevel = 0;
                            };
                        };
                    };
                };
            };
        };
    };
    "com.apple.eapol.control" =     {
        LogFlags = "-1";
    };
    "com.apple.wifi.ui" =     {
        ShowWiFiUI = true;
    };
    "com.apple.wifiFirmwareLoader" =     {
        LoggingEnabled = 1;
    };
}

PearlDiagnostics:

This profile was only available on-device in /Applications/DiagnosticsService.app/PlugIns/ PearlDiagnostics.appex/PearlDiagnostics.mobileconfig, likely because Apple only wanted FaceID related logging to be enabled remotely through a diagnostics session with AppleCare . As of iOS14, this was removed.

defaults: {
    "com.apple.biometrickitd" =     {
        PearlDiagnosticsProfileInstalled = 1;
    };
}

Photos_iOS:

defaults: {
    ".GlobalPreferences" =     {
        "com.apple.AOSKit.LogLevel" = 7;
    };
    "com.apple.accountsd" =     {
        logLevel = 7;
    };
}

SignificantLocations:

defaults: {
    ".GlobalPreferences" =     {
        FrequentLocationsDeveloperEnabled = 1;
    };
}

SiriDebugLogging:

defaults: {
    "com.apple.assistant.logging" =     {
        AFLogLevel = 6;
        AFSpeechLoggingEnabled = 1;
    };
    "com.apple.voiceserviceslogging" =     {
        VSLogLevel = 7;
    };
    "com.apple.voicetrigger" =     {
        "Console Output Level" = 7;
        "File Logging Level" = 7;
    };
}

Spotlight:

defaults: {
    ".GlobalPreferences" =     {
        CSLogDetailedActivity = 1;
        CSLogToConsole = 1;
        CSLogToFile = 1;
        SPLogLevel = 7;
        SPOutputLevel = 7;
        SearchParsecLoggingEnabledKey = 6;
    };
}

StreamLoggingWithConsent:

defaults: {
    "com.apple.coremedia" =     {
        "boss_trace" = 1;
        "cfbyteflume_trace" = 1;
        "crabs_trace" = 1;
        "fhttpchunk_trace" = 1;
        "fp_trace" = 2;
        logurls = 1;
        "playlist_trace" = 1;
        "stream_trace" = 1;
    };
}

TailspinProfile:

defaults: {
    "com.apple.tailspin" =     {
        Enabled = 1;
    };
}

TestFlightLoggingProfile:

defaults: {
    "com.apple.TestFlight" =     {
        DebugLogging = 1;
    };
}

TouchID:

defaults: {
    "com.apple.biometrickitd" =     {
        debugLogEnabled = 1;
        debugLogOSLogDisabled = 0;
    };
}

VPN:

defaults: {
    "com.apple.networkextension.control" =     {
        LogLevel = 6;
        LogToFile = 1;
    };
}

WiFiPerformanceDiagnostics:

Derived from an internal profile, similar to the MegaWiFiProfile, but with a bit more pizazz.

defaults: {
    "com.apple.IPConfiguration.control" =     {
        Verbose = 1;
    };
    "com.apple.IPMonitor.control" =     {
        Verbose = 1;
    };
    "com.apple.MobileWiFi.debug" =     {
        WiFiManagerLoggingEnabled = true;
    };
    "com.apple.captive.control" =     {
        Verbose = 1;
    };
    "com.apple.corecapture.configure" =     {
        CoreCaptureConfig =         {
            CCConfigurePipe =             {
                "com.apple.driver.ACIWiFiDriver" =                 {
                    DatapathEvents =                     {
                        Policy = 1;
                    };
                    DriverLogs =                     {
                        Policy = 1;
                    };
                    FirmwareLogs =                     {
                        Policy = 1;
                    };
                };
                "com.apple.driver.AppleBCMWLANCoreV2.0" =                 {
                    DatapathEvents =                     {
                        Policy = 1;
                    };
                    DriverLogs =                     {
                        Policy = 1;
                    };
                    FirmwareBusLogs =                     {
                        Policy = 1;
                    };
                    FirmwareLogs =                     {
                        Policy = 1;
                    };
                };
                "com.apple.driver.AppleBCMWLANCoreV3.0" =                 {
                    DatapathEvents =                     {
                        Policy = 1;
                    };
                    DriverLogs =                     {
                        Policy = 1;
                    };
                    FirmwareBusLogs =                     {
                        Policy = 1;
                    };
                    FirmwareEcounterLogs =                     {
                        Policy = 1;
                    };
                    FirmwareLogs =                     {
                        Policy = 1;
                    };
                    TimeSyncEngineMessages =                     {
                        Policy = 1;
                    };
                };
                "com.apple.iokit.IO80211Family" =                 {
                    IO80211AWDLPeerManager =                     {
                        Policy = 1;
                    };
                    OneStats =                     {
                        Policy = 1;
                    };
                };
            };
            CCConfigureStream =             {
                "com.apple.driver.ACIWiFiDriver" =                 {
                    DatapathEvents =                     {
                        Commander =                         {
                            CoreCapture =                             {
                                LogFlags = 3;
                            };
                        };
                        RxEvents =                         {
                            CoreCapture =                             {
                                LogFlags = 0;
                            };
                        };
                        RxManagement =                         {
                            CoreCapture =                             {
                                LogFlags = 0;
                            };
                        };
                        RxStats =                         {
                            CoreCapture =                             {
                                LogFlags = 0;
                            };
                        };
                        "bpf_tap_in" =                         {
                            CoreCapture =                             {
                                LogFlags = 37795716399104;
                            };
                        };
                        "bpf_tap_in_awdl0" =                         {
                            CoreCapture =                             {
                                LogFlags = 351617645098215952;
                            };
                        };
                        drainrxdatawio =                         {
                            CoreCapture =                             {
                                LogFlags = 3;
                            };
                        };
                        filltxfdatawio =                         {
                            CoreCapture =                             {
                                LogFlags = 3;
                            };
                        };
                        interfacequeue =                         {
                            CoreCapture =                             {
                                LogFlags = 1;
                            };
                        };
                        "interfacequeue_awdl0" =                         {
                            CoreCapture =                             {
                                LogFlags = 1;
                            };
                        };
                        networkfamilystack =                         {
                            CoreCapture =                             {
                                LogFlags = 0;
                            };
                        };
                        "networkfamilystack_awdl0" =                         {
                            CoreCapture =                             {
                                LogFlags = 0;
                            };
                        };
                        peerinput =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        "peerinput_awdl0" =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        peerqueue =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        "peerqueue_awdl0" =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                    };
                    DriverLogs =                     {
                        IO80211Logger =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = 1;
                            };
                            CoreCapture =                             {
                                LogFlags = 8388608;
                                LogLevel = 5;
                            };
                        };
                        "IO80211Logger_awdl0" =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = 1;
                            };
                            CoreCapture =                             {
                                LogFlags = 146042519552;
                                LogLevel = 5;
                            };
                        };
                        loggerstream =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = 2;
                            };
                            CoreCapture =                             {
                                LogFlags = 4718933;
                                LogLevel = 5;
                            };
                        };
                    };
                    FirmwareLogs =                     {
                        debugQueueStream =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = "-1";
                            };
                            CoreCapture =                             {
                                LogFlags = "-1";
                                LogLevel = 127;
                            };
                        };
                    };
                };
                "com.apple.driver.AppleBCMWLANCoreV2.0" =                 {
                    DatapathEvents =                     {
                        "bpf_tap_in" =                         {
                            CoreCapture =                             {
                                LogFlags = 37796253270038;
                            };
                        };
                        "bpf_tap_in_ap1" =                         {
                            CoreCapture =                             {
                                LogFlags = 37796253270016;
                            };
                        };
                        "bpf_tap_in_awdl0" =                         {
                            CoreCapture =                             {
                                LogFlags = 27358469243185680;
                            };
                        };
                        bulkread =                         {
                            CoreCapture =                             {
                                LogFlags = 11;
                            };
                        };
                        bulkwrite =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        commander =                         {
                            CoreCapture =                             {
                                LogFlags = 3;
                            };
                        };
                        credits0 =                         {
                            CoreCapture =                             {
                                LogFlags = 1;
                            };
                        };
                        events =                         {
                            CoreCapture =                             {
                                LogFlags = 1;
                            };
                        };
                        glomtransmitted =                         {
                            CoreCapture =                             {
                                LogFlags = 1;
                            };
                        };
                        interfacequeue =                         {
                            CoreCapture =                             {
                                LogFlags = 1;
                            };
                        };
                        "interfacequeue_ap1" =                         {
                            CoreCapture =                             {
                                LogFlags = 1;
                            };
                        };
                        "interfacequeue_awdl0" =                         {
                            CoreCapture =                             {
                                LogFlags = 1;
                            };
                        };
                        networkfamilystack =                         {
                            CoreCapture =                             {
                                LogFlags = 3;
                            };
                        };
                        "networkfamilystack_ap1" =                         {
                            CoreCapture =                             {
                                LogFlags = 3;
                            };
                        };
                        "networkfamilystack_awdl0" =                         {
                            CoreCapture =                             {
                                LogFlags = 3;
                            };
                        };
                        peerinput =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        "peerinput_ap1" =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        "peerinput_awdl0" =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        peerqueue =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        "peerqueue_ap1" =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        "peerqueue_awdl0" =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        requestiotxhsic =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        requestiotxsdio =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        rxpacket =                         {
                            CoreCapture =                             {
                                LogFlags = 3;
                            };
                        };
                    };
                    DriverLogs =                     {
                        IO80211Logger =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = 4;
                            };
                            CoreCapture =                             {
                                LogFlags = 137447342080;
                                LogLevel = 5;
                            };
                        };
                        "IO80211Logger_ap1" =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = 4;
                            };
                            CoreCapture =                             {
                                LogFlags = 0;
                                LogLevel = 5;
                            };
                        };
                        "IO80211Logger_awdl0" =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = 1;
                            };
                            CoreCapture =                             {
                                LogFlags = 146042519552;
                                LogLevel = 5;
                            };
                        };
                        loggerstream =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = 1;
                            };
                            CoreCapture =                             {
                                LogFlags = 33848193;
                                LogLevel = 5;
                            };
                        };
                    };
                    FirmwareLogs =                     {
                        "Chip_UART" =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = 0;
                            };
                            CoreCapture =                             {
                                LogFlags = 1;
                                LogLevel = 5;
                            };
                        };
                    };
                };
                "com.apple.driver.AppleBCMWLANCoreV3.0" =                 {
                    DatapathEvents =                     {
                        "bpf_tap_in" =                         {
                            CoreCapture =                             {
                                LogFlags = 37796253270038;
                            };
                        };
                        "bpf_tap_in_ap1" =                         {
                            CoreCapture =                             {
                                LogFlags = 37796253270016;
                            };
                        };
                        "bpf_tap_in_awdl0" =                         {
                            CoreCapture =                             {
                                LogFlags = 27358469243185680;
                            };
                        };
                        commander =                         {
                            CoreCapture =                             {
                                LogFlags = 3;
                            };
                        };
                        credits0 =                         {
                            CoreCapture =                             {
                                LogFlags = 1;
                            };
                        };
                        driverstatepcie =                         {
                            CoreCapture =                             {
                                LogFlags = 3;
                            };
                        };
                        events =                         {
                            CoreCapture =                             {
                                LogFlags = 1;
                            };
                        };
                        glomtransmitted =                         {
                            CoreCapture =                             {
                                LogFlags = 1;
                            };
                        };
                        interfacequeue =                         {
                            CoreCapture =                             {
                                LogFlags = 1;
                            };
                        };
                        "interfacequeue_ap1" =                         {
                            CoreCapture =                             {
                                LogFlags = 1;
                            };
                        };
                        "interfacequeue_awdl0" =                         {
                            CoreCapture =                             {
                                LogFlags = 1;
                            };
                        };
                        networkfamilystack =                         {
                            CoreCapture =                             {
                                LogFlags = 0;
                            };
                        };
                        "networkfamilystack_ap1" =                         {
                            CoreCapture =                             {
                                LogFlags = 0;
                            };
                        };
                        "networkfamilystack_awdl0" =                         {
                            CoreCapture =                             {
                                LogFlags = 0;
                            };
                        };
                        peerinput =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        "peerinput_ap1" =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        "peerinput_awdl0" =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        peerqueue =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        "peerqueue_ap1" =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        "peerqueue_awdl0" =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        requestiotxpcie =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        requestiotxsdio =                         {
                            CoreCapture =                             {
                                LogFlags = 7;
                            };
                        };
                        rxpacket =                         {
                            CoreCapture =                             {
                                LogFlags = 3;
                            };
                        };
                        rxpacketpcie =                         {
                            CoreCapture =                             {
                                LogFlags = 3;
                            };
                        };
                    };
                    DriverLogs =                     {
                        IO80211Logger =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = 4;
                            };
                            CoreCapture =                             {
                                LogFlags = 137447342080;
                                LogLevel = 5;
                            };
                        };
                        "IO80211Logger_ap1" =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = 4;
                            };
                            CoreCapture =                             {
                                LogFlags = 0;
                                LogLevel = 5;
                            };
                        };
                        "IO80211Logger_awdl0" =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = 1;
                            };
                            CoreCapture =                             {
                                LogFlags = 146042519552;
                                LogLevel = 5;
                            };
                        };
                        loggerstream =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = 1;
                            };
                            CoreCapture =                             {
                                LogFlags = 33848193;
                                LogLevel = 5;
                            };
                        };
                    };
                    FirmwareBusLogs =                     {
                        "Firmware_Bus" =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = 0;
                            };
                            CoreCapture =                             {
                                LogFlags = 0;
                                LogLevel = 0;
                            };
                        };
                    };
                    FirmwareEcounterLogs =                     {
                        FirmwareEcounterLogs =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = 0;
                            };
                            CoreCapture =                             {
                                LogFlags = 0;
                                LogLevel = 0;
                            };
                        };
                    };
                    FirmwareLogs =                     {
                        "Chip_UART" =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = 0;
                            };
                            CoreCapture =                             {
                                LogFlags = 1;
                                LogLevel = 5;
                            };
                        };
                    };
                    TimeSyncEngineMessages =                     {
                        TimeSyncEngine =                         {
                            CoreCapture =                             {
                                LogFlags = 1;
                                LogLevel = 5;
                            };
                        };
                    };
                };
                "com.apple.iokit.IO80211Family" =                 {
                    ControlPath =                     {
                        "IO80211 Event Stream" =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = "-1";
                            };
                            CoreCapture =                             {
                                LogFlags = 4;
                                LogLevel = 5;
                            };
                        };
                        "IO80211 IOCTL Stream" =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = "-1";
                            };
                            CoreCapture =                             {
                                LogFlags = 3;
                                LogLevel = 5;
                            };
                        };
                    };
                    IO80211AWDLPeerManager =                     {
                        bpfIO80211Awdl =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = 1;
                            };
                            CoreCapture =                             {
                                LogFlags = 27358198660246032;
                                LogLevel = 5;
                            };
                        };
                    };
                    OneStats =                     {
                        "IO80211 IOReporter Stream" =                         {
                            Console =                             {
                                LogFlags = 0;
                                LogLevel = 0;
                            };
                            CoreCapture =                             {
                                LogFlags = 1;
                                LogLevel = 0;
                            };
                        };
                    };
                };
            };
        };
    };
    "com.apple.eapol.control" =     {
        LogFlags = "-1";
    };
    "com.apple.wifi.ui" =     {
        ShowWiFiUI = true;
    };
    "com.apple.wifiFirmwareLoader" =     {
        LoggingEnabled = 1;
    };
}

iCloudBackup:

defaults: {
    ".GlobalPreferences" =     {
        "com.apple.AOSKit.LogLevel" = 7;
    };
    "com.apple.MobileBackup" =     {
        LogLevel = DEBUG;
    };
    "com.apple.accountsd" =     {
        logLevel = 7;
    };
    "com.apple.mmcs" =     {
        DebugLevel = 4;
    };
}

iCloudDrive:

defaults: {
    ".GlobalPreferences" =     {
        "com.apple.fileprovider.log-sensitive-data" = 1;
    };
    "com.apple.bird" =     {
        "log.level" = 7;
    };
}

iOSBluetoothLogging:

defaults: {
    "com.apple.MobileBluetooth.debug" =     {
        FWStreamLogging =         {
            FWCoreDumpEnable = 1;
            FWStreamLoggingEnable = 1;
        };
        HCI =         {
            lmpRouting = 1;
        };
        HCITraces =         {
            StackDebugEnabled = 1;
        };
    };
}

iapd_debug_profile:

defaults: {
    "com.apple.Preferences" =     {
        IAPLogging = 1;
    };
    "com.apple.iapd" =     {
        LogAttachEvents = 1;
        PrintIapPackets = 1;
    };
    "com.apple.iaptransportd" =     {
        AppleIDBusEventLogging = 1;
    };
    "com.apple.logging" =     {
        LogEAEvents = 1;
    };
}

itmsdebugging (iTunes/MediaServices):

defaults: {
    "com.apple.appstored" =     {
        DebugFileLevel = 2;
        DebugLevel = 2;
        LogIncomingHeaders = 1;
        LogOutgoingHeaders = 1;
    };
    "com.apple.itunesstored" =     {
        DebugFileLevel = 2;
        DebugLevel = 2;
        LogIncomingHeaders = 1;
        LogOutgoingHeaders = 1;
    };
}

watchOS6Seed1:

This profile was briefly offered during the iOS 13 Beta testing period when devices on WatchOS 6.0 couldn't be paired with devices on iOS 13.0b5. Being that the Apple Watch has it's limitations in regards to the user being able to restore the device, Apple's solution was this profile, which allowed users to pair with "incompatible" iOS versions. This peaked my interest, so by setting the date before the removal period, I was able to successfully extract the value set. The profile is still available for download here .

defaults: {
    ".GlobalPreferences" =     {
        EnableNRBTLMBackwardsCompatibility = 1;
    };
}
@varenc
Copy link

varenc commented May 6, 2022

this is fascinating. Thanks!

@dlevi309
Copy link
Author

dlevi309 commented May 6, 2022

@varenc thank you! glad you like it. Even though the process of gathering these looks automated, most of it is done by hand

@saagarjha
Copy link

Do you know if these profiles have to be signed by Apple to install?

@dlevi309
Copy link
Author

@saagarjha For MacOS, I don't believe they so. iOS is a different story; by default, only profiles signed with the AppleCare Profile Signing Certificate are able to write defaults (or "internal settings", which is what the payload defines it as), but I learned that if the certificate expires, a profile with the settings will stay installed and persist. The method Apple uses to remove profiles from a device doesn't actually correlate with the validity of the profile, they just always define these keys to ensure that a user doesn't keep the profile installed indefinitely:

	<key>DurationUntilRemoval</key>
	<real>1209600</real>
....
	<key>RemovalDate</key>
	<date>2022-07-20T07:00:00Z</date>

When I was looking into this more thoroughly, I made a tweak that allows installing profiles with restricted payloads (but only if the profile has no certificate at all, which would just be he plain xml file). So, naturally, if you remove the defined removal date keys and install a profile with my tweak installed, the profile will be installed indefinitely (jailbroken or not, across restores, etc.) I left some example profiles available on the same repo to express why this may be preferable.

@saagarjha
Copy link

Nice, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment