The version of `Foundation` deployed on iOS does not contain `XMLDocument`, `XMLNode`, etc. – hence your library is unfortunately not usable there.