This tutorial will explain how to set up environment for successful building Objective-C applications on Ubuntu for total beginners (without Apple machine)
.
It’s based on this step by step wizard: Getting started with Objective C on Ubuntu.
We can’t use default Cocoa implementation from iOS, instead we have another implementation suitable for Linux: GNUstep.
Needed steps:
- Install headers for gcc:
sudo apt-get -y install build-essential - Install GNUStep:
sudo apt-get install gobjc gnustep gnustep-make gnustep-common - Add next line to .bashrc
#GNUSTEP Environment vars
. /usr/share/GNUstep/Makefiles/GNUstep.sh
And you are good to go. How to create make file and Hello World follow this link: Getting started with Objective C on Ubuntu.
Some useful links:
Reblogged this on Sutoprise Avenue, A SutoCom Source.