Skip to content

Commit

Permalink
Fix for Swift Package Manager Release (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
sujaygarlanka authored Nov 20, 2019
1 parent 2addd5b commit 48c53fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion BoxPreviewSDK.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Pod::Spec.new do |spec|
spec.social_media_url = "https://twitter.com/box"
spec.ios.deployment_target = "11.0"
spec.source = { :git => "https://github.com/box/box-ios-preview-sdk.git", :tag => "v"+spec.version.to_s }
spec.swift_version = ["5.0", "5.1"]
spec.swift_versions = ["5.0", "5.1"]
spec.requires_arc = true
spec.dependency "BoxSDK", "~> 3.0.0"

Expand Down
9 changes: 2 additions & 7 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,13 @@ let package = Package(
],
dependencies: [
// Dependencies declare other packages that this package depends on.
.package(url: "https://github.com/box/box-swift-sdk.git", .upToNextMajor(from: "3.0.0"))
.package(url: "https://github.com/box/box-ios-sdk.git", .upToNextMajor(from: "3.0.0"))
],
targets: [
.target(
name: "BoxPreviewSDK",
dependencies: [],
dependencies: ["BoxSDK"],
path: "Sources"
),
.testTarget(
name: "BoxPreviewSDKTests",
dependencies: ["BoxPreviewSDK"],
path: "Tests"
)
]
)

0 comments on commit 48c53fb

Please sign in to comment.