Made changes to allow gradle xcode build plugin to build apps with widgets.