Dear Ziqiao,
Thank you for your response. As requested, I have created a minimal project that reproduces the issue. Since external links are not permitted on the forums, please let me know the best way to share the project with you (e.g., email or an alternative upload method).
Issue Recap:
The Message Filter Extension is not being triggered at all in iOS 18.
The handle(_:context:completion:) method inside ILMessageFilterQueryHandling never gets called when an SMS arrives.
The same implementation worked fine in iOS 17 and earlier, but it is not functioning after the update to iOS 18.
Several other developers are also experiencing this issue and have reported it in Apple Developer forums:
Developer 1's Forum Post https://developer.apple.com/forums/thread/764561
Developer 2's Forum Post https://developer.apple.com/forums/thread/766285
Steps to Reproduce:
Install the minimal project on a real iOS 18 device (not just a simulator).
Enable the Message Filter Extension via Settings → Messages → Unknown & Spam.
Check the logs while receiving an SMS.
Observe that the filtering method never executes, meaning the extension is not being triggered.
Additional Context:
I have already updated to macOS Sequoia 15.
The issue persists on both real devices and simulators running iOS 18.
The extension is correctly set up with App Groups and required entitlements, but it is not receiving any SMS filtering events.
Questions:
Has there been any change in iOS 18 that affects the behavior of Message Filter Extensions?
Are there additional entitlements or configurations required for these extensions in iOS 18?
Is there an alternative way to debug or verify whether the system is actually attempting to invoke the extension?
I appreciate your time in reviewing this issue and look forward to your insights.
Best regards,
Mahesh GV