[xcodeproj_ext] Fix a memory leaks when raising