Update iOS libraries, trim some unneeded code.