-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgdal-swift.podspec
32 lines (27 loc) · 1.18 KB
/
gdal-swift.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
#
# Be sure to run `pod lib lint gdal-ios.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'gdal-swift'
s.version = `git describe --abbrev=0 --tags`
s.summary = 'GDAL library'
s.description = "This is GDAL static library builded for ios platform, with swift binding"
s.homepage = 'https://github.com/syngenta/gdal-swift'
s.author = { 'Yevhenii Kalashnikov' => '[email protected]' }
s.source = { :git => 'https://github.com/syngenta/gdal-swift.git', :tag => s.version.to_s }
s.ios.deployment_target = '13.0'
s.prepare_command = "sh Sources/gdal/prepare_gdal.sh"
s.source_files = 'Sources/*.swift', 'Sources/TileProvider/*.swift'
s.pod_target_xcconfig = {
'ARCHS[sdk=iphonesimulator*]' => 'arm64',
'ARCHS[sdk=iphoneos*]' => 'arm64',
'ARCHS' => 'arm64'
}
s.xcconfig = { 'OTHER_LDFLAGS' => '-liconv' }
s.libraries = 'c++', 'sqlite3', 'z', 'xml2'
s.vendored_frameworks = 'Sources/gdal/gdal.xcframework'
end