-
Notifications
You must be signed in to change notification settings - Fork 13
/
PowerAuth2.podspec
49 lines (43 loc) · 1.54 KB
/
PowerAuth2.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
45
46
47
48
49
Pod::Spec.new do |s|
# General information
s.cocoapods_version = '>= 1.10'
s.name = 'PowerAuth2'
s.version = '1.9.2'
s.summary = 'PowerAuth Mobile SDK for iOS'
s.homepage = 'https://github.com/wultra/powerauth-mobile-sdk'
s.social_media_url = 'https://twitter.com/wultra'
s.documentation_url = 'https://github.com/wultra/powerauth-mobile-sdk/blob/develop/docs/PowerAuth-SDK-for-iOS.md'
s.author = {
'Wultra s.r.o.' => '[email protected]'
}
s.license = {
:type => 'Apache License, Version 2.0',
:file => 'LICENSE'
}
s.dependency 'PowerAuthCore', '~> 1.9.2'
# Source files
s.source = {
:git => 'https://github.com/wultra/powerauth-mobile-sdk.git',
:tag => "#{s.version}",
:submodules => true
}
s.ios.deployment_target = '12.0'
s.tvos.deployment_target = '12.0'
# XCFramework build
s.prepare_command = <<-CMD
./scripts/ios-build-sdk.sh copySdk --out-dir Build/PowerAuth2
CMD
# Produced files
s.source_files = 'Build/PowerAuth2/**/*.{h,m}'
s.private_header_files = 'Build/PowerAuth2/Private/*.h'
s.tvos.exclude_files = [
'Build/PowerAuth2/Private/PA2WC*.{h,m}',
'Build/PowerAuth2/Private/PowerAuthWC*.{h,m}'
]
s.requires_arc = true
# Tweaks
s.pod_target_xcconfig = {
'OTHER_LDFLAGS' => '-ObjC',
'CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF' => 'NO'
}
end