Skip to content

Commit

Permalink
Update podspec and package.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
echo-branch committed Jul 31, 2023
1 parent 1344c5d commit 731e879
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
7 changes: 3 additions & 4 deletions BranchSDK.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,15 @@ Use the Branch SDK (branch.io) to create and power the links that point back to
s.license = 'MIT'
s.author = { "Branch" => "[email protected]" }
s.source = { git: "https://github.com/BranchMetrics/ios-branch-deep-linking-attribution.git", tag: s.version.to_s }
s.ios.deployment_target = '11.0'
s.tvos.deployment_target = '11.0'
s.ios.deployment_target = '12.0'
s.tvos.deployment_target = '12.0'

s.ios.source_files = "BranchSDK/*.{h,m}"

s.tvos.source_files = "BranchSDK/*.{h,m}"
s.tvos.exclude_files = "BranchSDK/BNCAdClient.{h,m}",
"BranchSDK/BNCAppleSearchAds.{h,m}",
"BranchSDK/BNCContentDiscoveryManager.{h,m}",
"BranchSDK/BNCTelephony.{h,m}",
"BranchSDK/BNCUserAgentCollector.{h,m}",
"BranchSDK/BNCSpotlightService.{h,m}",
"BranchSDK/BranchActivityItemProvider.{h,m}",
Expand All @@ -34,5 +33,5 @@ Use the Branch SDK (branch.io) to create and power the links that point back to

s.frameworks = 'CoreServices', 'SystemConfiguration'
s.weak_framework = 'LinkPresentation'
s.ios.frameworks = 'WebKit', 'CoreTelephony'
s.ios.frameworks = 'WebKit'
end
5 changes: 2 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import PackageDescription
let package = Package(
name: "BranchSDK",
platforms: [
.iOS(.v11),
.tvOS(.v11),
.iOS(.v12),
.tvOS(.v12),
],
products: [
.library(
Expand All @@ -21,7 +21,6 @@ let package = Package(
linkerSettings: [
.linkedFramework("CoreServices"),
.linkedFramework("SystemConfiguration"),
.linkedFramework("CoreTelephony", .when(platforms: [.iOS])),
.linkedFramework("WebKit", .when(platforms: [.iOS])),
.linkedFramework("CoreSpotlight", .when(platforms: [.iOS])),
.linkedFramework("AdServices", .when(platforms: [.iOS]))
Expand Down

0 comments on commit 731e879

Please sign in to comment.