Open mtzfactory opened 4 years ago
I'm adding a link to this same issue as it is being discussed in a react-native-sip repo, since I think you might be using it. I think I might have found a solution and hopefully it can help you out.
https://github.com/florindumitru/react-native-sip/issues/6#issuecomment-605302549
Version
3.4.1 / 3.5 (Xcode 11.3.1)
File / Feature
/Users/alfred-smart/Downloads/rn-demos/SipClientDemo/node_modules/react-native-sip/ios/VialerPJSIP.framework/Headers/pj/config_site.h
Expected behaviour
Compile the project
Actual behaviour
It fails to compile... Could not build module 'OpenGLES'
Stacktrace / Error message
While building module 'UIKit' imported from /Users/alfred-smart/Downloads/rn-demos/SipClientDemo/ios/Pods/Target Support Files/react-native-sip/react-native-sip-prefix.pch:2: While building module 'Foundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:8: While building module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6: While building module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16: While building module 'OpenGLES' imported from /Users/alfred-smart/Downloads/rn-demos/SipClientDemo/ios/Pods/../../node_modules/react-native-sip/ios/VialerPJSIP.framework/Headers/pj/config_site.h:7: In file included from:1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLDrawable.h:8:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGL.h:8:10: fatal error: cyclic dependency in module 'Foundation': Foundation -> CoreFoundation -> Darwin -> OpenGLES -> Foundation
include <Foundation/Foundation.h>
Other info
{anything else that might be related/useful}