You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.
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}
The text was updated successfully, but these errors were encountered:
mtzfactory
changed the title
Compiling error ... Cyclic dependency in module 'Darwin'..
Compiling error ... Cyclic dependency in module 'Foundation'..
Mar 19, 2020
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.
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}
The text was updated successfully, but these errors were encountered: