Skip to content

fix(ios): fetch the Breez Liquid pods from lnflash's mirror - #753

Closed
islandbitcoin wants to merge 1 commit into
mainfrom
jabariennis/ios-breez-liquid-pod-mirror
Closed

islandbitcoin wants to merge 1 commit into
mainfrom
jabariennis/ios-breez-liquid-pod-mirror

Conversation

@islandbitcoin

@islandbitcoin islandbitcoin commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

Every fresh iOS build has failed since about 4 October. Breez retired the Breez SDK - Liquid, and its GitHub repos now return 404. CocoaPods trunk still sources BreezSDKLiquid 0.11.13 from github.com/breez/breez-sdk-liquid-swift, and breez_sdk_liquidFFI 0.11.13 from that repo's release zip. So pod install stops with Error installing BreezSDKLiquid … could not read Username for 'https://github.com'. The iOS Build Check has been red on every PR since, #748–#750 included.

The app still needs the Liquid SDK, for the Liquid-to-Spark migration (app/utils/breez-sdk/migration.ts), so dropping it isn't an option yet.

Fix

  • lnflash/breez-sdk-liquid-swift: a new public, unmodified mirror of the 0.11.13 artifacts, taken from the copies CocoaPods downloaded from Breez on 2026-07-14. It holds the Swift sources with Breez's LICENSE (MIT) and README. The xcframework is a release asset, breez_sdk_liquidFFI.xcframework.zip, sha256 613cec74…0241. Its MIRROR.md records the provenance.
  • ios/podspecs/: Breez's own podspecs for both pods, with only source changed to the mirror. The zip is pinned by sha256.
  • ios/Podfile: both app targets (LNFlash, LNFlash-Alt) use those podspecs.
  • ios/Podfile.lock: only the two pods change, moving from trunk to the podspecs with new checksums.

Verified

  • The mirror matches the originals. The zip unpacks to exactly the cached xcframework. Downloaded anonymously from GitHub, it's 357,907,975 bytes with the same sha256.
  • A fresh install fetches from the mirror. I ran pod install against a copy of the CocoaPods cache with both Breez pods removed, so the mirror was the only source. It installed both. The installed sources and xcframework are byte-identical to what the app has shipped since July.

A local note: in a shell with FORCE_COLOR set, VisionCamera's worklets check reads node's coloured "undefined" as a path and wrongly turns on frame processors. CI doesn't set it. Run pod install with NO_COLOR=1 FORCE_COLOR=0 if you hit Unable to find a specification for react-native-worklets-core.

Follow-up

This keeps builds working; it doesn't fix the Liquid situation. Boltz, which the Liquid SDK uses for swaps, is down (boltz.exchange no longer resolves), so the migration most likely can't complete today. The plan is a prompted migration, then a Boltz-free exit for unmigrated balances, then removing Liquid, after which this mirror can be archived.

🤖 Generated with Claude Code

Breez retired the Breez SDK - Liquid and its GitHub repos now return 404,
so every fresh `pod install` failed at BreezSDKLiquid 0.11.13: CocoaPods
trunk still points its source (and breez_sdk_liquidFFI's xcframework zip)
at github.com/breez/breez-sdk-liquid-swift. The iOS Build Check has failed
on every PR since.

The app still needs the Liquid SDK for the Liquid-to-Spark migration, so
both pods now come from lnflash/breez-sdk-liquid-swift, an unmodified
mirror of the 0.11.13 artifacts CocoaPods downloaded from Breez on
2026-07-14 (MIT; provenance in its MIRROR.md). ios/podspecs/ holds Breez's
own podspecs with only `source` changed, the xcframework zip pinned by
sha256; both app targets use them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@islandbitcoin

Copy link
Copy Markdown
Contributor Author

Closing without merging. We're removing the Breez Liquid SDK from the app outright (PR to follow), which drops both pods, so the mirror isn't needed. The mirror repo (lnflash/breez-sdk-liquid-swift) and this branch stay in place as a fallback in case the removal has to be reverted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant