From 7819814816dda3ad0ebf1683c93d1b80e20e5d36 Mon Sep 17 00:00:00 2001 From: Tsvetan Raikov Date: Wed, 21 Sep 2016 16:56:44 +0300 Subject: [PATCH] Fixed trailing comma issue when setting DEVELOPMENT_TEAM --- lib/services/ios-project-service.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/services/ios-project-service.ts b/lib/services/ios-project-service.ts index 2450def624..698ff28076 100644 --- a/lib/services/ios-project-service.ts +++ b/lib/services/ios-project-service.ts @@ -1131,6 +1131,9 @@ We will now place an empty obsolete compatability white screen LauncScreen.xib f line = line.replace(/\/(\/)[^\n]*$/, ""); if (line.indexOf("DEVELOPMENT_TEAM") >= 0) { teamId = line.split("=")[1].trim(); + if (teamId[teamId.length-1] === ';') { + teamId = teamId.slice(0, -1); + } } }); if (teamId) {