public bool IsInfoplistPlainText()
{
// The Info.plist file has to be modified so the resulting cracked .ipa can be installed on the iDevice.
// For that the key-pair {SignerIdentity, Apple iPhone OS Application Signing} is added to it. In that process the
// Info.plist is converted from binary to plaintext XML and the key-pair is added.
// c) If Info.plist is plaintext XML:
var basedir = Path.Combine (Environment.GetFolderPath (System.Environment.SpecialFolder.Personal), "..");
string appName = "ApplicationName.app";
try
{
XmlDocument doc = new XmlDocument();
string xmlFile = (basedir + "/" + appName + "/info.plist");
XmlTextReader reader = new XmlTextReader(xmlFile);
doc.Load(reader);
return true;
}
catch
{
return false;
}
}