Create Environment for stock ATV 1.1 Development with Leopard

From AwkwardTV
Jump to: navigation, search

What you get

  • An environment to create frappliances for ATV 1.1 (tested with Sapphire svn checkout and Leopard 10.5.2)

What we do

  • copy Private Headers from different zips to the approciate places
  • create some links
  • edit one header to include Private ones

What you need


  • create directory /Developer/SDKs/MacOSX10.4u.sdk/System/Library/PrivateFrameworks/BackRow.framework
  • extract BackRow's PrivateHeaders-directory from BDK and copy it to that newly created directory
  • create symbolic links from the BackRow.framework directory to your Leopard BackRow framework:
>cd /Developer/SDKs/MacOSX10.4u.sdk/System/Library/PrivateFrameworks/BackRow.framework/
>for i in BackRow CodeResources Resources Versions; do ln -s /Developer/SDKs/MacOSX10.5.sdk/System/Library/PrivateFrameworks/BackRow.framework/$i $i; done

In the end that directory looks like:

>ls -l
total 32
lrwxr-xr-x    1 root  wheel     59 14 Feb 02:47 BackRow -> /Developer/SDKs/MacOSX10.5.sdk/System/Library/PrivateFrameworks/BackRow.framework/BackRow
lrwxr-xr-x    1 root  wheel     65 14 Feb 02:48 CodeResources -> /Developer/SDKs/MacOSX10.5.sdk/System/Library/PrivateFrameworks/BackRow.framework/CodeResources
drwxr-xr-x@ 601 root  wheel  20434 14 Feb 02:47 PrivateHeaders
lrwxr-xr-x    1 root  wheel     61 14 Feb 02:48 Resources -> /Developer/SDKs/MacOSX10.5.sdk/System/Library/PrivateFrameworks/BackRow.framework/Resources
lrwxr-xr-x    1 root  wheel     60 14 Feb 02:48 Versions -> /Developer/SDKs/MacOSX10.5.sdk/System/Library/PrivateFrameworks/BackRow.framework/Versions
  • cd to /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Quartz.framework/Frameworks/QuartzComposer.framework
  • extract QuartComposer PrivateHeaders-directory from BDK to here
  • edit ./Headers/QuartzComposer.h and include the Private Headers through adding:
 #import <QuartzComposer/QuartzComposerPrivate.h> 
  • That's it.

With what I tried was Sapphire. Checkout from; open the Xcode-Project; Select "Complete Sapphire" as target, and build and test it.


2 Steps:

  • rm -rf /Developer/SDKs/MacOSX10.4u.sdk/System/Library/PrivateFrameworks/BackRow.framework
  • rm -rf /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Quartz.framework/Frameworks/QuartzComposer.framework/PrivateHeaders
  • from /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Quartz.framework/Frameworks/QuartzComposer.framework/Headers/QuartzComposer.h following line
#import <QuartzComposer/QuartzComposerPrivate.h>