From 21430bd590731602a617b91ed8e0b0d565d8ef05 Mon Sep 17 00:00:00 2001 From: sravan Date: Fri, 31 Jul 2026 20:25:35 +0530 Subject: [PATCH] Fix pod install: also git-pin LiveKitUniFFI 0.0.6 (LiveKit 2.15.3's SPM-only dep) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --repo-update still failed: "Unable to find a specification for LiveKitUniFFI (= 0.0.6)". LiveKitUniFFI is genuinely NOT on the CocoaPods CDN (trunk returns "No pod found") — it's SPM-only — but its repo ships a podspec at tag 0.0.6 with no further deps (it just downloads its prebuilt XCFramework). So pin it to its git tag too, alongside LiveKitClient. LiveKitWebRTC 144.x + SwiftProtobuf resolve from the CDN. This should complete resolution and keep us on CocoaPods (no SPM migration). Co-Authored-By: Claude Opus 4.8 --- mobile/scripts/ios-patch.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mobile/scripts/ios-patch.sh b/mobile/scripts/ios-patch.sh index 92e587f..c901c33 100644 --- a/mobile/scripts/ios-patch.sh +++ b/mobile/scripts/ios-patch.sh @@ -137,11 +137,15 @@ if [ -f "$PODFILE" ]; then ruby -e ' p = "mobile/ios/App/Podfile" s = File.read(p) - pin = " pod \x27LiveKitClient\x27, :git => \x27https://github.com/livekit/client-sdk-swift.git\x27, :tag => \x272.15.3\x27\n" + # LiveKitClient 2.15.3 depends on LiveKitUniFFI (= 0.0.6), which is NOT on the CocoaPods CDN (SPM-only), + # so we ALSO pin it to its git tag (its podspec at 0.0.6 has no further deps — just downloads its + # prebuilt XCFramework). LiveKitWebRTC 144.x + SwiftProtobuf resolve from the CDN normally. + pin = " pod \x27LiveKitClient\x27, :git => \x27https://github.com/livekit/client-sdk-swift.git\x27, :tag => \x272.15.3\x27\n" + + " pod \x27LiveKitUniFFI\x27, :git => \x27https://github.com/livekit/livekit-uniffi-xcframework.git\x27, :tag => \x270.0.6\x27\n" if s =~ /target ["\x27]App["\x27] do\n/ s = s.sub(/target ["\x27]App["\x27] do\n/) { |m| m + pin } File.write(p, s) - puts "Podfile: pinned LiveKitClient -> git tag 2.15.3" + puts "Podfile: pinned LiveKitClient 2.15.3 + LiveKitUniFFI 0.0.6 (git tags)" else STDERR.puts "WARN: could not find \"target App do\" in Podfile — LiveKit pin NOT applied" exit 1