Skip to content

Commit

Permalink
Merge pull request #74 from appcelerator/timob-15970
Browse files Browse the repository at this point in the history
[TIMOB-15970] Fixed bug with incorrect provisioning profile value being ...
  • Loading branch information
ayeung committed Dec 18, 2013
2 parents a55a7e9 + 067ff47 commit e048a5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ exports.detect = function detect(finished, opts) {

if (!p.ProvisionedDevices || !p.ProvisionedDevices.length) {
dest = 'distribution';
} else if (new Buffer(p.DeveloperCertificates[0], 'base64').toString().indexOf('Distribution:') != -1) {
} else if (new Buffer(p.DeveloperCertificates[0].value, 'base64').toString().indexOf('Distribution:') != -1) {
dest = 'adhoc';
}

Expand Down

0 comments on commit e048a5f

Please sign in to comment.