Swift `import PhotosUI` made the compiler happy but the binary never referenced any PhotosUI symbol directly — `presentLimitedLibraryPicker` is dispatched via `objc_msgSend` against an Obj-C category on `PHPhotoLibrary`. Without an explicit framework link the linker dropped PhotosUI, the category never registered, and iOS 26 raised NSInvalidArgumentException for an "unrecognized selector". Declare Photos + PhotosUI as podspec frameworks so the linker force- loads them.
555 B
555 B