Thanks edford.That's what I eventually did.
I'm trying to copy them over during the build in the build phase. The frameworks are referenced by the local paths in the project
Seems like you're confusing 2 types of the SSO extensions. If you want to provide headers, your extension should be of a Credential type, not Redirect.Redirect extension is for handling requests. Credential requests is for handling challenges.
There is a techtalk video on this topic, that seems to go more into detailshttps://developer.apple.com/videos/play/tech-talks/301/
Then you should handle it in a delegate method or gestureRecognizerShouldBegin method of the view.
Take a look at isModalInPresentation propeprty on a viewcontroller that you're presenting
Post not yet marked as solved
Have you suspended your application? I believe background tasks won't trigger while application is running.Also it would be usefull to look at the device console logs and see if there is anything happening at the time when you expect your task to execute
Post not yet marked as solved
Thank you for the answer.I've figured that out. Now I have another question. According to documentation I should not be able to specify single word for a SafariDomains, e.g. ".com" or ".us" and get all the traffic that is going to that Top Level Domain (TLD).However in practice this seems to be possible, i.e. any networking going to the TLD I've specified in my SafariDomains is triggerring my VPN extension.