-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
RealmSwift.podspec
32 lines (28 loc) · 1.71 KB
/
RealmSwift.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# coding: utf-8
Pod::Spec.new do |s|
s.name = 'RealmSwift'
version = `sh build.sh get-version`
s.version = version
s.summary = 'Realm Swift is a modern data framework & database for iOS, macOS, tvOS & watchOS.'
s.description = <<-DESC
The Realm Database, for Swift. (If you want to use Realm from Objective-C, see the “Realm” pod.)
Realm is a fast, easy-to-use replacement for Core Data & SQLite. Use it with Atlas Device Sync for realtime, automatic data sync. Works on iOS, macOS, tvOS & watchOS. Learn more and get help at https://www.mongodb.com/docs/realm/sdk/swift/.
DESC
s.homepage = "https://realm.io"
s.source = { :git => 'https://github.com/realm/realm-swift.git', :tag => "v#{s.version}" }
s.author = { 'Realm' => '[email protected]' }
s.requires_arc = true
s.social_media_url = 'https://twitter.com/realm'
s.documentation_url = "https://docs.mongodb.com/realm/sdk/swift"
s.license = { :type => 'Apache 2.0', :file => 'LICENSE' }
s.ios.deployment_target = '9.0'
s.osx.deployment_target = '10.9'
s.watchos.deployment_target = '2.0'
s.tvos.deployment_target = '9.0'
s.preserve_paths = %w(build.sh)
s.weak_frameworks = 'SwiftUI'
s.dependency 'Realm', "= #{s.version}"
s.source_files = 'RealmSwift/*.swift', 'RealmSwift/Impl/*.swift', 'Realm/Swift/*.swift'
s.exclude_files = 'RealmSwift/Nonsync.swift'
s.pod_target_xcconfig = { 'APPLICATION_EXTENSION_API_ONLY' => 'YES' }
end