refiner-io/mobile-sdk-ios

SPM: Fetching time problem

Black-Opium opened this issue · 11 comments

skipping cache due to an error: https://github.com/refiner-io/mobile-sdk-ios.git: The repository could not be found. Make sure a valid repository exists at the specified location and try again.

@Black-Opium I just checked and could fetch successfully. Maybe network or proxy problems on your end?

@tekinalper Already for more than 2 days this problem has been bothering me. At first, I also thought it might be the proxy, VPN, or a bad connection, but the problem is only with RefinerSDK. I also tried loading through VPN - it didn’t help. We have more than 10 libraries in our project, and none of them take this long to load. If the problem wasn’t with a specific library, I wouldn’t have written here.

@Black-Opium What is your Xcode version? Still 15.3?

You may also try cleaning up DerivedData and reset SPM cache if you didn't.

@tekinalper
Xcode project version 15.0
Xcode version 15.4 (15F31d)
Swift 5

Using the cmd + shift + k, manually clearing the DerivedData folder, using the DevCleaner app, and reset package caches… None of these methods help. The RefinerSDK still takes more than 1 minute to load

@Black-Opium Looks really odd :/ Googled and found out some people also had the same problem. I wish I could help but unfortunately it's totally out of my control.

  1. Is there any difference between the latest Refiner SDK version 1.4.0 and previous versions?
  2. Can you try to upgrade Refiner SDK version in our example project? Maybe somehow caching works?
  3. In case of a network problem, can you try to connect mobile data or another network instead of VPN?

@tekinalper I tried everything you suggested, but unfortunately nothing worked, not even restarting my Mac… lol.
I tried downloading the previous version and the latest one, but nothing changed.
The package downloads, but very slowly.

haha did you try using another Mac? 🫠

@tekinalper I tried to clone your repository on my Mac. The download speed was terribly slow. However, when I tried to clone it using the command git clone --depth 1 https://github.com/refiner-io/mobile-sdk-ios.git, the repository downloaded surprisingly quickly.

I also asked some of my colleagues to download it, but unfortunately, they didn’t experience any issues.

I guess I’m not destined to port your SDK to SPM.