diff --git a/lib/motion/project/vendor.rb b/lib/motion/project/vendor.rb index 166e5873..e103cb10 100644 --- a/lib/motion/project/vendor.rb +++ b/lib/motion/project/vendor.rb @@ -202,7 +202,8 @@ def build_xcode(platform, opts) end @bs_files = Dir.glob('*.bridgesupport').map { |x| File.expand_path(x) } - @libs = Dir.glob("#{build_dir}/*.a").map { |x| File.expand_path(x) } + products = opts[:products] && opts[:products].map { |product| "#{build_dir}/#{product}" } + @libs = (products || Dir.glob("#{build_dir}/*.a")).map { |x| File.expand_path(x) } end end