Skip to content

Commit 41d2c08

Browse files
committed
Removes NSLocalizedStringFromTableInBundle macro to fix error during export for localization.
1 parent 0ba300a commit 41d2c08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

objc/CFobError.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
void CFobAssignErrorWithDescriptionAndCode(NSError **err, NSString *description, NSInteger code)
1515
{
1616
if (err != NULL)
17-
*err = [NSError errorWithDomain:[[NSBundle bundleForClass:[CFobLicVerifier class]] bundleIdentifier] code:code userInfo:[NSDictionary dictionaryWithObject:NSLocalizedStringFromTableInBundle(description, nil, [NSBundle bundleForClass:[CFobLicVerifier class]], nil) forKey:NSLocalizedDescriptionKey]];
17+
*err = [NSError errorWithDomain:[[NSBundle bundleForClass:[CFobLicVerifier class]] bundleIdentifier] code:code userInfo:[NSDictionary dictionaryWithObject:[[NSBundle bundleForClass:[CFobLicVerifier class]] localizedStringForKey:description value:@"" table:nil] forKey:NSLocalizedDescriptionKey]];
1818
}

0 commit comments

Comments
 (0)