Class PBXShellScriptBuildPhase


  • public class PBXShellScriptBuildPhase
    extends PBXBuildPhase
    Build phase which represents running a shell script.
    • Constructor Detail

      • PBXShellScriptBuildPhase

        public PBXShellScriptBuildPhase()
    • Method Detail

      • getInputPaths

        public List<String> getInputPaths()
        Returns the list (possibly empty) of files passed as input to the shell script. May not be actual paths, because they can have variable interpolations.
      • getInputFileListPaths

        public List<String> getInputFileListPaths()
        Returns the list (possibly empty) of .xcfilelist files that contain inputs for the script
      • getOutputPaths

        public List<String> getOutputPaths()
        Returns the list (possibly empty) of files created as output of the shell script. May not be actual paths, because they can have variable interpolations.
      • getOutputFileListPaths

        public List<String> getOutputFileListPaths()
        Returns the list (possibly empty) of .xcfilelist files that contain inputs for the script
      • getShellPath

        @Nullable
        public String getShellPath()
        Returns the path to the shell under which the script is to be executed. Defaults to "/bin/sh".
      • setShellPath

        public void setShellPath​(String shellPath)
        Sets the path to the shell under which the script is to be executed.
      • getShellScript

        @Nullable
        public String getShellScript()
        Gets the contents of the shell script to execute under the shell returned by getShellPath().
      • setShellScript

        public void setShellScript​(String shellScript)
        Sets the contents of the script to execute.
      • serializeStringList

        protected com.dd.plist.NSArray serializeStringList​(List<String> list)
        Converts List of Strings into NSArray of NSStrings