Articles by tag: xcode

Resetting the application data after each test with Xcode 7 UI Testing

Apple introduced in Xcode 7 UI testing that allows developers to easily test their user interface, but if you try it yourself you will soon discover that tests are not executed in isolation. The application starts where it was left off and it can be very problematic if your application has a state that you modify through your tests. Eg. some kind of on-boarding, creating records and so on.

Read More

How to Debug a webapp on iOS WebView

The issue

A few months ago we suddenly faced a very strange problem. Our webapp looked completely broken in a very specific version on iOS inside a web view of another iOS app. Something was wrong with our Javascript code, but only on this particular context. First thing that came to our minds: “how are we going to debug this if we don’t even have access to our usual development tools?”

Read More