forked from lexrus/MMDB-Swift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMMDB-Swift.podspec
34 lines (25 loc) · 1.08 KB
/
MMDB-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
33
34
Pod::Spec.new do |s|
s.name = "MMDB-Swift"
s.version = "0.2.7"
s.summary = "A wrapper for MaxMind DB"
s.description = <<-DESC
A tiny wrapper for libmaxminddb which allows you to lookup
Geo data by IP address.
DESC
s.homepage = "https://github.com/lexrus/MMDB-Swift"
s.license = { :type => "APACHE 2.0", :file => "LICENSE" }
s.author = { "Lex Tang" => "[email protected]" }
s.social_media_url = "https://twitter.com/lexrus"
s.platform = :ios, :osx
s.ios.deployment_target = "8.0"
s.osx.deployment_target = "10.10"
s.source = { :git => "https://github.com/lexrus/MMDB-Swift.git",
:tag => s.version }
s.source_files = "MMDB/MMDB.swift", "MMDB/maxminddb*.{h,c}"
s.ios.public_header_files = "MMDB/maxminddb*.h", "MMDB-iOS/MMDB.h"
s.osx.public_header_files = "MMDB/maxminddb*.h", "MMDB-OSX/MMDB.h"
s.prepare_command = "./update_database.sh"
s.resource = "MMDB/GeoLite2-Country.mmdb"
s.framework = "Foundation"
s.requires_arc = true
end