Skip to content

Commit

Permalink
fixed plist generation when signing
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Brodjieski committed Mar 8, 2021
1 parent b94339b commit 9ca161f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/generate_guidance.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9ca161f

Please sign in to comment.