Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SwiftPackageManger print "skipping cache due to an error" warning for realm-swift #8534

Closed
VictorVlakh opened this issue Apr 2, 2024 · 4 comments

Comments

@VictorVlakh
Copy link

How frequently does the bug occur?

Always

Description

When add https://github.com/realm/realm-swift repository via SwiftPackageManager, in the logs I see the following warning:

skipping cache due to an error: https://github.com/realm/realm-swift: The repository could not be found. Make sure a valid repository exists at the specified location and try again.

Screenshot 2024-04-02 at 09 38 05

Realm: 10.49.1

Stacktrace & log output

No response

Can you reproduce the bug?

Always

Reproduction Steps

  1. Create new project
  2. Add realm-swift via SwiftPackageManager
  3. Reset package caches

Version

10.49.1

What Atlas Services are you using?

Local Database only

Are you using encryption?

No

Platform OS and version(s)

mac os (14.1)

Build environment

Xcode version: 15.3
Dependency manager and version: SwiftPackageManager

Copy link

sync-by-unito bot commented Apr 2, 2024

➤ PM Bot commented:

Jira ticket: RCOCOA-2327

@Jaycyn
Copy link

Jaycyn commented Apr 2, 2024

Maybe just a typo but by the screenshot, the path is not correct. The repository that should be added has a .git extension on the end:

https://github.com/realm/realm-swift.git

not

https://github.com/realm/realm-swift

see

Realm Installation

I just tried it with yours and got the same error. Adding .git make it work correctly without the error.

@VictorVlakh
Copy link
Author

VictorVlakh commented Apr 2, 2024

@Jaycyn Thank you very much, it was really typo :)

@nerzh
Copy link

nerzh commented Apr 5, 2024

@Jaycyn thanks 👍

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants