iOS library building broken since late August?

152 views
Skip to first unread message

kohe...@gmail.com

unread,
Sep 27, 2025, 10:17:31 PMSep 27
to discuss-webrtc
Hello,

We've been using the `tools_webrtc/ios/build_ios_libs.py` script for many years without any trouble.

However, since this commit on August 27th, the resultant iOS Framework has been unusable.
The reason for this is the removal of the `tools_webrtc/apple/copy_framework_header.py` script from the build process.
Prior to this change, all WebRTC header files had their paths rewritten, e.g. from `#import "sdk/objc/base/RTCMacros.h"` to `#import <WebRTC/RTCMacros.h>`.
That commit totally rearranges the Mac/iOS build, and removes the `create_bracket_include_headers_$target_name` action from the build process.
The problem is that the `sdk/objc/base/RTCMacros.h` is, of course, invalid in the Framework, because all `.h` files are flattened in one level.

Is there some new way the iOS library is expected to be used that prevents the compiler from trying to follow these imports? Or is this a bug?

Thanks,
Moshe

Kota Yatagai

unread,
Nov 5, 2025, 7:51:09 AM (20 hours ago) Nov 5
to discuss-webrtc
I have encountered the same issue ('sdk/objc/base/RTCMacros.h' file not found) with the latest version of the repository as of this post. For my case reverting the webrtc.gni back to the commit right behind the 1c1c160 worked, but I believe this is a bug.

Kota

2025年9月28日日曜日 11:17:31 UTC+9 kohe...@gmail.com:

kohe...@gmail.com

unread,
Nov 5, 2025, 9:14:56 AM (19 hours ago) Nov 5
to discuss-webrtc
It looks like this is being tracked in https://issues.webrtc.org/issues/450130875

Kota Yatagai

unread,
Nov 5, 2025, 9:43:51 AM (18 hours ago) Nov 5
to discuss-webrtc
thanks. I'll look into it

2025年11月5日水曜日 23:14:56 UTC+9 kohe...@gmail.com:
Reply all
Reply to author
Forward
0 new messages