SFML community forums
Help => General => Topic started by: SFMLNEWB on October 23, 2018, 10:27:24 pm
-
I followed the instructions here https://www.sfml-dev.org/tutorials/2.3/start-osx.php#installing-sfml for framework installation and when I try to build it fails.
I'm using xcode version 10 and the latest stable version of SFML. The error output is the following:
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/etk/Library/Developer/Xcode/DerivedData/ProjectGame-bcmdnghmhakkdudovokikhrhgkqs/Build/Products/Debug/ProjectGame.app/Contents/Frameworks//sfml-system.framework
Command PhaseScriptExecution failed with a nonzero exit code
What am I missing here? I'm new to macs.
-
Nothing huh? Oh well :(
-
(https://imgur.com/LGZjxN7)
https://imgur.com/LGZjxN7
I totally don't know why it is and what it effects, but it's working when build on my Xcode 10.1.
-
BrianD- thanks for the screenshot, I was having the same problem. Checking that worked.
I wonder what it is?
-
Me too. ;D
-
I looked all over for the past 2 days. Finally found this post. Fixed it!
Thank you!
-
Thanks a lot, BrianD, works like a charm now :D.
-
Look where the script is trying to copy the build library files from in order to bundle them with your application....
/Users/SFML/Desktop/packaging/tmp/install/Library/Frameworks
etc.
Do you have a User called SFML on your system?
I simply replaced it with
/Library/Frameworks
which is the location of the files according to the installation instructions.
Regards,
Adam