PRADIP KUMAR
PRADIP KUMAR

Reputation: 489

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

I have updated my xcode 8 and running an old app which has been created in 7.3 by convering the swift codes in swift 3. But I am getting the message in log window as below:

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

why its happening ?

Upvotes: 1

Views: 562

Answers (1)

RyuX51
RyuX51

Reputation: 2877

You have a class PLBuildVersion declared in your framework AssetsLibraryServices as well as in PhotoLibraryServices. Because class names are unique Xcode tells you that it will take one of those class declarations, but that it'll keep it a surprise, which one that is. ;)

Luckily, you don't have to be concerned because both classes should be the same.

Upvotes: 1

Related Questions