|
|
@ -571,7 +571,7 @@ class IosUtils(object): |
|
|
|
def exec_sign(user_obj, app_obj, developer_obj, random_file_name, release_obj): |
|
|
|
def exec_sign(user_obj, app_obj, developer_obj, random_file_name, release_obj): |
|
|
|
resign_app_obj = IosUtils.get_resign_obj(user_obj, developer_obj) |
|
|
|
resign_app_obj = IosUtils.get_resign_obj(user_obj, developer_obj) |
|
|
|
org_file = os.path.join(MEDIA_ROOT, release_obj.release_id + ".ipa") |
|
|
|
org_file = os.path.join(MEDIA_ROOT, release_obj.release_id + ".ipa") |
|
|
|
if not check_org_file(user_obj, org_file): |
|
|
|
if not check_org_file(app_obj.user_id, org_file): |
|
|
|
msg = f"{user_obj} {developer_obj} {app_obj} sign_ipa failed ERROR:'签名包检测失败,或许文件下载失败'" |
|
|
|
msg = f"{user_obj} {developer_obj} {app_obj} sign_ipa failed ERROR:'签名包检测失败,或许文件下载失败'" |
|
|
|
logger.error(msg) |
|
|
|
logger.error(msg) |
|
|
|
return False, msg |
|
|
|
return False, msg |
|
|
|