[NSBundle bundleForClass:] gives incorrect bundle path for frameworks #490
The following code fragment demonstrates the issue. It calls the method for NSString and should return the path to Foundation.framework.
Output on macOS:
Output in Darling:
As a result of this issue, Xcode determines a developer path that is two directory levels too deep.
Our implementation should be modified to return the root of a bundle in this case.
The text was updated successfully, but these errors were encountered: