WebRTC icon indicating copy to clipboard operation
WebRTC copied to clipboard

sdk/objc/base/RTCMacros.h' file not found

Open zedlv opened this issue 2 months ago • 1 comments

报错: /Users/lvyazhou/Library/Developer/Xcode/DerivedData/Janus项目-fkwvipddeyekombkkbuqodybetfw/Build/Products/Debug-iphonesimulator/WebRTC.framework/Headers/RTCCodecSpecificInfo.h:13:9 'sdk/objc/base/RTCMacros.h' file not found

xcode :Version 16.2 (16C5032a)

// swift-tools-version:5.3 import PackageDescription

let package = Package( name: "WebRTC", platforms: [.iOS(.v10), .macOS(.v10_11)], products: [ .library( name: "WebRTC", targets: ["WebRTC"]), ], dependencies: [ ], targets: [ .binaryTarget( name: "WebRTC", url: "https://github.com/stasel/WebRTC/releases/download/141.0.0/WebRTC-M141.xcframework.zip", checksum: "e3b9bc1aed7a6f3f747a62567680ac7837bdbb74d1fae8f0f543131bc1bf8a5f" ), ] )

Image

zedlv avatar Nov 20 '25 07:11 zedlv

@zedlv This is a duplicate of https://github.com/stasel/WebRTC/issues/132. Fix was already implemented by WebRTC developers. See https://webrtc-review.googlesource.com/c/src/+/424441 for details. Will probably be released with version M143.

Until this version is available you can downgrade to version M140 which is confirmed to be working properly in that regard.

markusboesch avatar Nov 24 '25 12:11 markusboesch