Skip to content

Commit 0e1ba28

Browse files
committed
fix: ios 15
Signed-off-by: Lessica <[email protected]>
1 parent 9d7e0de commit 0e1ba28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

XcodeAnyTroll.xm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ static const char *BlockSig(id blockObj)
172172

173173
- (BOOL)performInstallationWithError:(NSError **)errorPtr {
174174
BOOL result = %orig;
175-
if (self.recordPromise) {
175+
if ([self respondsToSelector:@selector(recordPromise)] && self.recordPromise) {
176176
gRecordPromise = self.recordPromise;
177177
}
178178
return result;

0 commit comments

Comments
 (0)