Created
December 2, 2021 15:47
-
-
Save oblador/7cbd4d24b6792e0e8e55d5ef924bc1ef to your computer and use it in GitHub Desktop.
GoogleMaps xcframework podspec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pod::Spec.new do |s| | |
s.name = "GoogleMaps" | |
s.version = "6.0.0" | |
s.summary = "Google Maps SDK for iOS." | |
s.description = <<-DESC | |
Use the Google Maps SDK for iOS to enrich your app with interactive maps, immersive Street View panoramas, and detailed information from Google's Places database. | |
DESC | |
s.homepage = "https://developers.google.com/maps/documentation/ios/" | |
s.license = { :type => "Copyright", :text => "Copyright 2021 Google" } | |
s.author = "Google, Inc." | |
s.platform = :ios, "12.0" | |
s.source = { :http => 'https://dl.google.com/geosdk/GoogleMaps-6.0.0-beta.tar.gz' } | |
s.default_subspecs = ["Maps"] | |
s.subspec "Base" do |ss| | |
ss.frameworks = [ | |
"CoreData", | |
"CoreGraphics", | |
"CoreLocation", | |
"CoreTelephony", | |
"QuartzCore", | |
"SystemConfiguration", | |
"UIKit" | |
] | |
ss.libraries = [ | |
"c++", | |
"z" | |
] | |
ss.vendored_frameworks = [ | |
"GoogleMapsBase.xcframework" | |
] | |
end | |
s.subspec "Maps" do |ss| | |
ss.frameworks = [ | |
"Accelerate", | |
"CoreImage", | |
"CoreText", | |
"GLKit", | |
"ImageIO", | |
"Metal", | |
"OpenGLES", | |
"QuartzCore" | |
] | |
ss.libraries = [ | |
"c++", | |
"z" | |
] | |
ss.vendored_frameworks = [ | |
"GoogleMaps.xcframework", | |
"GoogleMapsCore.xcframework" | |
] | |
ss.dependency "GoogleMaps/Base" | |
ss.resources = ["GoogleMaps.xcframework/ios-arm64_x86_64-simulator/GoogleMaps.framework/Resources/GoogleMaps.bundle"] | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment