Skip to content

Commit

Permalink
Fix support for Asset Catalogs built with newer Xcode version like Xc…
Browse files Browse the repository at this point in the history
…ode 12.5.1. For such asset catalogs, the version is set to "Xcode 12.5.1 (12E507) via ibtoold".
  • Loading branch information
Timac committed Sep 3, 2021
1 parent e9c1bd5 commit 6e7eb3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Common/CarUtilities.m
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ BOOL ProcessCarFileAtPath(NSString *inCarPath, NSString *inOutputFolder, CarName
if(versionString != NULL)
{
NSString *version = [NSString stringWithCString:versionString encoding:NSUTF8StringEncoding];
if(![version hasPrefix:@"IBCocoaTouchImageCatalogTool-"] && ![version hasPrefix:@"ibtoold-"])
if([version containsString:@"ProThemeDefinition"])
{
// Unsupported car file
return NO;
Expand Down

0 comments on commit 6e7eb3d

Please sign in to comment.