We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e625f9 commit 8231275Copy full SHA for 8231275
FixCode/FixCode.m
@@ -147,6 +147,22 @@ - (void)swizzleCodeSigningResolution
147
if (error) {
148
NSLog(@"Error: %@", error);
149
}
150
+
151
+ [objc_getClass("IDEFlightCheckListView") aspect_hookSelector:@selector(_shouldShowResolveButton) withOptions:AspectPositionAfter usingBlock:^(id<AspectInfo> info) {
152
+ BOOL result = NO;
153
+ [info.originalInvocation getReturnValue:&result];
154
155
+ if (!result) {
156
+ return;
157
+ }
158
159
+ NSView* view = info.instance;
160
+ [self findAndReplaceFixIssueButtonInView:view];
161
+ } error:&error];
162
163
+ if (error) {
164
+ NSLog(@"Error: %@", error);
165
166
167
168
@end
0 commit comments