Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Commit

Permalink
Pod: include test spec
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-araman committed Jun 4, 2021
1 parent 73a33aa commit d4b8f59
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions CombineCloudKit.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = 'CombineCloudKit'
spec.version = '0.2.0'
spec.version = '0.2.1'
spec.summary = '🌤 Swift Combine extensions for asynchronous CloudKit record processing'
spec.description = <<-DESC
CombineCloudKit exposes CloudKit operations as Combine publishers. Publishers can be used to process values over
Expand All @@ -16,8 +16,14 @@ Pod::Spec.new do |spec|
spec.ios.deployment_target = '13.0'
spec.osx.deployment_target = '10.15'
spec.tvos.deployment_target = '13.0'
spec.watchos.deployment_target = '6.0'
# TODO: Include watchOS once CombineExpectations supports it.
# spec.watchos.deployment_target = '6.0'
spec.swift_versions = ['5.1', '5.2', '5.3', '5.4']

spec.source_files = 'Sources/CombineCloudKit'
spec.source_files = 'Sources/**/*.swift'
spec.test_spec 'Tests' do |test_spec|
test_spec.compiler_flags = '-DCOCOAPODS'
test_spec.source_files = 'Tests/**/*.swift'
test_spec.dependency 'CombineExpectations'
end
end
2 changes: 1 addition & 1 deletion Tests/CombineCloudKitTests/CombineCloudKitTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
class CombineCloudKitTests: XCTestCase {
lazy var container = CKContainer(identifier: "iCloud.dev.hiddenplace.CombineCloudKit.Tests")

#if SWIFT_PACKAGE
#if SWIFT_PACKAGE || COCOAPODS
override func setUpWithError() throws {
try super.setUpWithError()

Expand Down

0 comments on commit d4b8f59

Please sign in to comment.