Hi,
I have been attempting to profile an iOS tunneling network extension and have been running into issues when trying to profile on the iOS 10 GM. I want to use the Leaks and Allocations Instruments templates to monitor memory usage. I set the target device to my phone and the profiling target to my PacketTunnelProvider the and click record. I will then go into the app and tap the button that starts the tunneling connection, and the VPN text appears in the status bar. Meanwhile, on the Mac I sit at a dialog with the following text: "Waiting for com.mycompany.PacketTunnelProvider Please take appropriate action to initiate the launch of 'com.mycompany.PacketTunnelProvider.'"
Steps to Reproduce:
- Select the PacketTunnel's targets build scheme in Xcode
- Click 'Profile' with my iOS 10 device selected
- Instruments gets launched, I choose Leaks or Allocations instruments.
- New Instruments trace document opens, click the red record button.
- Go into the app to start tunneling VPN go into Setting.app and manually start VPN.
- VPN starts and stays connected, but Instruments never starts profiling, instead I still see the dialog: "Waiting for com.mycompany.PacketTunnelProvider Please take appropriate action to initiate the launch of 'com.mycompany.PacketTunnelProvider.'"
I have been profiling this way on iOS 9 without issue, but when trying to profile on an iOS 10 device, I cannot seem to get the profiler to attach to process.
I have filed a radar but I wanted to see if anyone else has a similar issue.
Radar ID: 28195578