Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: '__debug' file not found while building the plugin on MAC and xcode15 #1030

Open
AnandMWio opened this issue Apr 19, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@AnandMWio
Copy link

Package version

3.0.0-pre.7

Environment

* OS:macOS Sonoma 4.4.1
* XCode 15

Steps To Reproduce

Clone the repo
try to run Build_plugin_mac.sh
it says then no Plugin~/webrtc folder found under BuildScripts~
then i copied the plugin~ folder from the repo to BuildScripts~
process goes further and throws this error

Current Behavior

/BuildScripts~/Plugin~/libcxx/debug.cpp:21:10: fatal error: '__debug' file not found #include "__debug" ^~~~~~~~~ 1 error generated.

Expected Behavior

it generates plugin for mac device.

Anything else?

i wanted to build custom version of webrtc, but before that i want to understand normal flow and build process of webrtc , but that is also not working for me:(

@AnandMWio AnandMWio added the bug Something isn't working label Apr 19, 2024
@devluz
Copy link

devluz commented May 15, 2024

I just ran into the same issue. I tried to rebuild the repository using a clean Xcode 15.4 installation and I get the same error.
It does work using my old Xcode 15.2 folder though. It contains the __debug file here:
./Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__debug

The new Xcode 15.4 simply does not have this file.

I am curios what is the purpose of the __debug header?

As a workaround I tried simply removing the inclusion and so far everything appears to build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants