fix build for watchOS

This commit is contained in:
John Estropia
2020-02-08 08:49:11 +09:00
parent 5e37ee4566
commit 8cb8b95c2e
5 changed files with 12 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "CoreStore"
s.version = "7.0.3"
s.version = "7.0.4"
s.swift_version = "5.1"
s.license = "MIT"
s.homepage = "https://github.com/JohnEstropia/CoreStore"

View File

@@ -3203,7 +3203,7 @@
DYLIB_INSTALL_NAME_BASE = "@rpath";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 7.0.3;
MARKETING_VERSION = 7.0.4;
OTHER_LDFLAGS = (
"-weak_framework",
Combine,
@@ -3226,7 +3226,7 @@
DYLIB_INSTALL_NAME_BASE = "@rpath";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 7.0.3;
MARKETING_VERSION = 7.0.4;
OTHER_LDFLAGS = (
"-weak_framework",
Combine,

View File

@@ -23,6 +23,8 @@
// SOFTWARE.
//
#if canImport(UIKit) || canImport(AppKit)
import Foundation
import CoreData
@@ -214,3 +216,5 @@ extension DiffableDataSource {
internal let dispatcher: Internals.DiffableDataUIDispatcher<O>
}
}
#endif

View File

@@ -23,6 +23,8 @@
// SOFTWARE.
//
#if canImport(UIKit) || canImport(AppKit)
import Foundation
@@ -209,3 +211,5 @@ extension DiffableDataSource.Target {
}
}
}
#endif

View File

@@ -23,7 +23,7 @@
// SOFTWARE.
//
#if os(iOS) || os(tvOS) || os(macOS)
#if canImport(UIKit) || canImport(AppKit)
// MARK: - DiffableDataSource