Saturday, October 6, 2012

Build LibreOffice on OS X 10.8 with Xcode 4.5

A lot of people have problems with building LibreOffice on OS X Mountain Lion with latest Xcode 4.5.
Below you can see how I succeeded with it.

I tried building LibreOffice 3.6.1.2.
At first I tell you what you should NOT do to build LibreOffice.
Then you will see steps to build LibreOffice 3.6.1.2 on OS X 10.8 with Xcode 4.5.


Friday, March 9, 2012

Missing stack trace in Xcode 4.2+ on iOS Device and Simulator when exception is thrown

After updating Xcode to version 4.2 I had difficulties with iOS app debugging.
For example, when I call objectAtIndex: method of an empty NSArray object, my app receives SIGABRT signal and execution is stopped in main() function with no information that can help me to find the error:

NSRangeException will be thrown

In console we can see that our app has terminated due to uncaught exception NSRangeException.
So the problem is that Xcode doesn't setup exception handler.