Update: okay so I was wrong about screen time api's limitation in the original post. It allows you to block websites by providing it with a list of urls BUT at the moment, it only allows you to block 50 websites. Hence, the original question still stands since my app specificaiton requires it to go beyond blocking 50 websites.
Post
Replies
Boosts
Views
Activity
I see. I did as you instructed, but I'm still getting the same error.
2023-09-15 23:16:02.749005+0600 controlShift[81746:874607] [] -[NEFilterManager saveToPreferencesWithCompletionHandler:]_block_invoke_3: failed to save the new configuration: (null)
I have a suspicion that this might have to do with my computer specifically since I get the same error when I try to build and run this repo (https://github.com/anismansuri63/MacFilter) that I found online through this post (https://developer.apple.com/forums/thread/703655) while trying to find a solution to my problem. I could be wrong, but right now, I am unable to test this on a different computer.
If anyone has some insights into this, that'd be helpful. Thanks!
Okay, you're right, I didn't activate the system extension correctly. Now that I have, I am getting this error:
Failed to register with the provider: Couldn’t communicate with a helper application.
For context, I have disabled my SIP and ran "systemextensionsctl developer on" in the terminal.
I used Apple's SimpleFirewall demo project (https://github.com/cntrump/SimpleFirewall) as a reference. The project runs fine on my system without any issues.
@eskimo Here are the crash reports generated today when I ran the program and encountered the same problem.
https://drive.google.com/drive/folders/1eMvYRTuN_FtgcWP1Sf6EDbBirOw34Dg2?usp=sharing
I couldn't attach the crash report directly to this message as it was giving me a weird error that my post contained sensitive information, which isn't true.
Also, here is my code on GitHub for easier reference: https://github.com/stilakid/dnsFilter-test
@eskimo please advice on how I can do this (checking the property in the built binary.) Also, let me know if followups like this one should be posted as a reply or a comment to your reply.
@eskimo I need to implement this for both iOS and macOS. Thanks.
@eskimo the participants will be volunteers from the public that consent to their network data being collected over a period of 2-3 months