Package au.com.rayh

Class XcodeProjectParser

java.lang.Object
au.com.rayh.XcodeProjectParser

public class XcodeProjectParser extends Object
Analyze the Xcode project file and obtain the information necessary for building the application. (Only combinations of UUID and BundleID used for CodeSign now)
Author:
Kazuhide Takahashi
  • Constructor Details

    • XcodeProjectParser

      public XcodeProjectParser()
  • Method Details

    • listXcodeSchemes

      public static HashMap<String,ProjectScheme> listXcodeSchemes(FilePath projectLocation)
      Retrieve all Xcode scheme file from project directory.
      Parameters:
      projectLocation - Xcode project file location (directory path)
      Returns:
      the list of schema files found in the project directory and the result (ProjectScheme) of analysis of the contents as a HashMap. If analysis fails, it is empty
    • parseXcodeScheme

      public static ProjectScheme parseXcodeScheme(FilePath schemeFile)
      Parameters:
      schemeFile - Xcode schieme file location
      Returns:
      analysis result of Xcode projectscheme file. If analysis fails, it is null
    • parseXcodeWorkspace

      public static List<String> parseXcodeWorkspace(FilePath workspaceFileLocation)
      Parameters:
      workspaceFileLocation - Xcode workspace file location (directory)
      Returns:
      list of project files obtained as a result of analyzing workspaceFile. If analysis fails, it is empty
    • parseInfoPlist

      public static InfoPlist parseInfoPlist(FilePath infoPlistFile)
      Parameters:
      infoPlistFile - Xcode Info.plist file location
      Returns:
      analysis result of Info.plist file. If analysis fails, it is null
    • parseXcodeProject

      public static XcodeProject parseXcodeProject(FilePath projectLocation)
      Parameters:
      projectLocation - Xcode project file location (directory)
      Returns:
      analysis result of Xcode project file. If analysis fails, it is null