Regression: AppKit on 10.11 is seemingly not linked against CloudDocs.framework, resulting in crash
||Product Version:||10.11.0 (15A282a)|
Some methods in AppKit, such as -[NSPathCell _autoUpdateCellContents] contain calls to -[NSURL(BRCloudPathComponent) br_pathComponentDisplayMetadataWithOptions:].
This works in 10.10 because CloudDocs.framework, which is where this method is actually implemented gets linked in. But it looks like CloudDocs.framework doesn't get linked on 10.11, and this ends up getting a "unrecognized selector" crash.
Steps to Reproduce:
Run this code on a 10.11 system:
NSURL *url = [NSURL fileURLWithPath:[@"~/Library/Mobile Documents/2BUA8C4S2C~com~agilebits~onepassword" stringByExpandingTildeInPath]];
Replace the last part of the path with a valid URL inside of Mobile Documents.
Not a crash.
Crash. I've attached a real world crash report, as well as one from my sample code, as well as my sample code.
Mac OS X 10.11.0 (15A282a)
This is a regression. The crash does not exist in 10.10.5.
Hardware seems irrelevant. Only OS X version.
Reports posted here will not necessarily be seen by Apple.
All problems should be submitted at bugreport.apple.com before they are posted here.
Please only post information for Radars that you have filed yourself, and please do
not include Apple confidential information in your posts. Thank you!