Post not yet marked as solved
I use NSLog Statements to see the logs in the Apple Configurator device console. and I had searched for QNEFilter as well as the name of my application but could not find any log statements that were supposed to be printed.RegardsManeesh Sharma
Post not yet marked as solved
EricaI referred the conference video thoroughly and I implemented the FilterData as well with the Filter Control extension and the errors that were persistent went away. However, I get no log statements printed from either the Filter Data extension or the FilterControl extension. This happens when I work with my application as well as the QNEFilter application that you had provided for testing purpose. I have checked the entitlements file as well as adding the capabilities to the targets that I have. and everything seems to be at place in terms of provisioning profile and the entitlements, Can you please guide if I'm supposed to check anything else apart from that ? RegardsManeesh Sharma
Post not yet marked as solved
Hello Quinn I checked the presence of the appex files inside the plugins and the .appex file along with the network extension executable was inside the plugins folder only.I checked for the network extension key and to my surprise , this got printed$ /usr/libexec/PlistBuddy -c "print :NSExtension" MY_APPLICATION.app/PlugIns/MY_FILTER_CONTROL_EXTENSION.appex/Info.plist
Dict {
NSExtensionPointIdentifier = com.apple.networkextension.filter-data
NSExtensionPrincipalClass = MY_OBJECTIVE_C_CLASS
}If you notice in Line 3 , it is filter data instead of filter-control. However , I changed it to filter control and rechecked and it was fine this time. But the error is still persistent stating thatnesessionmanager(NetworkExtension)[13049] <Error>: -[NESMPluginRegistry copyInfoF:177 Plugin <BUNDLE_ID> does not have a bundle URL
nesessionmanager(NetworkExtension)[13049] <Error>: -[NESMFilterSession initialize:257 Failed to find plugin <BUNDLE_ID>And one more thing , I am using only the FilterControl extension and not FilterData extension. Is it mandatory to use both the extensions for the plug-in to work as intended ?Thanks and regards Maneesh Sharma
Post not yet marked as solved
Hi Quinn , Update on the issue : I have the same error logs as the user had mentioned in this forum post here (https://forums.developer.apple.com/thread/31824). I am unable to understand what problem did the user had there and how did the user resolved it there . Copying the plugins into the framework folder instead of the plugins foler. Any assistance on this would be useful.
Post not yet marked as solved
How did you do that toaomtoaom ? I have the same error logs and I don't really understand what you have meant there.
Post not yet marked as solved
Hello Quinn, I checked the entitlements of the built binaries as well and could see that the Network extension key was same in .app as well as the .appex entitlement files. Filter configuration is being pushed from the server as a .xml file to the device which has the payload required for NEFilterManager to save the configuration. And sadly , the application is still in the same state.
Post not yet marked as solved
How did you manage to do it ? I have the entitlements as well as I have Log statements . But it doesn't seem like they are being triggered. I am working with Data Provider.