NEFilterDataProvider Extension

I'm trying to create a sample NEFilterDataProvider extension based on the new iOS9 API's. I succesfully added a new target using the skeleton that's provided in the El Capitan frameworks folder. My issue is - I can't get breakpoints to trigger, and I can't get any device log information from the print statements I'm using in my code for debugging.


I've tried:

  • Running the host app, then attaching to the PID/Name of the extension
  • Running the extension scheme directly


When I run the extension scheme it asks me which app I'd like to attach it to. I've tried attaching it to both my host app and Safari to no avail. Any ideas?

First of all debugging is explained in this thread: https://forums.developer.apple.com/message/28596#28596.


I was able to run the sample but it seems after the configuration main app exits by itself with this error (abort or something):


Terminated due to signal 6


I am not sure if it's because of my rules are incorrect (no doc that I am aware of) or device is not supervised.

NEFilterDataProvider Extension
 
 
Q