-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSetgreetSDK.podspec
More file actions
48 lines (39 loc) · 1.73 KB
/
SetgreetSDK.podspec
File metadata and controls
48 lines (39 loc) · 1.73 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
37
38
39
40
41
42
43
44
45
46
47
48
Pod::Spec.new do |spec|
spec.name = "SetgreetSDK"
spec.version = "1.0.2"
spec.summary = "Setgreet iOS SDK allows you to show Setgreet flows in your iOS app."
spec.description = <<-DESC
Setgreet iOS SDK is a powerful framework that enables you to integrate Setgreet flows
into your iOS applications. It provides user identification, flow display, screen tracking,
and event tracking capabilities for enhanced user engagement and analytics.
DESC
spec.homepage = "https://setgreet.com"
spec.license = { :type => "MIT", :file => "LICENSE" }
spec.author = { "Setgreet" => "support@setgreet.com" }
spec.platform = :ios, "15.0"
spec.source = { :git => "https://github.com/setgreet/setgreet-ios-sdk.git", :tag => "#{spec.version}" }
spec.vendored_frameworks = "SetgreetSDK.xcframework"
spec.source_files = "SetgreetSDK.xcframework/**/*.h"
# Preserve the framework structure
spec.preserve_paths = "SetgreetSDK.xcframework"
# Ensure the framework is properly linked
spec.frameworks = "UIKit", "Foundation"
# External dependencies
spec.dependency 'lottie-ios', '~> 4.5'
# Minimum deployment target
spec.ios.deployment_target = "15.0"
# Swift version
spec.swift_version = "5.0"
# Validation
spec.requires_arc = true
# Pod validation
spec.pod_target_xcconfig = {
'FRAMEWORK_SEARCH_PATHS' => '$(PODS_ROOT)/SetgreetSDK',
'OTHER_LDFLAGS' => '$(inherited) -framework SetgreetSDK'
}
# User target configuration
spec.user_target_xcconfig = {
'FRAMEWORK_SEARCH_PATHS' => '$(PODS_ROOT)/SetgreetSDK',
'OTHER_LDFLAGS' => '$(inherited) -framework SetgreetSDK'
}
end