I found this forum post: https://forums.xamarin.com/discussion/56812/plists-in-bundle-are-automatically-converted-to-binary-format
I have tried both options there and they still seem to output the binary plist file. Has anyone had any luck with this?
Xamarin Studio Professional
Version 6.3 (build 864)
I'm glad you have an easy work around. I've filed a bug/feature request here: https://bugzilla.xamarin.com/show_bug.cgi?id=58005
Can you post an example project where you are trying to use this option along with the build log (both on a pastebin/gist service not inline)?
Here you go:https://gist.github.com/swinters123/c714d4b1dfbeaa3f2db993814fe2070d
I just created an example project and set the info.plist as a bundle resource with optimize set to false. I basically just need the file in whatever.app/Contents/Info.plist to be xml instead of encoded. In the mean time, I've added a line to my buildscript to convert it.plutil -convert xml1 Info.plist
plutil -convert xml1 Info.plist
It would be nice to know the proper setting though.
So it appears the plist optimization code currently does not honor Info.plist changes.
We can file a bug for that as a feature request, but I have to ask first - "Why do you care? What use case requires it to be in xml?"
Replacing a objective-c/ruby OS X app. There is another app that checks it's info.plist for some information (and apparently can only do it when not encoded). I need to be able to replace it without breaking the existing app.
For now the conversion after the fact works fine, I just noticed the setting wasn't working.
You could use this sample to integrate your work around into the build before signing:
which might be easier to do long term.
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies