2

I Haven't Implemented any Class or methods, Just Created on project in XCode got the issue My Plist Not Contain Any AssetsLibraryServices or PhotoLibraryServices

Error: Class is implemented in both AssetsLibraryServices and PhotoLibraryServices

objc[3119]: Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x11ad48cc0) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x11ab5f6f0).

One of the two will be used. Which one is undefined.

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

I Have Followed Methods To Overcome Crash Issue:

  1. Edited the plist file with Key : Privacy - Photo Library Usage Description
    Value : $(PRODUCT_NAME) photo use
  2. Changed plist Property List Photo and AssetsLibraryServices as shown below

enter image description here

  1. Found the Path AssetsLibraryServices and Edited Plist

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/

  1. Found the Path PhotoLibraryServices and Edited Plist

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/

Even After doing all these i got the same error. Can anyone help me to solve the issue?

rmaddy
  • 314,917
  • 42
  • 532
  • 579
sugansoft
  • 1,227
  • 8
  • 26

0 Answers0