info[UIImagePickerControllerPHAsset] in imagePickerController(_:didFinishPickingMediaWithInfo:) returns nil on iOS 11

Number:rdar://34404703 Date Originated:
Status: Resolved:
Product:photos Product Version:
Classification: Reproducible:
I'm unable to retrieve UIImagePickerControllerPHAsset from the info dictionary returned in imagePickerController(_:didFinishPickingMediaWithInfo:). It's always nil. Tested both  on iPhone X simulator in Xcode 9 GM and iOS 11 on iPhone 5s.

I uploaded a test case to demonstrate the issue, check the console, it shouldn't print nil.

I remember it returned nil in previous beta versions, I thought it was going to be fixed, but it's still not working for me in the GM version.

Steps to Reproduce:
Present a UIImagePickerController()
Select a photo 
Access info[UIImagePickerControllerPHAsset] in imagePickerController(_:didFinishPickingMediaWithInfo:)

Expected Results:
a PHAsset object is returned

Actual Results:
nil is returned

Xcode Version 9.0 (9A235)
macOS 10.13 Beta (17A360a)


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!