Xcode validates Info.plist properties before substitution of user-defined variables?

Hi.

If I add this property to Info.plist in my project

Code Block
<key>version</key>
<integer>$(AU_VERSION)</integer>


this Info.plist is not editable anymore, also the project cannot be built. AU_VERSION is a user-defined setting which is an integer. If I replace it with string type, Info.plist becomes loadable and project compiles fine.

Code Block
<key>version</key>
<string>$(AU_VERSION)</string>


But I need this property to be integer. This is an AudioUnit and it does not work if this property is a string.

Is this a known problem? How do I solve this? And why in the world validation happen before substitution? This behaviour does not look logical to me.
Xcode validates Info.plist properties before substitution of user-defined variables?
 
 
Q