I am doing some plist post processing in Unity for Xcode and I want to avoid adding duplicate elements to a PlistElementArray.
Contains and IndexOf do not work since they require a PlistElement. I also tried
if (elementArray["blah"] == null) {
elementArray.addString("blah")
}
But got: Error building Player: InvalidCastException: Cannot cast from source type to destination type.