Skip to content

Commit

Permalink
Allow the provisioning profile to use wildcards
Browse files Browse the repository at this point in the history
  • Loading branch information
injoy committed Nov 17, 2017
1 parent 70b64df commit 3e35e1f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions ResignTool/ViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,7 @@ - (IBAction)resignClick:(id)sender {
NSString *bundleIdentifier = @"";
if (useMobileprovisionBundleID) {
IDProvisioningProfile *file = provisioningArray[self.provisioningComboBox.indexOfSelectedItem];
if ([file.bundleIdentifier rangeOfString:@"*"].location > 0) {
[self addLog:[NSString stringWithFormat:@"Unable to use the bundleIdentifier is \"*\" of the ProvisioningProfile"] withColor:[NSColor redColor]];
return;
} else {
bundleIdentifier = file.bundleIdentifier;
}
} else {
if (self.bundleIdField.stringValue.length == 0) {
[self addLog:[NSString stringWithFormat:@"This app cann't have no bundleIdentifier"] withColor:[NSColor redColor]];
Expand Down

0 comments on commit 3e35e1f

Please sign in to comment.