Unable to Archive using Xcode 11.1
Able to build an archive on Xcode 10.3 but archive not generating on Xcode 11
Steps:-
1.) Install latest or old 'realm'
2.) Link the realm using - react-native link realm
3.) Start generating and archive.
4.) Fails to generate archive
Error :-
GCDWebServers target :-
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h:187:18: Unknown type name 'SecTrustRef'
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredential.h:9:9: Could not build module 'Security'
/Users/impadmin/Documents/Projects/ReactNativeProjects/MainBoilerPlate/node_modules/realm/vendor/GCDWebServer/GCDWebServer/Core/GCDWebServerHTTPStatusCodes.h:31:9: Could not build module 'Foundation'
Version:-
react-native: "0.61.1"
realm: "3.3.0"
xcode:11.1
ios:13