Package au.com.rayh
Class XcodeProjectParser
java.lang.Object
au.com.rayh.XcodeProjectParser
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HashMap<String, ProjectScheme> listXcodeSchemes(FilePath projectLocation) Retrieve all Xcode scheme file from project directory.static InfoPlistparseInfoPlist(FilePath infoPlistFile) static XcodeProjectparseXcodeProject(FilePath projectLocation) static ProjectSchemeparseXcodeScheme(FilePath schemeFile) parseXcodeWorkspace(FilePath workspaceFileLocation)
-
Constructor Details
-
XcodeProjectParser
public XcodeProjectParser()
-
-
Method Details
-
listXcodeSchemes
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
- Parameters:
schemeFile- Xcode schieme file location- Returns:
- analysis result of Xcode projectscheme file. If analysis fails, it is null
-
parseXcodeWorkspace
- 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
- Parameters:
infoPlistFile- Xcode Info.plist file location- Returns:
- analysis result of Info.plist file. If analysis fails, it is null
-
parseXcodeProject
- Parameters:
projectLocation- Xcode project file location (directory)- Returns:
- analysis result of Xcode project file. If analysis fails, it is null
-