Regarding SDL build for iOS Simulator/iOS Device

Hi,

I am trying to build SDL lib for iOS simulator as well as for iOS device. I
couldn’t success. After I got following link.
https://github.com/manifest1985/sdl-ios-templates
But, I am not understanding how to follow the readMed doc.

What I did?
I downloaded “sdl-ios-templates”, and kept inside
/Library/Developer/Xcode/Templates
and downloaded “sdl-ios-framework”, and kept inside /Library/Frameworks.
Then I navigate to /Library/Frameworks/sdl-ios-framework directory, and RUN
"rake" command from terminal window. It doesn’t work. Please correct me
where I am making mistak.

I will appreciate for your help.–
Thanks and regards,
Shreyas Patel

I didn’t know about these other templates. I have my own prototype
sets I posted a few months ago. These have no dependency on external
build systems like rake.

You can find the hg repo here:
http://www.assembla.com/code/sdlxcode4templates/mercurial/nodes

Copy them to
~/Library/Developer/Xcode/Templates/SDL
or
/Library/Developer/Xcode/Templates/SDL

They need work.

The Mac ones mostly work provided you have the SDL.framework in
/Library/Frameworks and you always pick the correct version (1.2 or
1.3). However, I don’t know how to hook into the copy files to bundle
phase to embed the SDL.framework into the .app bundle. You’ll have to
set this up manually. The compatibility targets are set to 10.5 and
x86_64 and i386, but using the latest SDK.

The iOS template does not work out of the box. I don’t know how to set
up a link dependency on a (static) library instead of a framework. I
think we should include the static library inside the template if we
figure out the other thing.

Help on this is welcome.

-Eric–
Beginning iPhone Games Development
http://playcontrol.net/iphonegamebook/

On 12/19/11, Shreyas Patel <shreyas.bme at gmail.com> wrote:

Hi,

I am trying to build SDL lib for iOS simulator as well as for iOS device. I
couldn’t success. After I got following link.
https://github.com/manifest1985/sdl-ios-templates
But, I am not understanding how to follow the readMed doc.

What I did?
I downloaded “sdl-ios-templates”, and kept inside
/Library/Developer/Xcode/Templates
and downloaded “sdl-ios-framework”, and kept inside /Library/Frameworks.
Then I navigate to /Library/Frameworks/sdl-ios-framework directory, and RUN
"rake" command from terminal window. It doesn’t work. Please correct me
where I am making mistak.

I will appreciate for your help.


Thanks and regards,
Shreyas Patel