Class PLBuildVersion is implemented in both... One of the two will be used. Which one is undefined.

I have recently upgraded to XCode Version 8.0 (8A218a) from previous most-recent 7.x... Everything has converted beautifully, and is running well. However, the console is dumping this ugly message when I run (Cmd-R) my app.


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


From the output above, it appears the issue is some kind of conflict between AssetsLibraryServices.framework vs. PhotoLibraryServices.framework. I do indeed use Photos Framework in my app, but that's all I know of. I have no idea what PLBuildVersion class is.... It seems to be a lower-level (compiler or builder) class. I have never seen this error message in any prior XCode 7.x.

Is this my problem I need to fix in my app? Or is this a bug of sorts with XCode 8.0 ? (In that case, I will go ahead and submit a bug.) Any advice would be appreciated (I am relatively new to iOS and Swift.)


BTW, I have already followed the OS_ACTIVITY_MODE = disable advice here: https://twitter.com/rustyshelf/status/775505191160328194 to surpress the console "spam". However, the message above remains.


Additional Info...

Edit: I have also seen this happening to others recently. http://stackoverflow.com/questions/39521667/class-plbuildversion-is-implemented-in-both-applications (Unfortunately, I cannot add my comment on StackOverflow, due to their "reputation" policies.) This leads me to think this might be a bug in XCode 8. Known, unknown? Perhaps somebody from Apple's XCode development team can chime in.

I'm seeing the same problem. Fresh install of xcode 8, just downloaded a sample project from Apple and getting the same error.

Input the following into your

Info.plist
file.

Photo

Key:

Privacy - Photo Library Usage Description
Value:
$(PRODUCT_NAME) photo use

Camera

Key:

Privacy - Camera Usage Description
Value:
$(PRODUCT_NAME) camera use

Neither framework is yours – both are private frameworks to Apple.


All you can (and should) do is Report a Bug.

Unfortunately the problem is still there 5 months later.

Its still happening with Xcode 8.3

It is happening with me as well. @Solublepeter have you solved that in some way?

Sadly, this action: adding privacy keys does not work although Sycooo is not alone in suggesting it.

In my case, this issue only came about after I added a view controller with a webView in it, and the error message only appears in the log

when that view controller is presented

There is no solution that a developer can apply to resolve this.


There is also no reason for developers to deal with this, please ignore the message.


The only thing you can or should do is Report a Bug. There is nothing here that you can resolve, nor that you need to resolve.

Class PLBuildVersion is implemented in both... One of the two will be used. Which one is undefined.
 
 
Q