Discoveries in Xcode Organizer
Recently, I've spent quite some time working on the next release of Ultimate Password Manager. There is times when you create many new builds of an application that you install quickly on the iDevice to test specific area of the application. Xcode allows you to build and archive an application that we can then install via iTunes (too slow process) or via an Xcode's Organizer (faster).
There is a manual way of symbolicating crash logs but many developer forums are filled with comments about how flaky the process seems to be. With Organizer, when you connect one device used as a development device, you get automatic symbolicated crash logs as soon as you click the Crash logs tab.
The other thing I discovered while using Organizer is how much more often applications seems to crash because of lack of memory since my device is on iOS 4.
Also, iDevice like the iPhone is a real computer. A Unix-based computer. Looking at the Console while the device is plugged into the USB port, you get quite a lot of runtime messages in the console.
Here is an excerpt of the console messages while using Facebook application:
Sat Sep 11 09:17:09 iPhoneJF MobileMail[69]
Sat Sep 11 09:17:10 iPhoneJF kernel[0]
Sat Sep 11 09:17:10 iPhoneJF kernel[0]
Sat Sep 11 09:17:10 iPhoneJF sandboxd[444]
Sat Sep 11 09:17:10 iPhoneJF com.apple.locationd[22]
Sat Sep 11 09:17:19 iPhoneJF /usr/libexec/spd[418]
Sat Sep 11 09:17:19 iPhoneJF CommCenter[33]
Sat Sep 11 09:17:20 iPhoneJF /var/mobile/Applications/E12AB2E8-CDE7-454A-86B0-C2E652C8FEEE/Facebook.app/Facebook[381]
Sat Sep 11 09:17:20 iPhoneJF /var/mobile/Applications/E12AB2E8-CDE7-454A-86B0-C2E652C8FEEE/Facebook.app/Facebook[381]
Sat Sep 11 09:17:20 iPhoneJF /var/mobile/Applications/E12AB2E8-CDE7-454A-86B0-C2E652C8FEEE/Facebook.app/Facebook[381]
Looking at those messages, someone could wonder what is the problem with Facebook? We also see that Skype was put in suspended mode while Facebook app was started.
Don't be afraid to look around in Organizer. Try for yourself, start Xcode, then select Organizer in the Window menu and plug your development device. The green light indicate that all pertinent informations has been read by Organizer in order to let you see what is going on in the plugged in device.
Post a Comment | 






Reader Comments