make cocoapods happy

This commit is contained in:
John Rommel Estropia
2016-07-12 00:16:02 +09:00
parent edb2aa2463
commit 23df690a83
2 changed files with 3 additions and 2 deletions

View File

@@ -12,7 +12,8 @@ Pod::Spec.new do |s|
s.watchos.deployment_target = "2.0"
s.tvos.deployment_target = "9.0"
s.source_files = "Sources", "Sources/**/*.{swift}"
s.source_files = "Sources", "Sources/**/*.{swift,h,m}"
s.public_header_files = "Sources/**/*.h"
s.frameworks = "Foundation", "CoreData"
s.requires_arc = true
s.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-D USE_FRAMEWORKS',

View File

@@ -1106,7 +1106,7 @@ extension NSEntityDescription: CoreStoreDebugStringConvertible {
("renamingIdentifier", self.renamingIdentifier),
("compoundIndexes", self.compoundIndexes)
]
if #available(iOS 9.0, OSXApplicationExtension 10.11, *) {
if #available(iOS 9.0, OSXApplicationExtension 10.11, OSX 10.11, *) {
info.append(("uniquenessConstraints", self.uniquenessConstraints))
}