Modified pom.xml and fixed iOS bug