Fix build failure on recent Xcode by avoiding transitive Nuke 10

Open Beginner friendly
#6 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
65/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
swift

Research direction

Open the project in a recent Xcode with the Swift 6 toolchain and resolve its Swift Package dependencies to reproduce the Nuke 10.x-related build failure. Review the dependency configuration and PR #5, then verify that dependencies no longer resolve transitively to Nuke 10.x and that the project builds successfully.

Written by the indexing model from the issue text.

Description

Problem

The sample currently fails to build on recent Xcode/Swift 6 toolchains because dependency resolution can pull in Nuke 10.x transitively.

Repro

  1. Open the project in a recent Xcode version (Swift 6 toolchain).
  2. Resolve Swift Package dependencies and build.

Error summary

Build fails in code paths that rely on Nuke APIs that changed in 10.x. The project is written against Nuke 9-era APIs, so a transitive upgrade to Nuke 10 causes compile-time errors.

Proposed fix

Use the fix from PR #5 to prevent transitive resolution to Nuke 10.x and restore successful builds on current Xcode:
https://github.com/GetStream/swiftui-iMessage-clone/pull/5

Dominant language
Swift
Stars
43
Forks
4
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GetStream/swiftui-iMessage-clone

All issues in GetStream/swiftui-iMessage-clone

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.