Skip to content

Header paths broken in v141 #132

Description

@tleyden

Thanks for creating this project! I just found out I was using a 2 year old GoogleWebRTC pod in my react native project, so I'm trying to switch over to the more recent code in the WebRTC-lib pod.

Unfortunately when I try to use this pod I get build errors:

❌  (../Debug-iphonesimulator/XCFrameworkIntermediates/WebRTC-lib/WebRTC.framework/Headers/RTCCodecSpecificInfo.h:13:9)

  11 | #import <Foundation/Foundation.h>
  12 |
> 13 | #import "sdk/objc/base/RTCMacros.h"
     |         ^ 'sdk/objc/base/RTCMacros.h' file not found

It seems that in the Headers it expects a different directory layout than what's actually on the filesystem, whereas in the older GoogleWebRTC it expects headers to be in the same dir.

WebRTC-lib/WebRTC.xcframework/ios-x86_64_arm64-simulator/WebRTC.framework/Headers > cat RTCCodecSpecificInfo.h
....
#import <Foundation/Foundation.h>

#import "sdk/objc/base/RTCMacros.h"

vs with the GoogleWebRTC for the same file:

> cat RTCCodecSpecificInfo.h
....
#import <Foundation/Foundation.h>

#import "RTCMacros.h"

Has anyone else run into this? Any suggested workarounds?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions