WeTransfer / Mocker

Mock Alamofire and URLSession requests without touching your code implementation
MIT License
1.12k stars 96 forks source link

Can Mocker be used on an application target (on my phone)? #81

Closed cgoldammer closed 3 years ago

cgoldammer commented 3 years ago

I have the following use case: I develop an app in XCode (12.3), and want to mock out the API so I can develop more quickly (data loads faster, I don't need to modify the backend while iterating towards the right structure). I use Mocker to do that, which works great on simulators.

What doesn't work easily is to run the app, including Mocker, on my phone (IPhone 11), see SOE comments.

Would be great if you could clarify in the docs whether Mocker should be used only for testing (and thus never run on my phone) or can only be used for the above use case. In the latter case, maybe I am doing something wrong that prevents it from running. Thanks!

github-actions[bot] commented 3 years ago

This issue is stale because it has been open for 30 days with no activity. Remove the Stale label or comment or this will be closed in 10 days.