1
General / [FIXED]Re: Setting up SFML on OS X Yosemite / Xcode 6 Clang errors
« on: November 02, 2014, 07:03:34 pm »
I fixed it!
Very strange, however in the Frameworks folder, for example
sfml-audio.framework the sfml-audio file is 0 bytes, but if you go in /Versions/2.1.0/ there is a sfml-audio file that isn't empty(177kb), I copied this to the root in sfml-audio.framework and did this for all of them it finally worked (after clean and clean build folder).
I did this on another clean project, that does not have the frameworks added in the project folder or in the Build Phases. Note that they are still not added to the project under /Frameworks/ as the screenshot in the tutorial suggests, but at least it works.
Anyone know why this happened? Took me a good few hours but.. finally there.
Source: http://stackoverflow.com/questions/15849991/ld-file-too-small-for-architecture-i386 (Bottom comment from nicola)
Very strange, however in the Frameworks folder, for example
sfml-audio.framework the sfml-audio file is 0 bytes, but if you go in /Versions/2.1.0/ there is a sfml-audio file that isn't empty(177kb), I copied this to the root in sfml-audio.framework and did this for all of them it finally worked (after clean and clean build folder).
I did this on another clean project, that does not have the frameworks added in the project folder or in the Build Phases. Note that they are still not added to the project under /Frameworks/ as the screenshot in the tutorial suggests, but at least it works.
Anyone know why this happened? Took me a good few hours but.. finally there.
Source: http://stackoverflow.com/questions/15849991/ld-file-too-small-for-architecture-i386 (Bottom comment from nicola)