[TIMOB-5823] Added the project dir to the Xcode pre-compile build script because the PROJECT_DIR environment variable points to the directory where the Xcode project and doesn't always point to the app's project dir.