Skip to content

Instantly share code, notes, and snippets.

@satujamsaja
Last active December 26, 2023 23:13
Show Gist options
  • Select an option

  • Save satujamsaja/03b787080d2a95442f604a0ece5857b0 to your computer and use it in GitHub Desktop.

Select an option

Save satujamsaja/03b787080d2a95442f604a0ece5857b0 to your computer and use it in GitHub Desktop.
Configure SFML Xcode 10

Download SFML and Setup

  • Download SFML: https://www.sfml-dev.org/download/sfml/2.5.1/ Mac OS Version: Clang - 64-bit (OS X 10.7+, compatible with C++11 and libc++)
  • Extract archive
  • Copy Frameworks and extlibs from source to /Library/Frameworks
  • Copy include/SFML directory from source to /usr/local/include
  • Copy lib/ directory content from source to /usr/local/lib

Install SFML Xcode template

  • Copy templates/SFML from source to : ~/Library/Developer/Xcode/Templates/

Verify SFML Xcode settings

  • Validate and configure search path
  • Go to Build Settings section
  • Search Paths settings "Always Search User Paths(Deprecated): Yes"
  • Search Paths settings "Framework Search Paths: /Library/Frameworks"
  • Search Paths settings "Header Search Paths: /usr/local/include/"
  • Search Paths settings "Library Search Paths: /usr/local/lib/"

Create new project and run

  • Create new SFML Project from SFML template
  • Go to Build Phases
  • On "Run Script" section, check/enable: "Run script only when installing" this will prevent from build error
@anthonypate54
Copy link

Sorry. It doesnt work

@anthonypate54
Copy link

I am on xcode 15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment