-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathKlarnaMobileSDK.podspec
44 lines (36 loc) · 1.89 KB
/
KlarnaMobileSDK.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
33
34
35
36
37
38
39
40
41
42
43
44
Pod::Spec.new do |s|
s.name = "KlarnaMobileSDK"
s.version = "2.6.24"
s.summary = "Klarna Mobile SDK for iOS"
s.description = <<-DESC
Klarna Mobile SDK for iOS apps.
DESC
s.homepage = "https://github.com/klarna/klarna-mobile-sdk.git"
s.license = { :type => "Apache License, Version 2.0", :file => "LICENSE" }
s.author = { "Klarna Mobile SDK Team" => "[email protected]" }
s.platform = :ios, "10.0"
s.source = { :git => "https://github.com/klarna/klarna-mobile-sdk.git", :tag => s.version.to_s }
s.requires_arc = true
s.swift_version = "5.0"
s.subspec 'xcode-15.3-fat' do |sb|
sb.source_files = "ios/xcode-15.3-fat/KlarnaMobileSDK.framework/Headers/*.h"
sb.public_header_files = "ios/xcode-15.3-fat/KlarnaMobileSDK.framework/Headers/*.h"
sb.vendored_frameworks = "ios/xcode-15.3-fat/KlarnaMobileSDK.framework"
sb.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
sb.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
end
s.subspec 'xcode-15.3-fat-full' do |sb|
sb.source_files = "ios/full/xcode-15.3-fat/KlarnaMobileSDK.framework/Headers/*.h"
sb.public_header_files = "ios/full/xcode-15.3-fat/KlarnaMobileSDK.framework/Headers/*.h"
sb.vendored_frameworks = "ios/full/xcode-15.3-fat/KlarnaMobileSDK.framework"
sb.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
sb.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
end
s.subspec 'full' do |sb|
sb.vendored_frameworks = "ios/XCFramework/full/universal/KlarnaMobileSDK.xcframework"
end
s.subspec 'basic' do |sb|
sb.vendored_frameworks = "ios/XCFramework/basic/universal/KlarnaMobileSDK.xcframework"
end
s.default_subspec = 'basic'
end