Mac App Store - GLUT Frameworks submission problems

I’m trying to submit an App to the Mac App Store. I’ve been rejected because I’m linking GLUT frameworks that is incorporated in OF and not the one provided with macOS.

The thread here: Mac App Store: Won't Submit [SOLVED] didn’t help me, I tried to remove the framework as explained but it didn’t change.

I believe I’m linking towards the OS’s GLUT but in Projects-> Build Settings -> User-Defined Glut it’s still referenced locally

Do you have ideas on how to solve this?

PS: Xcode 8.1, macOS 10.11.6, of 0.9.8

I think you want to remove the references to GLUT from the CoreOF.xcconfig file ( libs/openFrameworksCompiled/project/osx/CoreOF.xcconfig )
Remove this line:

LIB_GLUT = "$(OF_PATH)/libs/glut/lib/osx/GLUT.framework/Versions/A/GLUT"


-framework GLUT

And also remove this line from the run script build phase of your app:

# Copy GLUT framework (must remove for AppStore submissions)
rsync -aved ../../../libs/glut/lib/osx/GLUT.framework "$TARGET_BUILD_DIR/$"

You might also want to remove these files from the openFrameworks Xcode project.
ofAppGlutWindow.cpp / .h

I hope that helps!

Thank you @theo, it worked.