gillycheesesteak opened a new issue, #652: URL: https://github.com/apache/cordova-plugin-file/issues/652
# Bug Report ## Problem Plugin uses properties that are removed in iOS 26 ### What is expected to happen? Build succeeds with deployment-target of 26 ### What does actually happen? Build fails with errors ` error: 'ALAssetsLibraryAssetForURLResultBlock' is unavailable: obsoleted in iOS 26.0 - Use fetchAssetsWithLocalIdentifiers:options: on PHAsset to fetch assets by local identifier (or to lookup PHAssets by a previously known ALAssetPropertyAssetURL use fetchAssetsWithALAssetURLs:options:) from the Photos framework instead error: 'defaultRepresentation' is unavailable: obsoleted in iOS 26.0 - Use PHImageRequestOptions with the PHImageManager from the Photos framework instead error: 'size' is unavailable: obsoleted in iOS 26.0 - Use requestImageDataForAsset:options:resultHandler: on PHImageManager to request image data for a PHAsset from the Photos framework instead error: 'getBytes:fromOffset:length:error:' is unavailable: obsoleted in iOS 26.0 - Use requestImageDataForAsset:options:resultHandler: on PHImageManager to request image data for a PHAsset from the Photos framework instead error: 'UTI' is unavailable: obsoleted in iOS 26.0 - Use requestImageDataForAsset:options:resultHandler: on PHImageManager for a PHAsset to request image data from the Photos framework and check the dataUTI passed to your result handler instead error: 'ALAsset' is unavailable: obsoleted in iOS 26.0 - Use PHAsset from the Photos framework instead error: 'ALAssetRepresentation' is unavailable: obsoleted in iOS 26.0 - Use PHImageRequestOptions with the PHImageManager from the Photos framework instead error: 'ALAssetsLibraryAccessFailureBlock' is unavailable: obsoleted in iOS 26.0 - Use the Photos framework instead error: 'ALAssetsLibrary' is unavailable: obsoleted in iOS 26.0 - Use PHPhotoLibrary from the Photos framework instead error: 'ALAssetsLibrary' is unavailable: obsoleted in iOS 26.0 - Use PHPhotoLibrary from the Photos framework instead error: 'assetForURL:resultBlock:failureBlock:' is unavailable: obsoleted in iOS 26.0 - Use fetchAssetsWithLocalIdentifiers:options: on PHAsset to fetch assets by local identifier (or to lookup PHAssets by a previously known ALAssetPropertyAssetURL use fetchAssetsWithALAssetURLs:options:) from the Photos framework instead error: 'ALAssetsLibraryAssetForURLResultBlock' is unavailable: obsoleted in iOS 26.0 - Use fetchAssetsWithLocalIdentifiers:options: on PHAsset to fetch assets by local identifier (or to lookup PHAssets by a previously known ALAssetPropertyAssetURL use fetchAssetsWithALAssetURLs:options:) from the Photos framework instead error: 'defaultRepresentation' is unavailable: obsoleted in iOS 26.0 - Use PHImageRequestOptions with the PHImageManager from the Photos framework instead error: 'filename' is unavailable: obsoleted in iOS 26.0 - Use the Photos framework instead error: 'ALAssetPropertyDate' is unavailable: obsoleted in iOS 26.0 - Use the creationDate property on a PHAsset from the Photos framework instead error: 'valueForProperty:' is unavailable: obsoleted in iOS 26.0 - Use PHAsset class properties from the Photos framework instead error: 'ALAsset' is unavailable: obsoleted in iOS 26.0 - Use PHAsset from the Photos framework instead error: 'ALAssetRepresentation' is unavailable: obsoleted in iOS 26.0 - Use PHImageRequestOptions with the PHImageManager from the Photos framework instead error: 'size' is unavailable: obsoleted in iOS 26.0 - Use requestImageDataForAsset:options:resultHandler: on PHImageManager to request image data for a PHAsset from the Photos framework instead ` ## Information <!-- Include all relevant information that might help understand and reproduce the problem --> ### Command or Code <!-- What command or code is needed to reproduce the problem? --> ### Environment, Platform, Device <!-- In what environment, on what platform or on which device are you experiencing the issue? --> Github actions macos 15 runner ### Version information <!-- What are relevant versions you are using? For example: Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins Other Frameworks: Ionic Framework and CLI version Operating System, Android Studio, Xcode etc. --> macos 15 Xcode 26.2 deployment-target: 26 ## Checklist <!-- Please check the boxes by putting an x in the [ ] like so: [x] --> - [x] I searched for existing GitHub issues - [x] I updated all Cordova tooling to most recent version - [x] I included all the necessary information above -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
