diff --git a/mobile/scripts/ios-patch.sh b/mobile/scripts/ios-patch.sh index 2d3f585..92e587f 100644 --- a/mobile/scripts/ios-patch.sh +++ b/mobile/scripts/ios-patch.sh @@ -149,6 +149,11 @@ if [ -f "$PODFILE" ]; then ' fi grep -n "LiveKitClient" "$PODFILE" || true + # `npx cap sync` already ran `pod install` with the PRE-pin Podfile, leaving a Podfile.lock that pins + # LiveKitClient = 2.0.18 — which conflicts with the git-tag source we just injected ("could not find + # compatible versions … In snapshot (Podfile.lock): LiveKitClient (= 2.0.18)"). Drop the lock so the + # later "Install CocoaPods" step re-resolves cleanly against tag 2.15.3. + rm -f "mobile/ios/App/Podfile.lock" && echo "Removed stale Podfile.lock (cap-sync pinned 2.0.18)" fi echo "Info.plist patched:"