Skip to content

Commit

Permalink
7.11.0 (#8)
Browse files Browse the repository at this point in the history
* GoogleAppMeasurement SPM changes

* Update Package.swift

Co-authored-by: Ryan Wilson <[email protected]>

* Update Package.swift

Co-authored-by: Ryan Wilson <[email protected]>

* Update: 7.11.0

Co-authored-by: Ryan Wilson <[email protected]>
  • Loading branch information
moemcd and ryanwilson authored Apr 15, 2021
1 parent 184d93b commit 7a263c2
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 2 deletions.
17 changes: 17 additions & 0 deletions GoogleAppMeasurementWithoutAdIdSupportWrapper/dummy.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/*
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

// Swift Package Manager needs at least one source file.
18 changes: 18 additions & 0 deletions GoogleAppMeasurementWithoutAdIdSupportWrapper/include/dummy.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/*
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

// Swift Package Manager needs at least one header to prevent a warning. See
// https://github.com/firebase/firebase-ios-sdk/pull/6504.
32 changes: 30 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ let package = Package(
name: "GoogleAppMeasurement",
targets: ["GoogleAppMeasurementTarget"]
),
.library(
name: "GoogleAppMeasurementWithoutAdIdSupport",
targets: ["GoogleAppMeasurementWithoutAdIdSupportTarget"]
),
],
dependencies: [
.package(
Expand Down Expand Up @@ -59,8 +63,32 @@ let package = Package(
),
.binaryTarget(
name: "GoogleAppMeasurement",
url: "https://dl.google.com/firebase/ios/swiftpm/7.9.0/GoogleAppMeasurement.zip",
checksum: "3cce0986d8da23a7eca1fbdff6170866dbe2be528da4a1605e598de342574f49"
url: "https://dl.google.com/firebase/ios/swiftpm/7.11.0/GoogleAppMeasurement.zip",
checksum: "c407ce4d122b430ef7890b65470694b8ad05bf368c43e438ad61e55dce1d4a6e"
),

.target(
name: "GoogleAppMeasurementWithoutAdIdSupportTarget",
dependencies: [
"GoogleAppMeasurementWithoutAdIdSupport",
.product(name: "GULAppDelegateSwizzler", package: "GoogleUtilities"),
.product(name: "GULMethodSwizzler", package: "GoogleUtilities"),
.product(name: "GULNSData", package: "GoogleUtilities"),
.product(name: "GULNetwork", package: "GoogleUtilities"),
.product(name: "nanopb", package: "nanopb"),
],
path: "GoogleAppMeasurementWithoutAdIdSupportWrapper",
linkerSettings: [
.linkedLibrary("sqlite3"),
.linkedLibrary("c++"),
.linkedLibrary("z"),
.linkedFramework("StoreKit"),
]
),
.binaryTarget(
name: "GoogleAppMeasurementWithoutAdIdSupport",
url: "https://dl.google.com/firebase/ios/swiftpm/7.11.0/GoogleAppMeasurementWithoutAdIdSupport.zip",
checksum: "2a16076973dcf990d7475c10b6ba10ddd09f3cfdd0994db642556372584842f5"
),
],
cLanguageStandard: .c99,
Expand Down

0 comments on commit 7a263c2

Please sign in to comment.