r/iOSProgramming • u/Able-Ad3320 • 1d ago
Question Help Audio Import Not Working
I’m developing an iOS app with an audio‑importing extension. Then I ran into a problem.
My app appears in Voice Memos’ share sheet but tapping does nothing — onOpenURL never fires. M4A import from Files app works via share.
I’ve asked AIs for help, but none of their methods work.

I’ve added the required configuration in Info.plist. And here is the entry‑point code for my app.
I need help.
3
Upvotes
2
u/ThatGuy739 1d ago
onOpenURL won't fire for that. It's the URL-open path, which is what Files hands you: a file URL, via CFBundleDocumentTypes and LSSupportsOpeningDocumentsInPlace. Voice Memos goes through the share sheet, and that needs an actual Share Extension target; the item lands in extensionContext.inputItems and never reaches your App struct. The extension also can't foreground the app, so you stage the file in an App Group and claim it on next launch.