[quote='879236022, ADietz, /thread/817792?answerId=879236022#879236022, /profile/ADietz'] each needs some level of code modification of the app under test? [/quote] No, and yes. The first approach doesn’t require you to modify the app under test because the actual local networking ends up being done by your Mac. However, it’s a lot trickier to set up because it requires you to bring up a non-local server. The second approach is easier to set up but it does require support within the app under test. Hmmm, and that suggests a third approach, which is a variant of the second one but with the proxy running in a completely different app on the test device. For this to work you’d have to ensure that this proxy app runs indefinitely in the background. That’s tricky to do in production — see iOS Background Execution Limits — but you can probably make it work in this just-for-testing scenario. So, something like this: Create an ‘audio streaming’ app that continuously plays silent audio and implements the sort
Topic:
App & System Services
SubTopic:
Networking
Tags: