def certificate_type
      case Cert.config[:platform].to_s
      when 'ios', 'tvos'
        cert_type = Spaceship.certificate.production
        cert_type = Spaceship.certificate.in_house if Spaceship.client.in_house?
        cert_type = Spaceship.certificate.development if Cert.config[:development]

      when 'macos'
        cert_type = Spaceship.certificate.mac_app_distribution
        cert_type = Spaceship.certificate.mac_development if Cert.config[:development]

      end

      cert_type
    end
def certificate_type
      case Cert.config[:platform].to_s
      when 'ios', 'tvos'
        cert_type = Spaceship.certificate.production
        cert_type = Spaceship.certificate.in_house if Spaceship.client.in_house?
        cert_type = Spaceship.certificate.development if Cert.config[:development]

      when 'macos'
        cert_type = Spaceship.certificate.mac_app_distribution
        cert_type = Spaceship.certificate.mac_development if Cert.config[:development]

      end

      cert_type
    end
The kind of certificate we're interested in