File tree 1 file changed +15
-12
lines changed
1 file changed +15
-12
lines changed Original file line number Diff line number Diff line change @@ -143,21 +143,24 @@ BOOL SSYDebugLogObjcClassesByBundleToFile (
143
143
Class class = classes[i] ;
144
144
NSString * className = NSStringFromClass (class) ;
145
145
if (![className isEqualToString: @" NSViewServiceApplication" ]) {
146
- NSBundle * bundle = [NSBundle bundleForClass: class] ;
147
- NSString * bundleIdentifier = bundle.bundleIdentifier ;
148
- if (bundleIdentifier) {
149
- if (className) {
150
- NSMutableArray * classNames = [results objectForKey: bundleIdentifier] ;
151
- if (!classNames) {
152
- classNames = [NSMutableArray new ] ;
153
- [results setObject: classNames
154
- forKey: bundleIdentifier] ;
146
+ if (![className isEqualToString: @" UINSServiceViewController" ]) {
147
+ // This this caused a "no such selector" method in macOS 10.15.2 Beta 4, I think
148
+ NSBundle * bundle = [NSBundle bundleForClass: class] ;
149
+ NSString * bundleIdentifier = bundle.bundleIdentifier ;
150
+ if (bundleIdentifier) {
151
+ if (className) {
152
+ NSMutableArray * classNames = [results objectForKey: bundleIdentifier] ;
153
+ if (!classNames) {
154
+ classNames = [NSMutableArray new ] ;
155
+ [results setObject: classNames
156
+ forKey: bundleIdentifier] ;
155
157
#if !__has_feature(objc_arc)
156
- [classNames release ] ;
158
+ [classNames release ] ;
157
159
#endif
160
+ }
161
+
162
+ [classNames addObject: className] ;
158
163
}
159
-
160
- [classNames addObject: className] ;
161
164
}
162
165
}
163
166
}
You can’t perform that action at this time.
0 commit comments