xcode build now works at the scheme level to build using -scheme. Resolved context retrieved through ProductParams not having correct arch/config.