Skip to content

Commit 9b7e956

Browse files
committed
Restructure repo and update podspec
1 parent d1cde74 commit 9b7e956

File tree

11 files changed

+11
-13
lines changed

11 files changed

+11
-13
lines changed

GeoFire.podspec

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,25 @@
11
Pod::Spec.new do |s|
22
s.name = "GeoFire"
3-
s.version = "4.0.2"
3+
s.version = "4.1.0"
44
s.summary = "Realtime location queries with Firebase."
55
s.homepage = "https://github.com/firebase/geofire-objc"
66
s.license = { :type => 'MIT', :file => 'LICENSE' }
77
s.author = "Firebase"
88
s.source = { :git => "https://github.com/firebase/geofire-objc.git", :tag => 'v' + s.version.to_s }
9-
s.source_files = "GeoFire/**/*.{h,m}"
10-
s.documentation_url = "https://geofire-ios.firebaseapp.com/docs/"
119
s.ios.deployment_target = '10.0'
12-
s.ios.dependency 'Firebase/Database', '~> 7.8.0'
13-
s.frameworks = 'CoreLocation', 'FirebaseDatabase'
1410
s.requires_arc = true
15-
s.static_framework = true
11+
s.default_subspec = 'Database'
12+
13+
s.subspec 'Database' do |db|
14+
db.ios.dependency 'Firebase/Database', '~> 7.8.0'
15+
db.ios.dependency 'GeoFire/Utils'
16+
db.public_header_files = "GeoFire/API/*.h"
17+
db.source_files = "GeoFire/Implementation/*.{hm}"
18+
db.frameworks = 'FirebaseDatabase'
19+
end
1620

1721
s.subspec 'Utils' do |utils|
18-
utils.source_files = [
19-
"GeoFire/**/GFUtils*.[mh]",
20-
"GeoFire/**/GFGeoQueryBounds*.[mh]",
21-
"GeoFire/**/GFGeoHashQuery*.[mh]",
22-
"GeoFire/**/GFGeoHash*.[mh]",
23-
"GeoFire/**/GFBase32Utils*.[mh]",
24-
]
22+
utils.source_files = "GeoFire/Utils/*.{hm}"
2523
utils.frameworks = 'CoreLocation'
2624
end
2725
end
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)