lib/xcake/xcodeproj_ext/PBXNativeTarget.rb in xcake-0.8.7 vs lib/xcake/xcodeproj_ext/PBXNativeTarget.rb in xcake-0.8.8
- old
+ new
@@ -5,9 +5,18 @@
module Object
class PBXNativeTarget
def build_phase_by_class(phase_class)
find_or_create_build_phase_by_class(phase_class)
end
+
+ def library_target_type?
+ case symbol_type
+ when :framework, :dynamic_library, :static_library
+ true
+ else
+ false
+ end
+ end
end
end
end
end