[xcodeproj_ext] Fix memory leaks when rasing