Weird error when trying to run network trace

I tried to run a network trace in Instruments to debug iPhone networking issues, when I got this message:


https://i.stack.imgur.com/KPoa8.png


It's referring to a call blocking extension from a deleted iPhone app, Wide Protect. I've rebooted the iPhone and trashed and reinstalled Xcode, but the problem persists. What's going on?

Replies

It's possible you accidentally chose that extension as your target a when it was installed. Instruments remembers your last target as a user default, which is why reinstalling Xcode didn't change anything. You should be able to change the target by clicking on that control at the top of the UI to the right of the record and pause controls.


Also, if you're using Beta 5, there is a known bug where Xcode didn't pass the target information, so if you ran it from the "Profile" action in Xcode in Beta 5, then it wouldn't choose your app as the target automatically.

Thanks, but neither of those conditions were true in my case. Anyway, the error seems to have gone away on its own.