Apr 1 2012

Writing the XCode Cookbook

flattr this!

Hi!
As some of you might know, I am writing an XCode Cookbook. This is a book which will contain only tutorials on how to do different things within XCode. So, no tutorials like “Adding Facebook to my iPhone app”, but more in the style like “Adding custom location to the iOS Simulator” or “Managing multiple targets within my project”.

I have a list of about 50-60 tutorials, but I need more. I need about 40 tutorials (3-4 chapters) more, so I am looking for tips; and since you, my readers, come here for such things, who better to ask but YOU!


Dec 13 2011

Tool: Fix bootstrap server error when launching from xCode to iOS Simulator

flattr this!

Since the release of XCode 4.2 I have noticed a certain error poping up after buidling reguarly. The error incidcates that the iOS Simulator already has a process running or is hung. The anoying part is that even if you quit XCode and iOS Simulator, the problem wont go away.

This is the error:

Couldn’t register com.myApp.debug with the bootstrap server. Error: unknown error code. This generally means that another instance of this process was already running or is hung in the debugger.Program received signal: “SIGABRT”.

OR:


Nov 30 2011

iOS 4 & iOS 5 tutorial: UIAlertView with link to WIFI or Settings app using Reachability and XCode 4.2

Hi!

This tutorial is about how to make your apps UX just a little bit better. Have you ever noticed the message in google maps stating that if you activate Wifi you would get a better positioning? Or that when you want to send a text message and your phone is on flight mode, that you get the message to de-activate flight mode in order to send a text?

Well, it is actually really simple. These are just links that are opened. So, in this tutorial I will show you how to do this using e.g. Reachability.


Aug 3 2011

Automatic incremental build number in xCode 4.3

Hi,

I have always wondered how to get a better build number in my projects, instead of having to change is manually. So, I finally googled it and found a solution. Or better yet, found several… but none working for xCode 4.3.

In xCode 4.3 you can actually change the build number manually in the project settings. I have not found a solution yet to activate an automatic build number update, however I have not search so much for that either.


Apr 23 2011

XCode 4: CoreData Tab Bar Application template

flattr this!

Hi,

When apples released its XCode application, it never added CoreData support to the Tab Bar Application template… although, in my case I usually want this feature. So… now I need to create a Tab Bar Application and a Window-based Application and copy the CoreData stuff from one to the other.
This is, off course, very annoying. So, what I want is to adapt the current templates to support even Core Data… “F*cking hell, this is most likely a mess to get working”… but I was wrong.
It is much easier to do in XCode 4 then it is in XCode 3.x. I am not going to cover XCode 3 cause I have gone over to the dark side (= XCode 4).