Use Charles to Rewrite Responses While Developing iOS Apps

You don’t need a backend (right now)

Steven Curtis
4 min readFeb 8, 2021

Difficulty: Beginner | Easy | Normal | Challenging
This article has been developed using Xcode 12, and Swift 5.3

Prerequisites:

Terminology

Charles: A HTTP proxy for development

A warning

Be careful because many guides instruct developers to turn off the mac proxy, but using this simulator this prevents the developer seeing the data from their target App!

The original App: The original App makes a network call and prints the following to the console:

{
error = "user not found";
}

We are going to change that response!

Step-by step instructions to change a response

  1. Download Charles. It has a…

--

--

No responses yet