File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed
Expand file tree Collapse file tree 2 files changed +11
-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 }
Original file line number Diff line number Diff line change 3434 <string >9AFF134A-08DC-4096-8CEE-62A4BB123046 </string >
3535 <string >F41BD31E-2683-44B8-AE7F-5F09E919790E </string >
3636 <string >E71C2CFE-BFD8-4044-8F06-00AE685A406C </string >
37+ <string >0420B86A-AA43-4792-9ED0-6FE0F2B16A13 </string >
3738 </array >
3839 <key >LSMinimumSystemVersion </key >
3940 <string >$(MACOSX_DEPLOYMENT_TARGET) </string >
You can’t perform that action at this time.
0 commit comments