Skip to content

Commit

Permalink
\n character was added to the output
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugene Solodovnykov committed Nov 24, 2010
1 parent 1dda610 commit 667a0d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Source/mobileprovisionParser.m
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,17 @@ int main (int argc, const char * argv[]) {
if ([option isEqualToString:@"type"]) {
if ([plist valueForKeyPath:@"ProvisionedDevices"]) {
if ([[plist valueForKeyPath:@"Entitlements.get-task-allow"] boolValue]) {
printf("debug");
printf("debug\n");
} else {
printf("ad-hoc");
printf("ad-hoc\n");
}
} else {
printf("appstore");
printf("appstore\n");
}
} else
//get the UUID of the profile
if ([option isEqualToString:@"uuid"]) {
printf("%s", [[plist valueForKeyPath:@"UUID"] cStringUsingEncoding:NSUTF8StringEncoding]);
printf("%s\n", [[plist valueForKeyPath:@"UUID"] cStringUsingEncoding:NSUTF8StringEncoding]);
} else
//get the supported devices list
if ([option isEqualToString:@"devices"]) {
Expand Down

0 comments on commit 667a0d3

Please sign in to comment.