Skip to content

Commit 6e7eb3d

Browse files
committed
Fix support for Asset Catalogs built with newer Xcode version like Xcode 12.5.1. For such asset catalogs, the version is set to "Xcode 12.5.1 (12E507) via ibtoold".
1 parent e9c1bd5 commit 6e7eb3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Common/CarUtilities.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ BOOL ProcessCarFileAtPath(NSString *inCarPath, NSString *inOutputFolder, CarName
169169
if(versionString != NULL)
170170
{
171171
NSString *version = [NSString stringWithCString:versionString encoding:NSUTF8StringEncoding];
172-
if(![version hasPrefix:@"IBCocoaTouchImageCatalogTool-"] && ![version hasPrefix:@"ibtoold-"])
172+
if([version containsString:@"ProThemeDefinition"])
173173
{
174174
// Unsupported car file
175175
return NO;

0 commit comments

Comments
 (0)