SFML community forums
Help => General => Topic started by: chrishaku on October 09, 2023, 03:54:27 pm
-
Hello,
My name is Christophe.
Before I used SFML on a Windows computer with VS and it worked very well.
Now, I use a macbookPro M2, with mac os x 14.0 Sonoma and I can't use SFML with xCode even I follow the tutorial step by step.
The templates aren't present with 2.6, so I tried to use those from the previous version without success.
I get the following message :
Command PhaseExecution failes with a nonzero exit code.
I use SFML 2.6.0 for mac arm.
So can you help me get SFML to work on my mac with xCode please?
Christophe
-
Yeah, looks like I forgot to include the Xcode template when creating the macOS release package. It's still in the source though: https://github.com/SFML/SFML/tree/master/tools/xcode/templates
When I enter the error message into a web search, I get a various selection of threads, talking about different root causes.
Have you tried some of those suggestions?
https://developer.apple.com/forums/thread/123790
-
Thank you for taking the time to respond to me.
Unfortunately, the manipulation doesn't work here. The message remains the same.
I also tried the other template, the CLT version. This time the build succeeded but another error message appeared.
Traditionnal headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO.
For both templates, I use the code code give with the template with no modification.
-
Hello,
That now works for me but only the CLT version.
I link manualy the framework path on the tab "build phase" of xCode.
I couldn't get it to work the App version.