This problem is so weird, the API is available for iOS 8.0+, why the XCode is giving this error? Thank you!!
I believe it has been renamed to Photos
So if you just use import Photos it should be fine.
import Photos