SM Framework
SM Framework
SM Framework
4-2-2011
1
1.1
Getting SMFramework
Getting Dependencies
SMFramework does not require much but it does require a few things:
SMFramework does not require XCode to build it but it does require the SDKs provided with xcode. theos is required for the actual building. ATV2 Backrow.framework and AppleTV.framework headers it also requires gnutar and dpkg (for theos)
1.1.1
Theos
To install theos just follow the instructions on: http://iphonedevwiki.net/index.php/Theos/Getting Started#For Mac OS X Once those instructions are followed you might want to add: e x p o r t THEOS=/opt / t h e o s to your .prole le so the $THEOS variable is always set. 1.1.2 Headers
Once theos (and i assume Xcode) is/are installed, you need to download the Headers. Assuming we want SMFramework inside a folder: /DVLP, we would do the following:
go to the folder:
cd /DVLP
get the headers from github
Page 1 of 2
4-2-2011
the easiest way would be to simply use macports. (this is the methods explained here). Once macports is installed the following steps should be followed: 1. install dpkg sudo p o r t i n s t a l l dpkg 2. install gnutar sudo p o r t i n s t a l l g n u t a r 3. symlink gnutar to tar sudo l n s / opt / l o c a l / b i n / g n u t a r / opt / l o c a l / b i n / t a r
1.2
SMFramework
Go back to your DVLP folder and clone SMFramework: cd /DVLP g i t c l o n e g i t : / / g i t h u b . com/ tomcool420 /SMFramework . g i t And thats it you now have all that is required to install and compile SMFramework
Building SMFramework
Page 2 of 2