diff --git a/fir_ser/api/utils/app/iossignapi.py b/fir_ser/api/utils/app/iossignapi.py index 31a5c3e..ed80300 100644 --- a/fir_ser/api/utils/app/iossignapi.py +++ b/fir_ser/api/utils/app/iossignapi.py @@ -337,6 +337,8 @@ class AppDeveloperApiV2(object): try: apple_obj = AppStoreConnectApi(self.issuer_id, self.private_key_id, self.p8key) devices_obj_list = apple_obj.get_all_devices() + if not isinstance(devices_obj_list, list): + devices_obj_list = [devices_obj_list] if devices_obj_list is not None: return True, devices_obj_list except Exception as e: diff --git a/fir_ser/api/utils/app/supersignutils.py b/fir_ser/api/utils/app/supersignutils.py index 23c34ca..f52554b 100644 --- a/fir_ser/api/utils/app/supersignutils.py +++ b/fir_ser/api/utils/app/supersignutils.py @@ -374,9 +374,9 @@ class IosUtils(object): new_file = os.path.join(MEDIA_ROOT, random_file_name + ".ipa") properties_info = {} if app_obj.new_bundle_id: - properties_info = {'-b': app_obj.new_bundle_id} + properties_info.update({'-b': app_obj.new_bundle_id}) if app_obj.new_bundle_name: - properties_info = {'-n': app_obj.new_bundle_name} + properties_info.update({'-n': app_obj.new_bundle_name}) status, result = resign_app_obj.sign(get_profile_full_path(developer_obj, app_obj), org_file, new_file, properties_info) if status: