lib/xcake/xcode/project.rb in xcake-0.8.8 vs lib/xcake/xcode/project.rb in xcake-0.8.9
- old
+ new
@@ -86,10 +86,10 @@
native_target.product_type = target.type
end
native_target.build_configuration_list = new(Xcodeproj::Project::Object::XCConfigurationList)
- product = products_group.new_product_ref_for_target(native_target.product_name, native_target.product_type)
+ product = products_group.new_product_ref_for_target(native_target.product_name, target.type)
native_target.product_reference = product
targets << native_target
native_target
end