Skip to content

Instantly share code, notes, and snippets.

@oblador
Created December 2, 2021 15:47
Show Gist options
  • Save oblador/7cbd4d24b6792e0e8e55d5ef924bc1ef to your computer and use it in GitHub Desktop.
Save oblador/7cbd4d24b6792e0e8e55d5ef924bc1ef to your computer and use it in GitHub Desktop.
GoogleMaps xcframework podspec
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