Skip to content

Commit

Permalink
Merge pull request #658 from RSilicon/ARC
Browse files Browse the repository at this point in the history
Remove xpc_release for ARC
  • Loading branch information
LIJI32 authored Sep 22, 2024
2 parents 73168aa + 741637e commit 1fac887
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions iOS/GBViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -612,13 +612,10 @@ - (void)verifyEntitlements
const char *_teamIdentifier = xpc_dictionary_get_string(entitlements, "com.apple.developer.team-identifier");
NSString *teamIdentifier = _teamIdentifier? @(_teamIdentifier) : nil;

xpc_release(entitlements);

if (!entIdentifier) { // No identifier. Installed using a jailbreak, we're fine.
return;
}



if (teamIdentifier && [entIdentifier hasPrefix:[teamIdentifier stringByAppendingString:@"."]]) {
entIdentifier = [entIdentifier substringFromIndex:teamIdentifier.length + 1];
}
Expand Down

0 comments on commit 1fac887

Please sign in to comment.