You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Build fails on iOS and macOS when SPM is enabled #1328
Run the example app of stream_video with SPM enabled
Check build error regarding dependency resolution
xcodebuild: error: Could not resolve package dependencies:
Failed to resolve dependencies Dependencies could not be resolved because no versions of 'stream-video-swift-webrtc' match the requirement 145.17.0 and 'stream_webrtc_flutter-3.2.0' depends on 'stream-video-swift-webrtc' 145.17.0.
Hi, thanks for the report. That version is published and fine on our side. I verified 145.17.0 exists on the public repo and resolves cleanly from a completely cold cache. Please clear the SPM caches via Xcode (File → Packages → Reset Package Caches) and try again.
Hi @Brazol, I'm unable to clear SPM cache in XCode, the options are disabled (see attached screenshot)
Further, I asked AI on how to resolve it differently and even after following bunch of steps (clearing swiftpm cache using cli, clearing all build directories, removing DerivedData, etc) I still am facing the same issue.
@OutdatedGuy can you look at ~/Library/Caches/org.swift.swiftpm and open that with xcode. It should look something like the image below. I wonder if stream-video-swift-webrtc is there and if it is, can you delete it? After deleting you should run flutter clean before flutter pub get and flutter run.
and the issue resolved with stream_webrtc_flutter but same issue occurred with firebase-ios-sdk. So, I don't think it's a stream_webrtc_flutter issue but rather a SPM / XCode / Flutter issue.
We're closing this ticket as the issue seems not related to stream-video. If it's somehow solved in the flutter SDK, but still an issue only with our package feel free to re-open.
Activity
Brazol commentedon Sep 8, 2026
Hi, thanks for the report. That version is published and fine on our side. I verified 145.17.0 exists on the public repo and resolves cleanly from a completely cold cache. Please clear the SPM caches via Xcode (File → Packages → Reset Package Caches) and try again.
OutdatedGuy commentedon Sep 8, 2026
Hi @Brazol, I'm unable to clear SPM cache in XCode, the options are disabled (see attached screenshot)

Further, I asked AI on how to resolve it differently and even after following bunch of steps (clearing swiftpm cache using cli, clearing all build directories, removing DerivedData, etc) I still am facing the same issue.
renefloor commentedon Sep 9, 2026
@OutdatedGuy can you look at
~/Library/Caches/org.swift.swiftpmand open that with xcode. It should look something like the image below. I wonder if stream-video-swift-webrtc is there and if it is, can you delete it? After deleting you should runflutter cleanbefore flutter pub get and flutter run.OutdatedGuy commentedon Sep 9, 2026
Yes it was present there, I tried deleting it and followed your steps still no result. I even deleted the whole cache with:
and then ran:
still same issue.
I cloned the https://github.com/GetStream/webrtc-flutter repo locally and updated
Package.swiftinside bothiosandmacosdirectories to use commit hash instead of tag with below changes:dependencies: [ .package(name: "FlutterFramework", path: "../FlutterFramework"), .package( - url: "https://github.com/GetStream/stream-video-swift-webrtc.git", exact: "145.17.0" + url: "https://github.com/GetStream/stream-video-swift-webrtc.git", .revision("61cd264753ddf22e175e2537369c3173c471c5a3") ) ],then override the package in
pubspec.yamllike this:and the issue resolved with
stream_webrtc_flutterbut same issue occurred withfirebase-ios-sdk. So, I don't think it's astream_webrtc_flutterissue but rather a SPM / XCode / Flutter issue.renefloor commentedon Oct 20, 2026
We're closing this ticket as the issue seems not related to stream-video. If it's somehow solved in the flutter SDK, but still an issue only with our package feel free to re-open.