Skip to content

Commit

Permalink
update dependency version
Browse files Browse the repository at this point in the history
  • Loading branch information
sojingle committed Nov 19, 2024
1 parent 78e22e7 commit a544389
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 4 deletions.
2 changes: 1 addition & 1 deletion AmplitudeSwift.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Pod::Spec.new do |s|
s.visionos.source_files = 'Sources/Amplitude/**/*.{h,swift}'
s.visionos.resource_bundle = { 'Amplitude': ['Sources/Amplitude/PrivacyInfo.xcprivacy'] }

s.dependency 'AnalyticsConnector', '~> 1.0.1'
s.dependency 'AnalyticsConnector', '~> 1.3.0'

s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
end
5 changes: 2 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version: 5.9
// swift-tools-version: 5.7
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription
Expand All @@ -10,7 +10,6 @@ let package = Package(
.iOS("13.0"),
.tvOS("13.0"),
.watchOS("7.0"),
.visionOS("1.0"),
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
Expand All @@ -20,7 +19,7 @@ let package = Package(
)
],
dependencies: [
.package(url: "https://github.com/amplitude/analytics-connector-ios.git", from: "1.0.1")
.package(url: "https://github.com/amplitude/analytics-connector-ios.git", from: "1.3.0")
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
Expand Down
43 changes: 43 additions & 0 deletions [email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
// swift-tools-version: 5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "Amplitude-Swift",
platforms: [
.macOS("10.15"),
.iOS("13.0"),
.tvOS("13.0"),
.watchOS("7.0"),
.visionOS("1.0"),
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "AmplitudeSwift",
targets: ["AmplitudeSwift"]
)
],
dependencies: [
.package(url: "https://github.com/amplitude/analytics-connector-ios.git", from: "1.3.0")
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages this package depends on.
.target(
name: "AmplitudeSwift",
dependencies: [
.product(name: "AnalyticsConnector", package: "analytics-connector-ios")
],
path: "Sources/Amplitude",
exclude: ["../../Examples/", "../../Tests/"],
resources: [.copy("PrivacyInfo.xcprivacy")]
),
.testTarget(
name: "Amplitude-SwiftTests",
dependencies: ["AmplitudeSwift"],
path: "Tests/AmplitudeTests"
),
]
)

0 comments on commit a544389

Please sign in to comment.