Closed Nahatakyan closed 2 years ago
Hi @Nahatakyan, thanks for stopping by and letting us know about SPM. At the moment, the Maps SDK for iOS does not support SPM. This is something that was evaluated in the past (https://issuetracker.google.com/issues/141721633) and I think it makes sense to revisit this since more developers are starting to switch to it. I suggest adding a +1 or commenting on the issue I linked to bump up the priority of this issue.
FYI: SPM is supported with the Maps SDK for iOS Utility Library if you are using that as well.
Thanks for the quick response.
@Nahatakyan you may take a look https://github.com/YAtechnologies/GoogleMaps-SP
@arriolac, do you have any information about this request?
@arriolac Are there any updates regarding official SPM support?
@arriolac any updates?
Hey everyone, SPM is definitely something we want to support, but there are a couple of steps before we can get there. First, XCFramework support needs to be added along with providing the architecture necessary to run the SDKs on the new Arm-based Macs—work is currently underway for this step. Once XCFramework support has been added, SPM support will be next. Unfortunately, I cannot share a timeline for this.
Thanks @arriolac! Appreciate the update.
+1
+1 Guys please 🙏 we really need that!
First, XCFramework support needs to be added along with providing the architecture necessary to run the SDKs on the new Arm-based Macs
@arriolac I think for many developers it would already help to provide the existing architectures as XCFramework. For us this would enable it to integrate GoogleMaps via Carthage-0.38's XCFramework support. Why we wanna do this? Because downloading big frameworks in SPM still slows down CI builds. In contrast Carthage-built frameworks can be cached quite easily on a CI.
Please also don't forget Google Places XCFramework support. Since nobody mentioned that anywhere, I just sneak it in 😅
+1
+1
+1
+1
+1
+1
+2
+3
+4
+5
While we're wishing for the impossible is google maps also going to get metal support?
+6
+7
+8
I've had to resolve to using an unofficial repository that wraps these libraries in SPM. Please do this officially!
+1
+1
+1
+1
Happy anniversary of this issue being opened! 🎂1️⃣
Hey everyone, we have not forgotten about this issue—it's a feature I'm personally vested in pushing forward. The first critical dependency for this is to support M1 Macs (see Issue #355 in the utils library). Once that is completed, XCFramework is next followed by SPM support. M1 support is what's blocking us mostly and XCFramework and SPM support will be a quick follow. We appreciate everyone's patience and I'll update you all as we make more progress.
+1
+1
+1
@all. You don't need to "+1" GitHub issues. It does nothing but spam everyone subscribed.
If you'd like to show your support for the issue, you can 👍 the original post at the top of the page.
If you'd like to be notified of updates to the issue, there is a button over on the side of the page where you can "Subscribe" to receive updates on the issue.
Please try and use those instead of commenting +1. I get bummed when I see there's an update to this issue, and it's just someone adding their "+1"
@Nahatakyan you may take a look https://github.com/YAtechnologies/GoogleMaps-SP
@karimhm I have added support to arm64
simulator https://github.com/vfn/GoogleMaps-SP/releases/tag/5.0.0-M1
Feel free to copy the scripts or to pull the changes back to your original repo
+1
+1
@arriolac Hello! Now than https://github.com/googlemaps/google-maps-ios-utils/issues/355#issuecomment-891982246 has been resolved, do you have an estimate for when we can expect Swift Package Manager support? (Even if in "Beta" like the XCFramework distribution is currently.)
Now that an XCFramework is available on 6.0, SPM can definitely be prioritized and implemented next—I can't share a timeline for this though. Let's continue the discussion in the issue already filed here.
Now that an XCFramework is available on 6.0, SPM can definitely be prioritized and implemented next—I can't share a timeline for this though. Let's continue the discussion in the issue already filed here.
Thanks for sharing, @arriolac. I don't understand the reason for closing the issue, though. There's no SPM support, and the issue is precisely about that.
Any updates on this issue? Is there a particular reason it's closed @arriolac?
I closed this issue so that updates can be consolidated in one place. Since this feature request is pertaining to the SDK itself (and not with the samples in this repo), the existing issue on the public issue tracker for the Maps SDK for iOS is the best place for that.
@arriolac Any updates?
@arriolac, could you post an update here? The issue you linked above is just full of hundreds of "+1"s with no insight.
Previously you said adding SPM support was a goal of yours and the team was working on unblockin git-- is that still true? Some insight would really be great for many (thousands?) of engineers wanting this.
The Maps SDK for iOS team recognizes the burgeoning demand for SPM support. Although I can't promise dates for upcoming releases, I'll reiterate that "starring" the issue on the Maps SDK for iOS Public Issue Tracker is the best way to get notified when SPM support is available.
Wow, this is frustrating. Still no support? 2023 is almost done.
This is incredible... how is there no SPM support yet?
Smells like a business decision to just not do it. I can't really think of another reason after this time.
Hi. I am using only Swift Package Manager and for me it better than cocoapod or carthage. Can I know when I can use GoogleMaps with SPM?