-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEncoreObjC.podspec
More file actions
36 lines (29 loc) · 1.3 KB
/
Copy pathEncoreObjC.podspec
File metadata and controls
36 lines (29 loc) · 1.3 KB
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
33
34
35
36
require "json"
versions = JSON.parse(File.read(File.join(__dir__, "config/sdk-versions.json")))
encorekit_pin = versions["ios"]["EncoreKit"]
Pod::Spec.new do |s|
s.name = "EncoreObjC"
s.version = "0.1.0"
s.summary = "Objective-C overlay for the Encore iOS SDK."
s.description = <<~DESC
Thin @objc wrapper over EncoreKit. Lets Objective-C apps consume the
Encore SDK without pulling in Swift-only types (structs, associated-value
enums, async/await, Combine). Distributed as a source pod — depends on
EncoreKit at an exact pinned version.
DESC
s.homepage = "https://github.com/EncoreKit/objc"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Encore" => "support@encorekit.com" }
s.source = { :git => "https://github.com/EncoreKit/objc.git", :tag => "v#{s.version}" }
s.platform = :ios, "15.0"
s.swift_version = "5.9"
s.source_files = "Sources/EncoreObjC/**/*.swift"
s.dependency "EncoreKit", encorekit_pin
s.pod_target_xcconfig = {
"DEFINES_MODULE" => "YES",
"SWIFT_INSTALL_OBJC_HEADER" => "YES",
"CLANG_ENABLE_MODULES" => "YES",
"APPLICATION_EXTENSION_API_ONLY" => "NO"
}
s.frameworks = "Foundation", "UIKit", "StoreKit"
end