Duplicate class PLBuildVersion in AssetsLibraryServices and PhotoLibraryServices
| Originator: | keithbsmiley | ||
| Number: | rdar://28613125 | Date Originated: | 04-Oct-2016 11:30 |
| Status: | Duplicate of 27751358 (open) | Resolved: | |
| Product: | iOS SDK | Product Version: | iOS 10 SDK |
| Classification: | Other Bug | Reproducible: | Always |
Summary: There seems to be a duplicate class in AssetsLibraryServices.framework and PhotoLibraryServices.framework which causes this log on app launch: ``` objc[21263]: Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x11aaeb910) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x11a915210). One of the two will be used. Which one is undefined. ``` Steps to Reproduce: 1. Create a empty iOS project 2. Add AssetsLibrary.framework to your Linked Frameworks and Libraries 3. Run the app Expected Results: There should be no logging (depending on Xcode 8 version and OS_ACTIVITY_MODE setting, see the sample project for an example) Actual Results: This is logged: ``` objc[24043]: Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x10b443910) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x10a8df210). One of the two will be used. Which one is undefined. ``` Version: iOS 10 SDK Notes: Run the attached sample project for an example.
Comments
Please note: 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!