Fix crashing bug
Fix bugs in XCConfiguration.m
Fix crashing bug