def application_for(platform, deployment_target, language = :objc)
      target do |t|
        t.type = :application
        t.platform = platform
        t.deployment_target = deployment_target
        t.language = language

        yield(t) if block_given?
      end
    end
def application_for(platform, deployment_target, language = :objc)
      target do |t|
        t.type = :application
        t.platform = platform
        t.deployment_target = deployment_target
        t.language = language

        yield(t) if block_given?
      end
    end
Defines a new application target.

 @param  [Symbol] platform
         platform for the application, can be either `:ios`, `:osx`, `:tvos` or `:watchos`.

 @param  [Float] deployment_target
         the minimum deployment version for the platform.

 @param  [Symbol] language
         language for application, can be either `:objc` or `:swift`.

 @param  [Proc] block
         an optional block that configures the target through the DSL.

 @return [Target] the application target
         the newly created application target