IdentityLookup ILMessageFilterExtensionConfigurationManager Scope

I'm working on building a Text Messages Filter Extension app and currently facing the below error:

"Cannot find 'ILMessageFilterExtensionConfigurationManager' in scope".

As required the app includes MessageFilterStatusManager.swift file, with the host app designated as the Target Membership.

App minimum deployment is set to iOS 17.6 and I'm working with Xcode Version 26.2.

If anyone has encountered this error I'd appreciate your feedback.

Thanks for the post

Where is ILMessageFilterExtensionConfigurationManager defined? Are you talking about ILMessageFilterExtension instead https://developer.apple.com/documentation/identitylookup/ilmessagefilterextension

Is there a sample you are using? Can you post the link here?

The error "Cannot find 'ILMessageFilterExtensionConfigurationManager' in scope" directly tells us that the compiler cannot find the definition for this class.

If you are willing to create an app to to Message Filter App Extension I would start at https://developer.apple.com/documentation/identitylookup/creating-a-message-filter-app-extension/

Let’s find where ILMessageFilterExtensionConfigurationManager is defined and reference that?

Hope this helps.

Albert Pascual
  Worldwide Developer Relations.

As per ChatGpt:

ILMessageFilterExtensionConfigurationManager is defined by Apple in the IdentityLookup framework, but with an important caveat about where it is visible.

Where it’s defined • Framework: IdentityLookup • Platform: iOS • Introduced: iOS 16+

Got it!

Looks like a hallucination from ChatGPT as I am looking at the documentation and I can't find that class ILMessageFilterExtensionConfigurationManager

Do you have a link to Apple's documentation showing that class or a sample that reference that? Or anything else besides ChatGPT?

Albert Pascual
  Worldwide Developer Relations.

Thanks for confirming!

I was looking for a way to confirm if user has enabled third party Text Message Extension Filter.

My app is in development / beta testing, and is filtering Unknown Senders Text Messages to classify as Spam, Transactions or Promotions. I'm interested in facilitating the process of enabling text filter app.

Thanks for the post, again, I do not know all the classes in all the Apple OS system, would love to but brain is too small. So if you found that class in a documentation instead of an answer from a AI Id love to take a look, otherwise looks like a hallucination to me.

Now on your app development, the functionality you are implementing for user privacy and control seems very similar of the settings available current messages as far as I can tell, where users must explicitly grant permission and select only known contacts.

I would recommend to look at those settings on the messaging app.

Good luck on your development.

Albert Pascual
  Worldwide Developer Relations.

IdentityLookup ILMessageFilterExtensionConfigurationManager Scope
 
 
Q