Handle debug for Xcode build