def package(self, output_path):
        if not output_path.endswith('.ipa'):
            output_path = output_path / '.ipa'
        temp = "out.ipa"
        # need to chdir and use relative paths, because zip is stupid
        old_cwd = os.getcwd()
        os.chdir(self.path)
        relative_payload_path = os.path.relpath(self._get_payload_dir(),
                                                self.path)
        call([ZIP_BIN, "-qr", temp, relative_payload_path])
        os.rename(temp, output_path)
        os.chdir(old_cwd)
        return output_path
dataset/ETHPy150Open saucelabs/isign/apple/provisions.py/IpaApp.package/operator `+` -> `/`