From 6d1dc226376b1dbe017e8c2ab6fbce0d7a1603ba Mon Sep 17 00:00:00 2001 From: Bradley Clayton Date: Thu, 14 Jun 2018 18:48:58 +0200 Subject: [PATCH] Fixed bug setting the incorrect type of iOS build --- .../readyci/tasks/app/ios/IOSProvisioningProfileRead.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/squarepolka/readyci/tasks/app/ios/IOSProvisioningProfileRead.java b/src/main/java/com/squarepolka/readyci/tasks/app/ios/IOSProvisioningProfileRead.java index b80ed20..2c3e28a 100644 --- a/src/main/java/com/squarepolka/readyci/tasks/app/ios/IOSProvisioningProfileRead.java +++ b/src/main/java/com/squarepolka/readyci/tasks/app/ios/IOSProvisioningProfileRead.java @@ -63,7 +63,7 @@ private void readProvisioningInputStream(InputStream processInputSteam, BuildEnv NSDictionary entitlementsDict = (NSDictionary) rootDict.objectForKey("Entitlements"); String fullBundleId = entitlementsDict.objectForKey("application-identifier").toString(); String bundleId = removeTeamFromBundleId(fullBundleId, devTeam); - NSObject provisionedDevices = entitlementsDict.objectForKey("ProvisionedDevices"); + NSObject provisionedDevices = rootDict.objectForKey("ProvisionedDevices"); buildEnvironment.addProperty(BUILD_PROP_APP_NAME, appName); buildEnvironment.addProperty(BUILD_PROP_APP_ID_NAME, appIDName);