code: private boolean getPodsAndDependenciesSection(List<String> directDependenciesLines, List<String> allDependenciesLines, String podFileLock) {
          boolean successReadPodfile = true;
          boolean podsSection = false;
          boolean dependenciesSection = false;
          try (BufferedReader br = new BufferedReader(new FileReader(podFileLock))) {
              String line;
              logger.debug("The content of Podfile.lock - {}:", podFileLock);
              while ((line = br.readLine()) != null) {
                  logger.debug(line);
                  if (line.startsWith(PODS)) {
                      dependenciesSection = false;
                      podsSection = true;
                  } else if (line.startsWith(DEPENDENCIES)) {
                      podsSection = false;
                      dependenciesSection = true;
                  } else if (line.trim().equals(Constants.EMPTY_STRING)) {
                      podsSection = false;
                      dependenciesSection = false;
                  } else if (podsSection) {
                      allDependenciesLines.add(line);
                  } else if (dependenciesSection) {
                      directDependenciesLines.add(line);
                  }
              }
          } catch (IOException e) {
              logger.warn("Couldn't read the Podfile.lock: {}", podFileLock);
              successReadPodfile = false;
          }
          return successReadPodfile;
      }
docs: /* --- private methods ---