SFML community forums

Help => General => Topic started by: bmahecha123 on April 13, 2019, 06:14:00 am

Title: XCode Configuration Error SFML 2.5.1/ XCode Version 10.2 (10E125)
Post by: bmahecha123 on April 13, 2019, 06:14:00 am
Evening everyone,

Excited to get into SFML. I have a Mac and followed this tutorial which was very helpful -> https://www.sfml-dev.org/tutorials/2.5/start-osx.php

However when I try to run my project I get this error:

ditto: can't get real path for source '/Users/SFML/Desktop/packaging/tmp/install/Library/Frameworks/sfml-system.framework'
couldn't copy /Users/SFML/Desktop/packaging/tmp/install/Library/Frameworks/sfml-system.framework to /Users/brianmahecha/Library/Developer/Xcode/DerivedData/TestApp-dwxeqzluuofmlocpdqpznltjiahk/Build/Products/Debug/TestApp.app/Contents/Frameworks//sfml-system.framework
Command PhaseScriptExecution failed with a nonzero exit code

Any help debugging this would be greatly appreciated. Thanks everyone!
Title: Re: XCode Configuration Error SFML 2.5.1/ XCode Version 10.2 (10E125)
Post by: jeezs on April 15, 2019, 08:54:44 am
Hello,
I'm new to SFML just try it yesterday and I have the same error.
Anyone can help?
Thanks
Title: Re: XCode Configuration Error SFML 2.5.1/ XCode Version 10.2 (10E125)
Post by: jeezs on April 17, 2019, 11:33:09 pm
I found the cause of the problem you have to create some Directories in the user folder aside your home user and the the content of extlibs and frameworks for SFML Zip. (look a the attachement file) for the directories structure.
tested on two differents computers, it solve the problem, hope it helps.

Best regards

Jean-Eric
Title: Re: XCode Configuration Error SFML 2.5.1/ XCode Version 10.2 (10E125)
Post by: bmahecha123 on April 18, 2019, 04:13:47 am
Wow this worked!!!! Thank you so much.