Clarity on the role of the Property List

I am looking for clarity on the purpose of the plist and its desired limits.

My understanding is that the plist is used to describe the app (or additional bundles) and the main app plist is not supposed to be edited during runtime its only to supply the app with configuration details.

If this understanding correct?

NOTE: I am new to iOS development and am just trying to understand the role of some of the files, and I was having trouble saving data to the main plist file
Answered by DTS Engineer in 673204022

the main app plist is not supposed to be edited during runtime

That’s correct. Your app’s Info.plist is part of the app’s bundle and that means it can’t be modified at runtime. Specifically:
  • The system installs your app in a location that you can’t modify.

  • Even if that weren’t the case, the Info.plist is sealed by the code signature. Modifying it would break that code signature would would be Bad™.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
Accepted Answer

the main app plist is not supposed to be edited during runtime

That’s correct. Your app’s Info.plist is part of the app’s bundle and that means it can’t be modified at runtime. Specifically:
  • The system installs your app in a location that you can’t modify.

  • Even if that weren’t the case, the Info.plist is sealed by the code signature. Modifying it would break that code signature would would be Bad™.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
Clarity on the role of the Property List
 
 
Q