googlemaps-samples / maps-sdk-for-ios-samples

Samples for the Google Maps and Places SDKs for iOS
https://developers.google.com/maps/documentation/ios-sdk/
Apache License 2.0
295 stars 164 forks source link

Swift Package Manager support #70

Closed Nahatakyan closed 2 years ago

Nahatakyan commented 4 years ago

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?

arriolac commented 4 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.

Nahatakyan commented 4 years ago

Thanks for the quick response.

karimhm commented 4 years ago

@Nahatakyan you may take a look https://github.com/YAtechnologies/GoogleMaps-SP

barnavarga commented 4 years ago

@arriolac, do you have any information about this request?

jannisnikoy commented 3 years ago

@arriolac Are there any updates regarding official SPM support?

bdrelling commented 3 years ago

@arriolac any updates?

arriolac commented 3 years ago

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.

bdrelling commented 3 years ago

Thanks @arriolac! Appreciate the update.

victor-cuc commented 3 years ago

+1

ninjaproger commented 3 years ago

+1 Guys please 🙏 we really need that!

Blackjacx commented 3 years ago

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 😅

NilayDagdemir commented 3 years ago

+1

federicopolesello commented 3 years ago

+1

ioramashvili commented 3 years ago

+1

RyuX51 commented 3 years ago

+1

yosuke1985 commented 3 years ago

+1

mac190 commented 3 years ago

+1

leontedev commented 3 years ago

+2

sudeepdunzo commented 3 years ago

+3

JCTec commented 3 years ago

+4

kyungkoo commented 3 years ago

+5

ioramashvili commented 3 years ago

image

Bergasms commented 3 years ago

While we're wishing for the impossible is google maps also going to get metal support?

k-4-b-4 commented 3 years ago

+6

spencerwhyte commented 3 years ago

+7

mhmtkrgz commented 3 years ago

+8

millman82 commented 3 years ago

I've had to resolve to using an unofficial repository that wraps these libraries in SPM. Please do this officially!

+1

OldCrab commented 3 years ago

+1

snitsaruk commented 3 years ago

+1

jan-hudak-etn commented 3 years ago

+1

dafurman commented 3 years ago

Happy anniversary of this issue being opened! 🎂1️⃣

arriolac commented 3 years ago

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.

aebanoidze commented 3 years ago

+1

johnnieWa1ker commented 3 years ago

+1

damcho commented 3 years ago

+1

mgray88 commented 3 years ago

@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"

vfn commented 3 years ago

@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

jacklebbos commented 3 years ago

+1

nooralam6 commented 3 years ago

+1

mthole commented 2 years ago

@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.)

arriolac commented 2 years ago

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.

snitsaruk commented 2 years ago

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.

cerupcat commented 2 years ago

Any updates on this issue? Is there a particular reason it's closed @arriolac?

arriolac commented 2 years ago

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.

AbboskhonShukurullaev commented 1 year ago

@arriolac Any updates?

mthole commented 1 year ago

@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.

wangela commented 1 year ago

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.

lawgimenez commented 1 year ago

Wow, this is frustrating. Still no support? 2023 is almost done.

andyzaharia commented 1 year ago

This is incredible... how is there no SPM support yet?

RyuX51 commented 1 year ago

Smells like a business decision to just not do it. I can't really think of another reason after this time.