def default_system_frameworks_for(platform)
      case platform
      when :ios
        %w(Foundation UIKit)
      when :osx
        %w(Cocoa)
      when :tvos
        %w(Foundation UIKit)
      when :watchos
        %w(Foundation UIKit WatchKit)
      else
        abort 'Platform not supported!'
      end
    end
def default_system_frameworks_for(platform)
      case platform
      when :ios
        %w(Foundation UIKit)
      when :osx
        %w(Cocoa)
      when :tvos
        %w(Foundation UIKit)
      when :watchos
        %w(Foundation UIKit WatchKit)
      else
        abort 'Platform not supported!'
      end
    end
Returns an array of default system frameworks
 to use for a given platform.

 @param    [Symbol] platform
           platform the frameworks are for.


 @return [Array<String>] system frameworks to use