public PBXProject parseXcodeFile() throws IOException, JSONException {
        String content = FileUtils.readFileToString(xcodprojJsonFile);
        JSONObject object = new JSONObject(content);
        JSONObject objects = object.getJSONObject("objects");

        String[] mainNames = JSONObject.getNames(objects);
        List<PBXNativeTarget> targets = null;
        for (String name : mainNames) {
            JSONObject currentObject = objects.getJSONObject(name);
            if (currentObject.has("isa")) {
                String isa = currentObject.getString("isa");
                if (isa.equalsIgnoreCase("PBXProject")) {
                    List<String> targetRefs = getTargetRefs(currentObject);
                    targets = getTargetsFromRefs(targetRefs, objects, currentObject);
                }
            }
        }
        if (targets != null) {
            return new PBXProject(targets);
        }
        return null;
    }