NEW: My new book Pro SwiftUI is out now – level up your SwiftUI skills today! >>

Day 65: InstaFilter - grantAccessClaim Error on iOS 16.2

Forums > 100 Days of SwiftUI


I am mostly though the 3rd video for this day: @ about 6m50s and am running into an error:

2023-03-28 15:44:27.060213-0700 Instafilter[59883:13176041] [claims] C8E679A9-E638-4633-8629-63D8FC792995 grantAccessClaim reply is an error: Error Domain=NSCocoaErrorDomain Code=4101 "Couldn’t communicate with a helper application." UserInfo={NSUnderlyingError=0x600003de2a00 {Error Domain=PHAssetExportRequestErrorDomain Code=0 "The operation couldn’t be completed. (PHAssetExportRequestErrorDomain error 0.)" UserInfo={NSLocalizedDescription=The operation couldn’t be completed. (PHAssetExportRequestErrorDomain error 0.), NSUnderlyingError=0x600003de2130 {Error Domain=PAMediaConversionServiceErrorDomain Code=2 "The operation couldn’t be completed. (PAMediaConversionServiceErrorDomain error 2.)" UserInfo={NSLocalizedDescription=The operation couldn’t be completed. (PAMediaConversionServiceErrorDomain error 2.)}}}}}

This does not happen up until the part of the lesson where we change the loadImage()function to process the sepia filter.

Changing my simulator to 16.0 solves this error, however in 16.2 it occurs, did not test 16.1

EDIT: This acctually errors on iOS 16.0 as well. However the first time simulator is run with the app there is no error and a photo can be loaded, after that run the error occurs.


Hacking with Swift is sponsored by Judo

SPONSORED Let’s face it, SwiftUI previews are limited, slow, and painful. Judo takes a different approach to building visually—think Interface Builder for SwiftUI. Build your interface in a completely visual canvas, then drag and drop into your Xcode project and wire up button clicks to custom code. Download the Mac App and start your free trial today!

Try now

Sponsor Hacking with Swift and reach the world's largest Swift community!

Reply to this topic…

You need to create an account or log in to reply.

All interactions here are governed by our code of conduct.

Unknown user

You are not logged in

Log in or create account

Link copied to your pasteboard.