Context: Xcode 26.3, iOS 18.7.6 on iPhone Xs
In this iOS app, I call UIActivityViewController to let user Airdrop files from the app.
When trying to send a URL whose file name contains some characters like accentuated (-, é, '), the transfer fails.
Removing those characters makes it work without problem.
The same app running on Mac (in iPad mode) works with both cases.
I also noticed that even when airdrop fails, there is no error reported by
activityVC.completionWithItemsHandler = { activity, success, items, error in }
Are those known issues ?
I attach this log to the FB.
Thanks for investigating.
Failed to request default share mode for fileURL:file:///var/mobile/Containers/Data/Application/453B6EDB-3C76-4D2D-8355-702D4BD0263A/Documents/name%20accentue%CC%81.pdf error:Error Domain=NSOSStatusErrorDomain Code=-10814 "(null)" UserInfo={_LSLine=1796, _LSFunction=runEvaluator}
Only support loading options for CKShare and SWY types.
error fetching item for URL:file:///var/mobile/Containers/Data/Application/453B6EDB-3C76-4D2D-8355-702D4BD0263A/Documents/name%20accentue%CC%81.pdf : Error Domain=NSCocoaErrorDomain Code=256 "The file couldn’t be opened."
error fetching item for URL:file:///var/mobile/Containers/Data/Application/453B6EDB-3C76-4D2D-8355-702D4BD0263A/Documents/name%20accentue%CC%81.pdf : Error Domain=NSCocoaErrorDomain Code=256 "The file couldn’t be opened."
Received port for identifier response: <(null)> with error:Error Domain=RBSServiceErrorDomain Code=1 "Client not entitled" UserInfo={RBSEntitlement=com.apple.runningboard.process-state, NSLocalizedFailureReason=Client not entitled, RBSPermanent=false}
elapsedCPUTimeForFrontBoard couldn't generate a task port
Received port for identifier response: <(null)> with error:Error Domain=RBSServiceErrorDomain Code=1 "Client not entitled" UserInfo={RBSEntitlement=com.apple.runningboard.process-state, NSLocalizedFailureReason=Client not entitled, RBSPermanent=false}
elapsedCPUTimeForFrontBoard couldn't generate a task port
App is being debugged, do not track this hang
Hang detected: 4.19s (debugger attached, not reporting)
Received port for identifier response: <(null)> with error:Error Domain=RBSServiceErrorDomain Code=1 "Client not entitled" UserInfo={RBSEntitlement=com.apple.runningboard.process-state, NSLocalizedFailureReason=Client not entitled, RBSPermanent=false}
elapsedCPUTimeForFrontBoard couldn't generate a task port
App is being debugged, do not track this hang
Hang detected: 2.31s (debugger attached, not reporting)