checking the file exists in XcodeUtil.java