From 9ca161f46d041a814bf852fb05f546adc84edc4b Mon Sep 17 00:00:00 2001 From: Dan Brodjieski Date: Mon, 8 Mar 2021 17:02:33 -0500 Subject: [PATCH] fixed plist generation when signing --- scripts/generate_guidance.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/generate_guidance.py b/scripts/generate_guidance.py index 832c0deea..294758291 100755 --- a/scripts/generate_guidance.py +++ b/scripts/generate_guidance.py @@ -478,6 +478,8 @@ def generate_profiles(baseline_name, build_path, parent_dir, baseline_yaml, sign unsigned_file_path=os.path.join(unsigned_mobileconfig_file_path) unsigned_config_file = open(unsigned_file_path, "wb") newProfile.finalizeAndSave(unsigned_config_file) + settings_config_file = open(settings_plist_file_path, "wb") + newProfile.finalizeAndSavePlist(settings_config_file) unsigned_config_file.close() # sign the profiles sign_config_profile(unsigned_file_path, signed_mobileconfig_file_path, hash)