Fixing actions for Xcode
cleaning up build and models; Fixed dependency order

Also, now we're passing a list of product contexts as dependencies inside of
ProductContext.ordered_dependencies