File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -127,12 +127,17 @@ - (void)swizzleCodeSigningResolution
127127 if (error) {
128128 NSLog (@" Error: %@ " , error);
129129 }
130-
131- [objc_getClass (" Xcode3CodesignTroubleshootingViewController" ) aspect_hookSelector: @selector (viewDidAppear ) withOptions: AspectPositionAfter usingBlock: ^(id <AspectInfo> info) {
132- NSView * view = [info.instance view ];
133- [self findAndReplaceFixIssueButtonInView: view];
130+
131+ [objc_getClass (" DVTStackView_ML" ) aspect_hookSelector: @selector (_autoLayoutViewViewFrameDidChange: ) withOptions: AspectPositionAfter usingBlock: ^(id <AspectInfo> info) {
132+ NSView * view = info.instance ;
133+
134+ if ([[view.superview nextResponder ] isKindOfClass: objc_getClass (" Xcode3CodesignTroubleshootingViewController" )])
135+ {
136+ [self findAndReplaceFixIssueButtonInView: view.superview];
137+ }
134138 } error: &error];
135-
139+
140+
136141 if (error) {
137142 NSLog (@" Error: %@ " , error);
138143 }
You can’t perform that action at this time.
0 commit comments