HipByte/RubyMotion — pull request #119 by chendo (2013-08-13 06:41:54+00:00)
Title: Add ability to pass in :products option to vendored Xcode projects

This PR adds the ability to specify a `:products` option to the Xcode vendor project type to match the `:products` option on static vendor projects.

Use case:
Cocoapods recently added dedicated targets for each pod (https://github.com/CocoaPods/CocoaPods/pull/983) , then link it all together in `libPods.a`. However, RubyMotion attempts to `-force_load` in all the libraries found in the Pods build directory which includes all the `libPods-RegexKitLite.a` etc, so it ends up failing to link due to duplicate symbols.

I use the following with the patch below to fix the issue:

```ruby
app.vendor_project('Pods', :xcode,
:target => 'Pods',
:products => ['libPods.a'])
```