CartoDB / mobile-sdk

CARTO Mobile SDK core project
https://carto.com/docs/carto-engine/mobile-sdk/
BSD 3-Clause "New" or "Revised" License
178 stars 65 forks source link

Unable to install the pods for carto mobile sdk iOS #546

Open Surendra432 opened 1 month ago

Surendra432 commented 1 month ago

I am trying to install the pods to my project, it saying some amazon aws error. I am using Mac with M1 pro chip

Screenshot 2024-05-17 at 14 24 08
farfromrefug commented 1 month ago

@Surendra432 indeed it seems broken. See this discussion https://github.com/nativescript-community/ui-carto/issues/4

Surendra432 commented 1 month ago

@farfromrefug I tried that process, but it is not working

Screenshot 2024-05-21 at 12 51 55 Screenshot 2024-05-21 at 12 52 15
farfromrefug commented 1 month ago

@Surendra432 not sure what s going on there. What does your podspec looks like?

Surendra432 commented 1 month ago

@farfromrefug Pod::Spec.new do |s|

s.name = "CartoMobileSDK" s.module_name = "CartoMobileSDK" s.version = "4.4.7" s.summary = "CARTO Mobile SDK is an advanced MapView with 3D effects, offline maps, routing, geocoding and many more features"

s.description = <<-DESC Advanced MapView API

               * Offline packages for maps, routing and geocoding
               * Fast vector tile rendering with CartoCSS styling
               * 2.5D view - tilting, rotating, navigation view
               * 3D models on map
               * Use your own custom map data sources
               * Same API for iOS, Android, Xamarin, Universal Windows Platform

               By carto.com
               DESC

s.homepage = "https://carto.com/developers/mobile-sdk/" s.screenshots = "https://github.com/CartoDB/mobile-ios-samples/blob/gh-pages/carto-mobile-sdk-animated.gif?raw=true"

s.license = { :type => "BSD", :text => <<-LICENSE $license LICENSE }

s.author = { "CARTO" => "https://www.carto.com" } s.social_media_url = "https://twitter.com/carto"

s.platform = :ios, "9.0"

s.source = { :http => "https://github.com/Akylas/mobile-sdk/releases/download/release%2Fv4.4.6-rc.1/CartoMobileSDK.4.4.7.ios.zip" }

s.source_files = "CartoMobileSDK.xcframework/*/.{h,m,mm}"

s.public_header_files = "CartoMobileSDK.xcframework/*/.{h}"

s.preserve_paths = "CartoMobileSDK.xcframework"

s.frameworks = [ "OpenGLES", "GLKit", "UIKit", "CoreGraphics", "CoreText", "CFNetwork", "Foundation" ]

s.weak_frameworks = []

s.vendored_frameworks = "CartoMobileSDK.xcframework"

s.libraries = "z", "c++"

s.requires_arc = true

s.cocoapods_version = ">= 1.10.1"

end

farfromrefug commented 1 month ago

@Surendra432 your podspec is good so i think your error is really related to the path of the podspec itself as the error implies. And i cant help much more on this without being in front of your computer ...

Surendra432 commented 1 month ago

@farfromrefug Can I get the xcframework, so that I can add directly and do the work. I need cartomap 4.4.0 version Please do it if possible, thanks in advance

farfromrefug commented 1 month ago

@Surendra432 look at the podspec the linkmis in there ;)

Surendra432 commented 1 month ago

@farfromrefug I can't find the 4.4.0 version, I can see only 4.4.7 version there

farfromrefug commented 1 month ago

@Surendra432 sorry misread the version. No i dont have 4.4.0

Surendra432 commented 1 month ago

@farfromrefug Do you have any alternate solution for this?

farfromrefug commented 1 month ago

@Surendra432 if you want 4.4.0 your only solution is to build it yourself