-
Notifications
You must be signed in to change notification settings - Fork 42
/
GTXiLib.podspec
45 lines (45 loc) · 1.76 KB
/
GTXiLib.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
Pod::Spec.new do |s|
s.name = "GTXiLib"
s.version = "5.1.3"
s.summary = "iOS Accessibility testing library."
s.description = <<-DESC
iOS Accessibility testing library that works with XCTest based frameworks.
DESC
s.homepage = "https://github.com/google/GTXiLib"
s.license = "Apache License 2.0"
s.author = "j-sid"
s.platform = :ios
s.source = { :git => "https://github.com/google/GTXiLib.git", :tag => "5.1.3" }
s.ios.deployment_target = "9.0"
# Manually specify modulemap to use a custom umbrella header. CocoaPods' default
# umbrella header includes public headers from GTXOOPLib, which include C++ symbols.
# Swift uses the umbrella header for Obj-C interop, but C++ symbols cause compilation errors.
s.module_map = "GTXiLib.modulemap"
s.subspec "GTXiLib" do |sp|
sp.source_files = "Classes/**/*.{h,m,mm}"
sp.public_header_files = "Classes/**/*.h"
sp.private_header_files = "Classes/ObjCPP/*.h"
sp.exclude_files = ["Classes/XCTest/*.{h,m,mm}"]
sp.resources = ["ios_translations.bundle"]
sp.ios.deployment_target = "9.0"
sp.ios.framework = "Vision"
sp.dependency "GTXiLib/GTXOOPLib"
end
s.subspec "GTXOOPLib" do |sp|
sp.source_files = "OOPClasses/**/*.{h,cc}"
sp.public_header_files = "OOPClasses/**/*.h"
sp.resources = ["ios_translations.bundle"]
sp.ios.deployment_target = "9.0"
sp.ios.framework = "Vision"
sp.libraries = "c++"
sp.dependency "abseil"
sp.dependency "tinyxml"
end
s.subspec "XCTestLib" do |sp|
sp.source_files = "Classes/XCTest/*.{h,m,swift,mm,cc}"
sp.public_header_files = "Classes/XCTest/*.h"
sp.ios.framework = "XCTest"
sp.dependency "GTXiLib/GTXiLib"
end
s.default_subspec = "GTXiLib"
end