-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTapConnectSDK.podspec
More file actions
55 lines (47 loc) · 2.07 KB
/
TapConnectSDK.podspec
File metadata and controls
55 lines (47 loc) · 2.07 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
49
50
51
52
53
54
55
Pod::Spec.new do |s|
s.name = 'TapConnectSDK'
s.version = '1.0.0'
s.summary = 'Tap Connect SDK for iOS - React Native based financial account connection'
s.description = <<-DESC
TapConnectSDK provides a seamless way to integrate Tap Connect functionality into your iOS application.
It wraps a React Native implementation with a simple Swift API.
DESC
s.homepage = 'https://github.com/Tap-Payments/ConnecSDK-iOS'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Tap Payments' => 'developer@tap.company' }
s.source = { :git => 'https://github.com/Tap-Payments/ConnecSDK-iOS.git', :tag => s.version.to_s }
s.ios.deployment_target = '13.0'
s.swift_version = '5.0'
s.platform = :ios, '13.0'
# Source files
s.source_files = 'TapConnectSDK/Classes/**/*.{swift,h,m}'
# Vendored frameworks
s.vendored_frameworks = [
'TestConnectSDK/ConnectSdkFramework.xcframework',
'TestConnectSDK/ReactBrownfield.xcframework',
'TestConnectSDK/hermesvm.xcframework'
]
# Preserve paths for framework bundles
s.preserve_paths = [
'TestConnectSDK/**/*',
'TapConnectSDK/**/*'
]
# System frameworks
s.frameworks = 'UIKit', 'Foundation'
# Pod configuration
s.pod_target_xcconfig = {
'DEFINES_MODULE' => 'YES',
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386',
'FRAMEWORK_SEARCH_PATHS' => '$(inherited) $(PODS_XCFRAMEWORKS_BUILD_DIR)/TapConnectSDK',
'OTHER_LDFLAGS' => '$(inherited) -framework ConnectSdkFramework -framework hermesvm',
'SWIFT_SUPPRESS_WARNINGS' => 'NO',
'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES'
}
s.user_target_xcconfig = {
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386',
'FRAMEWORK_SEARCH_PATHS' => '$(inherited) $(PODS_XCFRAMEWORKS_BUILD_DIR)/TapConnectSDK',
'OTHER_LDFLAGS' => '$(inherited) -framework ConnectSdkFramework -framework hermesvm',
'ENABLE_USER_SCRIPT_SANDBOXING' => 'NO'
}
s.requires_arc = true
end