What is causing this XCode 8/iOS 10 compiler warning?

objc[46383]: Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x118fb3910) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x118ddd210). One of the two will be used. Which one is undefined.


I can't find any reference to this anywhere

Replies

I have the same probem using the iOS 10 Simulator.

The error apears only when using the iOS 10 Simulator and not showing when using a real device or with 9.3 simulator.

The app builds and run perfectly.

You don't control either of the class sources listed, so there isn't anything you can or should do – aside from Reporting a Bug.

any updates on that? same error here.

Its not a compiler warning, its an Objective-C runtime warning, and it is not in any code that you control. You can safely ignore it, as you cannot fix it.