Hello all,
I followed the tutorial to install SFML on macOS. Then I created a new project using the SFML template - I did not add any other line of code to the project.
First of all the run script of the template project contains wrong file paths, which I fixed (and this should be fixed in the official download as well...)
Line 4: # SETTINGS
Line 5: SFML_DEPENDENCIES_INSTALL_PREFIX="/Library/Frameworks"
Line 6: CMAKE_INSTALL_FRAMEWORK_PREFIX="/Library/Frameworks"
Line 7: CMAKE_INSTALL_LIB_PREFIX="/Library/Frameworks/lib"
Line 8: FRAMEWORKS_FULL_PATH="$BUILT_PRODUCTS_DIR/$FRAMEWORKS_FOLDER_PATH/"
But after that running the template project fails with following error:
CodeSign /Users/vm-user/Library/Developer/Xcode/DerivedData/atti-bbgsuqfgkdwbougfbowwqjkwdrmt/Build/Products/Debug/atti.app (in target 'atti' from project 'atti')
cd /Users/vm-user/Desktop/new/atti
export CODESIGN_ALLOCATE\=/Users/vm-user/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
Signing Identity: "Apple Development: user@email.com (FUW99RDC3Z)"
/usr/bin/codesign --force --sign 126FD161A539B6C238AA3F0BFFB17745CDBAE158 --entitlements /Users/vm-user/Library/Developer/Xcode/DerivedData/atti-bbgsuqfgkdwbougfbowwqjkwdrmt/Build/Intermediates.noindex/atti.build/Debug/atti.build/atti.app.xcent --timestamp\=none /Users/vm-user/Library/Developer/Xcode/DerivedData/atti-bbgsuqfgkdwbougfbowwqjkwdrmt/Build/Products/Debug/atti.app
/Users/vm-user/Library/Developer/Xcode/DerivedData/atti-bbgsuqfgkdwbougfbowwqjkwdrmt/Build/Products/Debug/atti.app: code object is not signed at all
In subcomponent: /Users/vm-user/Library/Developer/Xcode/DerivedData/atti-bbgsuqfgkdwbougfbowwqjkwdrmt/Build/Products/Debug/atti.app/Contents/Frameworks/vorbisenc.framework