четверг, 19 января 2012 г.

iOS 5 Bug! How to Track It Down

A bug report is filed. It has these ominous words: iOS 5 bug. Dun-dun-duuun. What do you do?

Twice now, this has happened to me at work. Here’s a technique I’ve used to find and fix the problems. It’s served me well!

First, fire up Xcode 4 and see if you can reproduce the iOS 5 bug in the iPhone 5.0 Simulator (or the iPad 5.0 Simulator, depending on your app). If you can get it to happen in the simulator, it makes life that much easier, because we’ll be switching back-and-forth between iOS versions.

Now rerun the scenario in the iOS 4.3 Simulator. Can you verify that the bug doesn’t occur there? Then we’re in business. You have a genuine iOS 5 bug!

Комментариев нет:

Отправить комментарий