Skip to content

Commit cb6f695

Browse files
authored
Xcode - Fix issue with auto detecting enterprise profiles on Sierra (#4201)
1 parent aceed53 commit cb6f695

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Tasks/Common/ios-signing-common/ios-signing-common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ export async function getProvisioningProfileType(provProfilePath: string) {
228228
//get ProvisionsAllDevices - this will exist for enterprise profiles
229229
var provisionsAllDevices: string = await printFromPlist('ProvisionsAllDevices', tmpPlist);
230230
tl.debug('provisionsAllDevices = ' + provisionsAllDevices);
231-
if (provisionsAllDevices && provisionsAllDevices.toLowerCase() === 'true') {
231+
if (provisionsAllDevices && provisionsAllDevices.trim().toLowerCase() === 'true') {
232232
//ProvisionsAllDevices = true in enterprise profiles
233233
provProfileType = 'enterprise';
234234
} else {

Tasks/Xcode/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"version": {
1313
"Major": 2,
1414
"Minor": 116,
15-
"Patch": 0
15+
"Patch": 1
1616
},
1717
"demands": [
1818
"xcode"

Tasks/Xcode/task.loc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"version": {
1313
"Major": 2,
1414
"Minor": 116,
15-
"Patch": 0
15+
"Patch": 1
1616
},
1717
"demands": [
1818
"xcode"

0 commit comments

Comments
 (0)