Answered

Long time to fetch intercom-ios repository with SPM

  • 29 June 2021
  • 9 replies
  • 180 views

I noticed that adding intercom-ios takes an awfully long time to fetch repository. Upon further inspection it looks like the repo is ~1.5GB in size.

 

Swift package manager for some reason chooses to fetch the entire directory and therefore it takes an inordinate amount of time to download (over 8minutes).

icon

Best answer by Eric Fitz 1 July 2021, 12:32

View original

9 replies

Userlevel 1

Hey @user831​, our mobile engineers are aware of this issue! Once it's been triaged and a fix is shipped, I'll be sure to let you know.

Still an issue 5 months later, no news

My team is also waiting for this fix.. Is it still planned?

Is there any update on that? It's Aug 2022 and the problem still persists.

Hasn't really been an issue for me for a while… I don't know if it was an update in Xcode or not. If I reset package caches now it's not nearly as long to download.

I’m running into the same issue.

Userlevel 2
Badge +2

@Aurora  @Simon B @User350 @Jérémie @User831 

This has now been fixed. Swift Package Manager should take just a few seconds now.

Thanks

Brian

Userlevel 2
Badge +2

Sorry folks. The fix we applied caused some other issues so we had to revert it.
Working on a different solution now. Will post here with an update once we’ve resolved it.

Thanks, Brian

Userlevel 2
Badge +2

We now have a new repo for Intercom Swift Packages.

Please use https://github.com/intercom/intercom-ios-sp when integrating Intercom with SPM.

Thanks!

Reply