def _launch_app(
        self,
        app_path: _Path,
        working_directory: _Path,
    ) -> _Type["_AppSession"]:
        """
         Install and launch an application on the device.

         This method takes the path to an application, installs it on the device
         associated with this instance, and then launches the application.

         Parameters
         ----------
         app_path : Path
             The path to the application file or directory to be installed.
             This should be a valid path object pointing to the app bundle.

        Returns
        -------
        AppSession
             An AppSession object representing the launched application session.
             This object typically contains:
             - process: The subprocess object for the running application.
             - device: The Device object on which the app was installed and launched.
             - bundle_identifier: The bundle ID of the installed and launched application.
             - database_uuid: The database UUID of the installed application.

        """
        return _DeviceCtl.launch_app(
            device=self,
            app_path=app_path,
            working_directory=working_directory,
        )

         Install and launch an application on the device.

         This method takes the path to an application, installs it on the device
         associated with this instance, and then launches the application.

         Parameters
         ----------
         app_path : Path
             The path to the application file or directory to be installed.
             This should be a valid path object pointing to the app bundle.

        Returns
        -------
        AppSession
             An AppSession object representing the launched application session.
             This object typically contains:
             - process: The subprocess object for the running application.
             - device: The Device object on which the app was installed and launched.
             - bundle_identifier: The bundle ID of the installed and launched application.
             - database_uuid: The database UUID of the installed application.

        
coremltools/models/ml_program/experimental/remote_device.py