From 2b7baf258142b918e6a1ca3ba06b5e4a77153d30 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Tue, 12 May 2015 23:33:58 +0200 Subject: [PATCH] [DEV] correct packege error in ios --- lutin/target/lutinTarget_IOs.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lutin/target/lutinTarget_IOs.py b/lutin/target/lutinTarget_IOs.py index ae3514f..8a4ddd5 100644 --- a/lutin/target/lutinTarget_IOs.py +++ b/lutin/target/lutinTarget_IOs.py @@ -315,7 +315,10 @@ class Target(target.Target): tmpFile.write("\n") tmpFile.write(" \n") tmpFile.write(" application-identifier\n") - tmpFile.write(" " + pkgProperties["APPLE_APPLICATION_IOS_ID"] + "." + pkgProperties["COMPAGNY_TYPE"] + "." + pkgProperties["COMPAGNY_NAME2"] + "." + pkgName + "\n") + try: + tmpFile.write(" " + pkgProperties["APPLE_APPLICATION_IOS_ID"] + "." + pkgProperties["COMPAGNY_TYPE"] + "." + pkgProperties["COMPAGNY_NAME2"] + "." + pkgName + "\n") + except: + debug.error("Missing package property : APPLE_APPLICATION_IOS_ID") tmpFile.write(" get-task-allow\n") tmpFile.write(" \n") tmpFile.write(" keychain-access-groups\n")