SD is removing CFBundleTypeIconFile from my Info.plist when the app is edited/saved in SD7 or SD8
I created an app (droplet really) in SD, then manually edited the Info.plist to add a CFBundleDocumentTypes array:
...
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>eurl</string>
</array>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>CFBundleTypeIconFile</key>
<string>EURL.icns</string>
</dict>
</array>
...
This works as expected and I can see .eurl files show the CFBundleTypeIconFile icon. However, if I re-open/edit/save the .app in SD, the CFBundleTypeIconFile tag is removed:
...
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>eurl</string>
</array>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
</array>
...
Here’s a demonstration file: DemoBug in SD7.zip - Droplr
It contains a DemoBug.app AppleScript app with the CFBundleTypeIconFile intact, along with a TestFile.eurl (which should show the icon).