-
Notifications
You must be signed in to change notification settings - Fork 4k
/
Package.swift
36 lines (33 loc) · 1.16 KB
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// swift-tools-version: 5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.
// Copyright 2024, the Chromium project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import Foundation
import PackageDescription
// Shared Swift package manager code for firebase core
let package = Package(
name: "remote_firebase_core",
platforms: [
.iOS("13.0"),
.macOS("10.15"),
],
products: [
.library(name: "firebase-core-shared", targets: ["firebase_core_shared"]),
],
dependencies: [
// TODO: this is fine for now, but will require a way of retrieving the firebase-ios-sdk
// likely create a script that runs in preCommit hook of melos
.package(url: "https://github.com/firebase/firebase-ios-sdk", from: "11.0.0"),
],
targets: [
.target(
name: "firebase_core_shared",
dependencies: [
.product(name: "FirebaseInstallations", package: "firebase-ios-sdk"),
],
path: "Sources/firebase_core_shared",
publicHeadersPath: "include"
),
]
)