Right, so I've gone considerably farther than I usually do in the build. It crashed at the following:
=== BUILD NATIVE TARGET bellesip OF PROJECT BELLESIP WITH CONFIGURATION Debug ===
Check** BUILD FAILED **
The following build commands failed:
PhaseScriptExecution "CMake Rules" /Users/Saumil/Documents/Dreamscape/connectgrams/firebreath/firebreath/build/Core/Build-webplugin/bellesip/src/BELLESIP.build/Debug/bellesip.build/Script-DAF92242D99D4375A97F795A.sh
(1 failure)
dependencies
PhaseScriptExecution "CMake Rules" /Users/Saumil/Documents/Dreamscape/connectgrams/firebreath/firebreath/build/Core/Build-webplugin/bellesip/src/BELLESIP.build/Debug/bellesip.build/Script-DAF92242D99D4375A97F795A.sh
cd /Users/Saumil/Documents/Dreamscape/connectgrams/firebreath/firebreath/build/Core/Source/EP_bellesip
/bin/sh -c /Users/Saumil/Documents/Dreamscape/connectgrams/firebreath/firebreath/build/Core/Build-webplugin/bellesip/src/BELLESIP.build/Debug/bellesip.build/Script-DAF92242D99D4375A97F795A.sh
/usr/local/antlr3 -make -Xmultithreaded -fo /Users/Saumil/Documents/Dreamscape/connectgrams/firebreath/firebreath/build/Core/Build-webplugin/bellesip/src/grammars /Users/Saumil/Documents/Dreamscape/connectgrams/firebreath/firebreath/build/Core/Source/EP_bellesip/src/grammars/belle_sdp.g
make[1]: /usr/local/antlr3: Permission denied
make[1]: *** [/Users/Saumil/Documents/Dreamscape/connectgrams/firebreath/firebreath/build/Core/Build-webplugin/bellesip/src/grammars/belle_sdpLexer.c] Error 1
make: *** [/Users/Saumil/Documents/Dreamscape/connectgrams/firebreath/firebreath/build/Core/Stamp/EP_bellesip/Debug/EP_bellesip-build] Error 65
** BUILD FAILED **
The following build commands failed:
PhaseScriptExecution "CMake Rules" build/projects/linphone-web/Core/FireBreath.build/Debug/EP_bellesip.build/Script-E8E810E6D4D043E38E2DDCBB.sh
(1 failure)
Seems to be a permissions issue on /usr/local/antlr3. I checked this folder (it's actually a symlink to antlr3), and it has permissions for root user. I tried a sudo xcodebuild, with the same result. Any tips on what is the problem?