Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: [SOLVED] - xCode 4 - Templates?? Now showing up?  (Read 2492 times)

0 Members and 1 Guest are viewing this topic.

aNewHobby

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
    • Live 4 Ever Or Die Trying
[SOLVED] - xCode 4 - Templates?? Now showing up?
« on: May 11, 2012, 12:18:44 am »
I can not seam to find the templates.

I built SFML2 form the snapshot using cmake and everything seamed to go fine... but I can not seam to see the sfml templates.... I go "New Project" like in the tutorial but I do not see any SFML templates...

Is there a way I can simple add them to Xcode?
« Last Edit: May 11, 2012, 05:28:10 am by aNewHobby »
Twitter: @Jyinkies
My Own Little Spot on the Net: - Live4everOrDieTrying.info (Blog)

aNewHobby

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
    • Live 4 Ever Or Die Trying
Re: xCode 4 - Templates?? Now showing up?
« Reply #1 on: May 11, 2012, 12:45:19 am »
I went to this site....

https://github.com/mantognini/Xcode-4-Templates

Downloaded the zip and copied the Templates Folder as per instructions...
Quote
Install

In order to use these templates in Xcode 4 copy the Templates folder to /Library/Developer/Xcode. Create the destination folder if needed.

I copied the templates there and I also tried ~/Library/blahblahblagh
Twitter: @Jyinkies
My Own Little Spot on the Net: - Live4everOrDieTrying.info (Blog)

aNewHobby

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
    • Live 4 Ever Or Die Trying
Re: [SOLVED] - xCode 4 - Templates?? Now showing up?
« Reply #2 on: May 11, 2012, 05:29:18 am »
I made a adjustment to the cmake and they showed up.. turns out you need to enable "developer mode" inside xcode for cmake to fully complete.
Twitter: @Jyinkies
My Own Little Spot on the Net: - Live4everOrDieTrying.info (Blog)

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: [SOLVED] - xCode 4 - Templates?? Now showing up?
« Reply #3 on: May 11, 2012, 10:01:05 pm »
https://github.com/mantognini/Xcode-4-Templates is not related to SFML. As the readme says it only contains new C++ class template.
SFML / OS X developer

aNewHobby

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
    • Live 4 Ever Or Die Trying
Re: [SOLVED] - xCode 4 - Templates?? Now showing up?
« Reply #4 on: May 12, 2012, 05:17:03 am »
yeah i realise this, but the instructions in the read me didn't work. as in placing them / creating that directory didn't make the templates show up in xcode. I still do not know why.

The solution was to use cmake to build he templates and install them from the snapshot itself. This worked fine.
Twitter: @Jyinkies
My Own Little Spot on the Net: - Live4everOrDieTrying.info (Blog)

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: [SOLVED] - xCode 4 - Templates?? Now showing up?
« Reply #5 on: May 12, 2012, 08:11:30 am »
(I know your problem is now solved but I'm writing for futur reader so they can understand what to do and where to find explanation.)

Quote
the instructions in the read me didn't work.
This readme is really only for my own project and doesn't work for SFML. But it works! The templates are available when you create a new file. Not a new project.

Quote
The solution was to use cmake to build he templates and install them from the snapshot itself.
Yes, this is written in Compiling SFML with CMake tutorial.

You can also read this other readme which is for SFML's templates.

Alternatively, you can use the installer as explained in the getting started tutorial for mac.
SFML / OS X developer