XCode26 doesnt compile PhotosUI properly

Hi so i have a given project where I am trying to use components within the PhotosUI Framework with Xcode26 and Xcode26.0.1

Just for reference here is an attached screenshot

This sample code compiled successfully with xcode16.4 and was in production.

There is no change in the pbxproj file , all the build settings have remained the same. Attaching it for reference.

While showing declarations of PHPickerViewControllerDelegate i get two options

which is the same as in Xcode16.4

while browsing online found this reddit thread which is very similar https://www.reddit.com/r/Xcode/comments/1nkku20/my_project_wont_compile_after_xcode_26_update_due/

Pls help :)

XCode26 doesnt compile PhotosUI properly
 
 
Q