lib/xcake/dsl/target.rb in xcake-0.8.13 vs lib/xcake/dsl/target.rb in xcake-0.9.0

- old
+ new

@@ -134,11 +134,11 @@ # # @example # # spec.include_files = "Classes/**/*.{h,m}" # - attr_accessor :include_files + attr_writer :include_files # @return [Array or String] files to exclude for the target. # Supports regular expressions # # @example @@ -156,11 +156,11 @@ # # @example # # spec.system_frameworks = ["Foundation"] # - attr_accessor :system_frameworks + attr_writer :system_frameworks # @return [Array<String>] system libraries to include for the target # # @example # @@ -207,11 +207,11 @@ # @!group Working with a target # Creates a new scheme for the target # # @param [String] name - # the name of the new scheme + # the name of the new scheme # # @return [Scheme] the scheme # the newly created scheme # def scheme(name, &block) @@ -228,9 +228,13 @@ end def system_frameworks # Use default frameworks by default @system_frameworks ||= default_system_frameworks_for(platform) + end + + def info_plist_paths + all_configurations.map { |config| config.settings['INFOPLIST_FILE'] }.uniq end # @!group Conversion def to_s