getsentry / sentry-cocoa

The official Sentry SDK for iOS, tvOS, macOS, watchOS.
https://sentry.io/for/cocoa/
MIT License
816 stars 330 forks source link

Sentry package added via SPM is not resolving #4537

Closed fpena closed 1 week ago

fpena commented 2 weeks ago

Platform

iOS

Environment

Production

Installed

Swift Package Manager

Version

8.40.1

Xcode Version

16.1

Did it work on previous versions?

7.12.0

Steps to Reproduce

  1. In Xcode and the project, go to "Package Dependencies"
  2. Tap on "+" icon to add a new package.
  3. Search for "sentry" in the search box and select the sentry package: sentry-cocoa
  4. Tap "Add package", making sure dependency rule is "Up to Next Major Version" and version is 8.40.1

Image

Expected Result

Add package without issues.

Actual Result

I get modal window with an error message: "sentry-cocoa.git could not be resolved"

Image

Are you willing to submit a PR?

No response

brustolin commented 2 weeks ago

Hello @fpena and thanks for reaching out. I was not able to reproduce the problem.

I believe this was some temporary problem of GitHub servers. Can you try again?

fpena commented 2 weeks ago

Hello @fpena and thanks for reaching out. I was not able to reproduce the problem.

I believe this was some temporary problem of GitHub servers. Can you try again?

Hello! Thanks for the reply. I tried again and I still get the same error. For the record, this has been happening for a span of several days.

fpena commented 1 week ago

I was able to fix this by deleting the "Derived Data" folder. Thanks!