File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
Parse/Parse/Internal/Object/Subclassing Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -340,17 +340,14 @@ - (void)_registerSubclassesInLoadedBundle:(NSBundle *)bundle {
340
340
return ;
341
341
}
342
342
343
- // Because the Parse Framework cannot be bundled with a macOS Command Line Application, the Parse Framework will need to be
344
- // external to the application. Per Apple's Framework Programming Guide,
343
+ // The Parse framework cannot be bundled with a macOS Command Line Application but needs to be
344
+ // external to the application. The preferred file system location is '/Library/Frameworks' and we don't
345
+ // want to filter out the Parse framework if it is installed there. See also:
345
346
// https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPFrameworks/Tasks/InstallingFrameworks.html#//apple_ref/doc/uid/20002261-97286
346
- // the preferred file-system location would be /Library/Frameworks
347
- // In these cases, we will not want to filter out the Parse.framework if it is installed in /Library/Frameworks.
348
347
if ([bundle.bundlePath hasPrefix: @" /Library/" ]) {
349
-
350
348
if ([bundle.bundlePath hasPrefix: @" /Library/Frameworks/" ] && [[bundle.bundlePath lastPathComponent ] isEqualToString: @" Parse.framework" ]) {
351
- [self _registerSubclassesInBundle: bundle]; // Handle case where Parse.framework is installed in /Library/Frameworks
349
+ [self _registerSubclassesInBundle: bundle];
352
350
}
353
-
354
351
return ;
355
352
}
356
353
You can’t perform that action at this time.
0 commit comments