Programming/Swift

[ERROR] objc[8355]: Class PLBuildVersion is implemented in both

평생초보 2017. 1. 12. 16:51
반응형

문제: photoLibrary에 접근 하고자 하였으나 아래와 같은 에러가 발생되어 다운되어 버렸다.

objc[8355]: Class PLBuildVersion is implemented in both

/Users/goodgods/Documents/Xcode8/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/

iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x11b496998) and /Users/goodgods/Documents/Xcode8/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/

iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x11c6edd38). One of the two will be used. Which one is undefined.


해결 : Xcode8부터 Info.plist에 추가를 해줘야한다.


Key : Privacy - Photo Library Usage Description

Value : PhotoLibrary

반응형