title: Settings.bundle - plist: The data couldn’t be read because it isn’t in the correct format
body: <p>I've used a <a href="https://stackoverflow.com/questions/6428353/best-way-to-add-license-section-to-ios-settings-bundle/6453507#6453507">script</a> in Xcode 8 / iOS 10 to generate an acknowledge section in the settings bundle.</p>
  
  <p>The script producing an Acknowledgements.plist file that gives the error message </p>
  
  <blockquote>
    <p>The data couldn’t be read because it isn’t in the correct format.</p>
  </blockquote>
  
  <p>when I try to open it in Xcode. When I open <code>Acknowledgements.plist</code> file with textEdit it looks OK on first sight ...</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
  &lt;plist version="1.0"&gt;
  &lt;dict&gt;
  &lt;key&gt;PreferenceSpecifiers&lt;/key&gt;
  &lt;array&gt;
  &lt;key&gt;Type&lt;/key&gt;
  &lt;string&gt;PSGroupSpecifier&lt;/string&gt;
  &lt;key&gt;FooterText&lt;/key&gt;
  &lt;string&gt;knobcontrol&lt;/string&gt;
  &lt;key&gt;Type&lt;/key&gt;
  &lt;string&gt;PSGroupSpecifier&lt;/string&gt;
  &lt;key&gt;FooterText&lt;/key&gt;
  &lt;string&gt;knobcontrol2&lt;/string&gt;
  &lt;/array&gt;
  &lt;key&gt;StringsTable&lt;/key&gt;
  &lt;string&gt;Acknowledgements&lt;/string&gt;
  &lt;/dict&gt;
  &lt;/plist&gt;
  </code></pre>
  
  <p>I've tried some of the comments according to the script but could not find what is wrong with the plist - can anybody have a look at the file? I don't have enough reputation to post comments to the script posting.</p>