Friday, March 02, 2012
LiveTabelle 1.2 now in the App Store
LiveTabelle 1.2 is now in the App Store. A must have for your next soccer tournament. You can be sure that we'll not rest on all the very positive feedback we've got so far from our users but keep working on realizing even more feature requests as soon as possible.
Monday, October 17, 2011
Watch out Soccer Fans: LiveTabelle my latest iPhone App is available now
Don't miss to look at my new iPhone App - LiveTabelle! It's available in the App Store now: http://itunes.apple.com/de/app/livetabelle/id471294860?ls=1&mt=8
More Information (in German only) at rachui-design.com
More Information (in German only) at rachui-design.com
Saturday, February 19, 2011
How to debug XCode Unit Tests?
XCode has the necessary facilities (based on OCUnit) to easily create and execute unit tests. No doubt I want to take advantage on test driven development when developing iPhone and iPad Apps. There are two different kinds of unit tests according to Apple's documentation namely Logic tests (Unit tests in the pure sense) and Application tests (they are more to be considered system level tests).
How to set up each kind of tests for your project is documented in Apple's iOS Development Guide
Logic Tests will be executed at compile time when the target is Simulator. Application tests on the other hand will be executed when you "Build&Run" your code on the device. Sooner or later there will be the need to debug your tests. Debugging Application tests is just a matter of setting break points and "Build&Debug". Debugging Logic tests is not as easy though. There is a good description on how to get it to work anyway see How to debug iPhone Unit tests
I followed the steps mentioned in this blog post but alas it didn't work. :( So I fiddled a bit until I found the solution. Basically all the steps mentioned are correct and I'm happy I didn't had to find them myself (so a big thanks to the author!). The only thing that was incorrect were the necessary environment variables as described in section "Setting up the otest Environment". According to my investigations no only were most of them needless (at least with XCode 3.2.5 and iOS SDK 4.2) some of them turned out to be counter productive (*). To make a long story short the only environment variable that need to be set is DYLD_ROOT_PATH=$SDKROOT and you can happily debug your Logic Tests.
(*) In case you are interested: I found out which of the environment variables were problematic by setting the DYLD_PRINT_ENV environment variable (see 'man dyld') and have the dynamic linker print his environment. This way I saw that some of the paths (especially those containing spaces ;)) were incorrectly quoted.
How to set up each kind of tests for your project is documented in Apple's iOS Development Guide
Logic Tests will be executed at compile time when the target is Simulator. Application tests on the other hand will be executed when you "Build&Run" your code on the device. Sooner or later there will be the need to debug your tests. Debugging Application tests is just a matter of setting break points and "Build&Debug". Debugging Logic tests is not as easy though. There is a good description on how to get it to work anyway see How to debug iPhone Unit tests
I followed the steps mentioned in this blog post but alas it didn't work. :( So I fiddled a bit until I found the solution. Basically all the steps mentioned are correct and I'm happy I didn't had to find them myself (so a big thanks to the author!). The only thing that was incorrect were the necessary environment variables as described in section "Setting up the otest Environment". According to my investigations no only were most of them needless (at least with XCode 3.2.5 and iOS SDK 4.2) some of them turned out to be counter productive (*). To make a long story short the only environment variable that need to be set is DYLD_ROOT_PATH=$SDKROOT and you can happily debug your Logic Tests.
(*) In case you are interested: I found out which of the environment variables were problematic by setting the DYLD_PRINT_ENV environment variable (see 'man dyld') and have the dynamic linker print his environment. This way I saw that some of the paths (especially those containing spaces ;)) were incorrectly quoted.
Friday, February 11, 2011
First time at a Cocoaheads Meeting in Hamburg
Unbelievable but true - I've been at a Cocoaheads meeting in Hamburg (Germany). It took place last week in the office of the Xing AG and an (for me) unexpected high number of people showed up. There was an interesting presentation about unit testing in XCode. I really looking forward to the next meeting which is scheduled for Mar. 3rd according to this page Cocoaheads Hamburg
More information about the Hamburg Cocoaheads community are here Cocoaheads Hamburg Google Group
More information about the Hamburg Cocoaheads community are here Cocoaheads Hamburg Google Group
Thursday, December 02, 2010
Turning hobby into profession
It's been ages since I've written here last time. I'm sure even the most loyal followers of this blog (if I've ever had some) have disappeared meanwhile. Anyhow I'm still alive at good health and fully motivated to tackle the challenges ahead.
A long time ago I started to develop on Mac in the context of the OpenOffice.org port to Mac OS X. Since that time I really fell in love developing on Mac and I even more fell in love developing for the iPhone. For quite some time I've been living basically a double life working on enterprise software developed in Java, C/C++ during my professional life and developing iPhone Apps in my free time. Now I've decided to turn what has been a hobby for so long into profession. Starting in January I'll be an iPhone/iPad developer in a fine company with excellent people in Hamburg - exciting.
Tuesday, February 05, 2008
Aqua Port: Drag&Drop coming soon
Quite some time has passed since my last blog entry where I announced that I've completed the clipboard bridge for the Aqua port. My full-time job working on a wonderful product called Sun Ray required most of my attention in the last couple of months so there was limited time for voluntary work (yes contributing to OOo has been spare time fun for me for almost two years meanwhile ;)). But today I'm happy to let you know that I've finally managed to finished my work on the Drag&Drop implementation. I hope you'll enjoy it, it's coming (very) soon.
Thursday, June 28, 2007
Mac Port: Clipboard work completed
I'm happy to continue the series of good news for the Mac porting project with the announcement that I completed the implementation of the clipboard service for OOo on Mac OS X. That means that data exchange via clipboard is now possible for the most comonly used formats (e.g. Plain text, RTF, HTML, Pictures). Even OLE data exchange between OOo and MS Office works reasonably already. All changes are in module 'dtrans' of cws aquavcl01.
I hope you'll enjoy it.
I hope you'll enjoy it.