Skip to content

Commit

Permalink
Merge pull request #6 from stoprain/master
Browse files Browse the repository at this point in the history
fix #5, CFBundleDisplayName was not exist by default in Xcode 6 project.
  • Loading branch information
ealeksandrov committed Feb 17, 2015
2 parents 953b0a4 + 9b31865 commit e991ac8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ProvisionQL/GeneratePreviewForURL.m
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ OSStatus GeneratePreviewForURL(void *thisInterface, QLPreviewRequestRef preview,

if([dataType isEqualToString:kDataType_ipa] || [dataType isEqualToString:kDataType_app]) {
NSDictionary *appPropertyList = [NSPropertyListSerialization propertyListWithData:appPlist options:0 format:NULL error:NULL];
[synthesizedInfo setObject:[appPropertyList objectForKey:@"CFBundleDisplayName"] forKey:@"CFBundleDisplayName"];
[synthesizedInfo setObject:[appPropertyList objectForKey:@"CFBundleName"] forKey:@"CFBundleName"];
[synthesizedInfo setObject:[appPropertyList objectForKey:@"CFBundleIdentifier"] forKey:@"CFBundleIdentifier"];
[synthesizedInfo setObject:[appPropertyList objectForKey:@"CFBundleShortVersionString"] forKey:@"CFBundleShortVersionString"];
[synthesizedInfo setObject:[appPropertyList objectForKey:@"CFBundleVersion"] forKey:@"CFBundleVersion"];
Expand Down
2 changes: 1 addition & 1 deletion ProvisionQL/Resources/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
<h1>App info</h1>
<div class="floatLeft"><img alt="App icon" src="data:image/png;base64,__AppIcon__"/></div>
<div class="floatLeft info">
Name: <strong>__CFBundleDisplayName__</strong><br />
Name: <strong>__CFBundleName__</strong><br />
Version: __CFBundleShortVersionString__ (__CFBundleVersion__)<br />
BundleId: __CFBundleIdentifier__<br />
DeviceFamily: __UIDeviceFamily__</div>
Expand Down

0 comments on commit e991ac8

Please sign in to comment.