Blog Archives

Installning PHP5, Apache2 and MySQL 5 on OSX using MacPorts

Hi!

I know, its the longest title of a post.. ever. But… This is something I deal with everytime I reinstall one of my macs, and for the sake of saving some time I thought of writing it down here.

I expect you have OS X 10.8 installed (or higher), but this should also work with OS X 10.7.

MacPorts

Installing…

Before you can use MacPorts you need to install XCode and “Command Line Tools”. You can do this by opening XCode, opening the Xcode menu and choosing “Preferences…” (pic 1). In the new window that opens, choose “Downloads” (pic 2) and select “install” next to “Command Line Tools”.

Posted in 10.8, Apache, Apple, Development, Mac, MacPorts, OSX, PHP, Tutorials, XCode Tagged with: , , , , , , , , , , ,

MacPorts 2 & XCode 4.3

Well, to sum it up… this has been a “pain in the ass” for me. The last few days I have had some trouble running OS X 10.8 (Mountain Lion) preview… which is not that weird since it is a developers preview. The main problem was that MacPorts didn’t work since 10.8 uses Darwin 12 and Lion (with MacPorts 2 installation) uses Darwin 11.

So, I managed to screw things up so badly that I spend whole yesterday evening copying files manually to a USB drive using the “Install Disk” for Lion. Now I formatted my MacBook Air and Mac Mini and installed Lion once again.

Posted in 10.7, Apple, Development, Mac, OSX, Tools, Tutorials, XCode Tagged with: , , , , , , , ,

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

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:

Posted in Apple, Development, Free stuff, iOS, iPhone, Mac, Objective-c, OSX, Shell scripts, Tools, Tutorials, XCode Tagged with: , , , , , , , ,

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.

Posted in Apple, Development, Free stuff, iOS, iPhone, Mac, Objective-c, Tutorials, XCode Tagged with: , , , , , , , , , ,

Categories