Getting errors in cstdlib in XCode 11 when compiling react-native project after upgrading from 0.60.5 to 0.62.1
I had upgraded my react-native project from version 0.60.5 to version 0.62.1 as per instructions given here react-native-community/upgrade-helper#191
After upgrading when i run my project from XCode 11.4 then it throws errors in cstdlib as given below
CompileC /Users/vinodchauhan/Library/Developer/Xcode/DerivedData/MedicBleep-fmktrjsqotxulmgkofrquozbtroe/Build/Intermediates.noindex/RealmReact.build/Debug-iphoneos/RealmReact.build/Objects-normal/armv7/RealmAnalytics.o /Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/react-native/ios/RealmReact/RealmAnalytics.mm normal armv7 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'RealmReact' from project 'RealmReact')
cd /Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/react-native/ios
export LANG=en_US.US-ASCII
/Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/react-native/ios/../../scripts/ccache-clang.sh -x objective-c++ -target armv7-apple-ios8.0 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c++14 -stdlib=libc++ -fobjc-arc -fmodules -fmodules-cache-path=/Users/vinodchauhan/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/vinodchauhan/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Wno-objc-interface-ivars -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -Wno-c++11-extensions -DDEBUG=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Winvalid-offsetof -g -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -fembed-bitcode-marker -index-store-path /Users/vinodchauhan/Library/Developer/Xcode/DerivedData/MedicBleep-fmktrjsqotxulmgkofrquozbtroe/Index/DataStore -iquote /Users/vinodchauhan/Library/Developer/Xcode/DerivedData/MedicBleep-fmktrjsqotxulmgkofrquozbtroe/Build/Intermediates.noindex/RealmReact.build/Debug-iphoneos/RealmReact.build/RealmReact-generated-files.hmap -I/Users/vinodchauhan/Library/Developer/Xcode/DerivedData/MedicBleep-fmktrjsqotxulmgkofrquozbtroe/Build/Intermediates.noindex/RealmReact.build/Debug-iphoneos/RealmReact.build/RealmReact-own-target-headers.hmap -I/Users/vinodchauhan/Library/Developer/Xcode/DerivedData/MedicBleep-fmktrjsqotxulmgkofrquozbtroe/Build/Intermediates.noindex/RealmReact.build/Debug-iphoneos/RealmReact.build/RealmReact-all-non-framework-target-headers.hmap -ivfsoverlay /Users/vinodchauhan/Library/Developer/Xcode/DerivedData/MedicBleep-fmktrjsqotxulmgkofrquozbtroe/Build/Intermediates.noindex/RealmReact.build/Debug-iphoneos/RealmReact.build/all-product-headers.yaml -iquote /Users/vinodchauhan/Library/Developer/Xcode/DerivedData/MedicBleep-fmktrjsqotxulmgkofrquozbtroe/Build/Intermediates.noindex/RealmReact.build/Debug-iphoneos/RealmReact.build/RealmReact-project-headers.hmap -I/Users/vinodchauhan/Library/Developer/Xcode/DerivedData/MedicBleep-fmktrjsqotxulmgkofrquozbtroe/Build/Products/Debug-iphoneos/include -I/Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/src -I/Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/src/object-store/src -I/Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/src/object-store/external/json -I/Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/vendor -I/Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/vendor/realm-ios/include -I../../vendor/GCDWebServer/GCDWebServer -I../../vendor/GCDWebServer/GCDWebServer/Core -I../../vendor/GCDWebServer/GCDWebServer/Requests -I../../vendor/GCDWebServer/GCDWebServer/Responses -I../../../react-native/React -I../../../react-native/React/Base -I../../../react-native/React/CoreModules -I../../../react-native/React/CxxBridge -I../../../react-native/React/CxxModule -I../../../react-native/React/CxxUtils -I../../../react-native/React/DevSupport -I../../../react-native/React/Fabric -I../../../react-native/React/Inspector -I../../../react-native/React/Modules -I../../../react-native/React/Profiler -I../../../react-native/React/UIUtils -I../../../react-native/React/Views -I../../../react-native/React/Base/Surface -I../../../react-native/React/Fabric/Mounting -I../../../react-native/React/Fabric/Surface -I../../../react-native/React/Fabric/Utils -I../../../react-native/React/Views/RefreshControl -I../../../react-native/React/Views/SafeAreaView -I../../../react-native/React/Views/ScrollView -I../../../react-native/React/Base/Surface/SurfaceHostingView -I../../../react-native/React/Fabric/Mounting/ComponentViews -I../../../react-native/React/Fabric/Mounting/ComponentViews/ART -I../../../react-native/React/Fabric/Mounting/ComponentViews/ActivityIndicator -I../../../react-native/React/Fabric/Mounting/ComponentViews/Image -I../../../react-native/React/Fabric/Mounting/ComponentViews/LegacyViewManagerInterop -I../../../react-native/React/Fabric/Mounting/ComponentViews/Modal -I../../../react-native/React/Fabric/Mounting/ComponentViews/Root -I../../../react-native/React/Fabric/Mounting/ComponentViews/SafeAreaView -I../../../react-native/React/Fabric/Mounting/ComponentViews/ScrollView -I../../../react-native/React/Fabric/Mounting/ComponentViews/Slider -I../../../react-native/React/Fabric/Mounting/ComponentViews/Switch -I../../../react-native/React/Fabric/Mounting/ComponentViews/Text -I../../../react-native/React/Fabric/Mounting/ComponentViews/UnimplementedComponent -I../../../react-native/React/Fabric/Mounting/ComponentViews/UnimplementedView -I../../../react-native/React/Fabric/Mounting/ComponentViews/View -I../../../../ios/Pods/Headers/Public -I../../../../ios/Pods/Headers/Public/CocoaAsyncSocket -I../../../../ios/Pods/Headers/Public/CocoaLibEvent -I../../../../ios/Pods/Headers/Public/DoubleConversion -I../../../../ios/Pods/Headers/Public/FBLazyVector -I../../../../ios/Pods/Headers/Public/FBReactNativeSpec -I../../../../ios/Pods/Headers/Public/Firebase -I../../../../ios/Pods/Headers/Public/FirebaseAuth -I../../../../ios/Pods/Headers/Public/FirebaseAuthInterop -I../../../../ios/Pods/Headers/Public/FirebaseCore -I../../../../ios/Pods/Headers/Public/FirebaseCoreDiagnostics -I../../../../ios/Pods/Headers/Public/FirebaseCoreDiagnosticsInterop -I../../../../ios/Pods/Headers/Public/FirebaseInstanceID -I../../../../ios/Pods/Headers/Public/Flipper -I../../../../ios/Pods/Headers/Public/Flipper-DoubleConversion -I../../../../ios/Pods/Headers/Public/Flipper-Folly -I../../../../ios/Pods/Headers/Public/Flipper-Glog -I../../../../ios/Pods/Headers/Public/Flipper-PeerTalk -I../../../../ios/Pods/Headers/Public/Flipper-RSocket -I../../../../ios/Pods/Headers/Public/FlipperKit -I../../../../ios/Pods/Headers/Public/GTMSessionFetcher -I../../../../ios/Pods/Headers/Public/GoogleDataTransport -I../../../../ios/Pods/Headers/Public/GoogleDataTransportCCTSupport -I../../../../ios/Pods/Headers/Public/GoogleUtilities -I../../../../ios/Pods/Headers/Public/OpenSSL-Universal -I../../../../ios/Pods/Headers/Public/Permission-Camera -I../../../../ios/Pods/Headers/Public/Permission-MediaLibrary -I../../../../ios/Pods/Headers/Public/Permission-Microphone -I../../../../ios/Pods/Headers/Public/Permission-PhotoLibrary -I../../../../ios/Pods/Headers/Public/RCTRequired -I../../../../ios/Pods/Headers/Public/RCTTypeSafety -I../../../../ios/Pods/Headers/Public/RNBackgroundFetch -I../../../../ios/Pods/Headers/Public/RNCAsyncStorage -I../../../../ios/Pods/Headers/Public/RNColorMatrixImageFilters -I../../../../ios/Pods/Headers/Public/RNDateTimePicker -I../../../../ios/Pods/Headers/Public/RNDeviceInfo -I../../../../ios/Pods/Headers/Public/RNEmbrace -I../../../../ios/Pods/Headers/Public/RNFBApp -I../../../../ios/Pods/Headers/Public/RNFBCrashlytics -I../../../../ios/Pods/Headers/Public/RNFS -I../../../../ios/Pods/Headers/Public/RNFirebase -I../../../../ios/Pods/Headers/Public/RNGestureHandler -I../../../../ios/Pods/Headers/Public/RNPermissions -I../../../../ios/Pods/Headers/Public/RNReanimated -I../../../../ios/Pods/Headers/Public/RNSVG -I../../../../ios/Pods/Headers/Public/RNScreens -I../../../../ios/Pods/Headers/Public/RNSecureKeyStore -I../../../../ios/Pods/Headers/Public/RNVectorIcons -I../../../../ios/Pods/Headers/Public/React-Core -I../../../../ios/Pods/Headers/Public/React-RCTText -I../../../../ios/Pods/Headers/Public/React-cxxreact -I../../../../ios/Pods/Headers/Public/React-jsi -I../../../../ios/Pods/Headers/Public/React-jsiexecutor -I../../../../ios/Pods/Headers/Public/React-jsinspector -I../../../../ios/Pods/Headers/Public/ReactCommon -I../../../../ios/Pods/Headers/Public/ReactNativeART -I../../../../ios/Pods/Headers/Public/ReactNativeAudioToolkit -I../../../../ios/Pods/Headers/Public/TouchID -I../../../../ios/Pods/Headers/Public/Yoga -I../../../../ios/Pods/Headers/Public/YogaKit -I../../../../ios/Pods/Headers/Public/glog -I../../../../ios/Pods/Headers/Public/nanopb -I../../../../ios/Pods/Headers/Public/react-native-bg-thread -I../../../../ios/Pods/Headers/Public/react-native-camera -I../../../../ios/Pods/Headers/Public/react-native-document-picker -I../../../../ios/Pods/Headers/Public/react-native-geocoder -I../../../../ios/Pods/Headers/Public/react-native-geolocation -I../../../../ios/Pods/Headers/Public/react-native-image-picker -I../../../../ios/Pods/Headers/Public/react-native-image-resizer -I../../../../ios/Pods/Headers/Public/react-native-netinfo -I../../../../ios/Pods/Headers/Public/react-native-orientation-locker -I../../../../ios/Pods/Headers/Public/react-native-slider -I../../../../ios/Pods/Headers/Public/react-native-video -I../../../../ios/Pods/Headers/Public/react-native-webview -I../../../../ios/Pods/Headers/Public/CocoaLibEvent/event2 -I../../../../ios/Pods/Headers/Public/DoubleConversion/double-conversion -I../../../../ios/Pods/Headers/Public/FBLazyVector/FBLazyVector -I../../../../ios/Pods/Headers/Public/FBReactNativeSpec/FBReactNativeSpec -I../../../../ios/Pods/Headers/Public/Flipper-DoubleConversion/double-conversion -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly -I../../../../ios/Pods/Headers/Public/Flipper-Glog/glog -I../../../../ios/Pods/Headers/Public/Flipper-PeerTalk/peertalk -I../../../../ios/Pods/Headers/Public/Flipper-RSocket/rsocket -I../../../../ios/Pods/Headers/Public/Flipper-RSocket/yarpl -I../../../../ios/Pods/Headers/Public/FlipperKit/FBDefines -I../../../../ios/Pods/Headers/Public/FlipperKit/FlipperKitHighlightOverlay -I../../../../ios/Pods/Headers/Public/FlipperKit/FlipperKitLayoutPlugin -I../../../../ios/Pods/Headers/Public/FlipperKit/FlipperKitLayoutTextSearchable -I../../../../ios/Pods/Headers/Public/FlipperKit/FlipperKitNetworkPlugin -I../../../../ios/Pods/Headers/Public/FlipperKit/FlipperKitReactPlugin -I../../../../ios/Pods/Headers/Public/FlipperKit/FlipperKitUserDefaultsPlugin -I../../../../ios/Pods/Headers/Public/FlipperKit/SKIOSNetworkPlugin -I../../../../ios/Pods/Headers/Public/OpenSSL-Universal/openssl -I../../../../ios/Pods/Headers/Public/RCTRequired/RCTRequired -I../../../../ios/Pods/Headers/Public/RCTTypeSafety/RCTTypeSafety -I../../../../ios/Pods/Headers/Public/React-Core/React -I../../../../ios/Pods/Headers/Public/React-RCTText/RCTText -I../../../../ios/Pods/Headers/Public/React-cxxreact/cxxreact -I../../../../ios/Pods/Headers/Public/React-jsi/jsi -I../../../../ios/Pods/Headers/Public/React-jsiexecutor/jsireact -I../../../../ios/Pods/Headers/Public/React-jsinspector/jsinspector -I../../../../ios/Pods/Headers/Public/ReactCommon/ReactCommon -I../../../../ios/Pods/Headers/Public/Yoga/yoga -I../../../../ios/Pods/Headers/Public/glog/glog -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/concurrency -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/container -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/detail -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/executors -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/experimental -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/functional -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/futures -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/gen -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/hash -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/init -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/io -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/lang -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/memory -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/net -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/portability -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/ssl -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/synchronization -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/system -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/tracing -I../../../../ios/Pods/Headers/Public/Flipper-RSocket/rsocket/benchmarks -I../../../../ios/Pods/Headers/Public/Flipper-RSocket/rsocket/framing -I../../../../ios/Pods/Headers/Public/Flipper-RSocket/rsocket/internal -I../../../../ios/Pods/Headers/Public/Flipper-RSocket/rsocket/statemachine -I../../../../ios/Pods/Headers/Public/Flipper-RSocket/rsocket/transports -I../../../../ios/Pods/Headers/Public/Flipper-RSocket/yarpl/flowable -I../../../../ios/Pods/Headers/Public/Flipper-RSocket/yarpl/observable -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/container/detail -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/executors/task_queue -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/executors/thread_factory -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/futures/detail -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/hash/detail -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/io/async -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/memory/detail -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/net/detail -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/ssl/detail -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/synchronization/detail -I../../../../ios/Pods/Headers/Public/Flipper-RSocket/rsocket/transports/tcp -I../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/io/async/ssl -I/Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/tests/react-test-app/ios/Pods/Headers/Public/React -I/Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/examples/ReactExample/node_modules/react-native/React -I/Users/vinodchauhan/Library/Developer/Xcode/DerivedData/MedicBleep-fmktrjsqotxulmgkofrquozbtroe/Build/Intermediates.noindex/RealmReact.build/Debug-iphoneos/RealmReact.build/DerivedSources-normal/armv7 -I/Users/vinodchauhan/Library/Developer/Xcode/DerivedData/MedicBleep-fmktrjsqotxulmgkofrquozbtroe/Build/Intermediates.noindex/RealmReact.build/Debug-iphoneos/RealmReact.build/DerivedSources/armv7 -I/Users/vinodchauhan/Library/Developer/Xcode/DerivedData/MedicBleep-fmktrjsqotxulmgkofrquozbtroe/Build/Intermediates.noindex/RealmReact.build/Debug-iphoneos/RealmReact.build/DerivedSources -F/Users/vinodchauhan/Library/Developer/Xcode/DerivedData/MedicBleep-fmktrjsqotxulmgkofrquozbtroe/Build/Products/Debug-iphoneos -isystem ../../core/include -MMD -MT dependencies -MF /Users/vinodchauhan/Library/Developer/Xcode/DerivedData/MedicBleep-fmktrjsqotxulmgkofrquozbtroe/Build/Intermediates.noindex/RealmReact.build/Debug-iphoneos/RealmReact.build/Objects-normal/armv7/RealmAnalytics.d --serialize-diagnostics /Users/vinodchauhan/Library/Developer/Xcode/DerivedData/MedicBleep-fmktrjsqotxulmgkofrquozbtroe/Build/Intermediates.noindex/RealmReact.build/Debug-iphoneos/RealmReact.build/Objects-normal/armv7/RealmAnalytics.dia -c /Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/react-native/ios/RealmReact/RealmAnalytics.mm -o /Users/vinodchauhan/Library/Developer/Xcode/DerivedData/MedicBleep-fmktrjsqotxulmgkofrquozbtroe/Build/Intermediates.noindex/RealmReact.build/Debug-iphoneos/RealmReact.build/Objects-normal/armv7/RealmAnalytics.o
In file included from /Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/react-native/ios/RealmReact/RealmAnalytics.mm:57:
In file included from /Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/react-native/ios/RealmReact/RealmAnalytics.h:57:
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:18:
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/usr/include/assert.h:44:
In file included from ../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/portability/stdlib.h:19:
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:100:9: error: no member named 'div_t' in the global namespace; did you mean 'dev_t'?
using ::div_t;
~~^
In file included from /Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/react-native/ios/RealmReact/RealmAnalytics.mm:57:
In file included from /Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/react-native/ios/RealmReact/RealmAnalytics.h:57:
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/usr/include/sys/types.h:103:
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/usr/include/sys/_types/_dev_t.h:31:31: note: 'dev_t' declared here
typedef __darwin_dev_t dev_t; /* device number /
^
In file included from /Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/react-native/ios/RealmReact/RealmAnalytics.mm:57:
In file included from /Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/react-native/ios/RealmReact/RealmAnalytics.h:57:
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:18:
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/usr/include/assert.h:44:
In file included from ../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/portability/stdlib.h:19:
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:101:9: error: no member named 'ldiv_t' in the global namespace; did you mean 'dev_t'?
using ::ldiv_t;
~~^
In file included from /Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/react-native/ios/RealmReact/RealmAnalytics.mm:57:
In file included from /Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/react-native/ios/RealmReact/RealmAnalytics.h:57:
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/usr/include/sys/types.h:103:
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/usr/include/sys/_types/_dev_t.h:31:31: note: 'dev_t' declared here
typedef __darwin_dev_t dev_t; / device number */
^
In file included from /Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/react-native/ios/RealmReact/RealmAnalytics.mm:57:
In file included from /Users/vinodchauhan/Documents/Projects/JiraProjectNew/MedicBleep/MB_V2.0/medic-bleep_v2.0/node_modules/realm/react-native/ios/RealmReact/RealmAnalytics.h:57:
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:18:
In file included from /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.4.sdk/usr/include/assert.h:44:
In file included from ../../../../ios/Pods/Headers/Public/Flipper-Folly/folly/portability/stdlib.h:19:
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:103:9: error: no member named 'lldiv_t' in the global namespace
using ::lldiv_t;
~~^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:105:9: error: no member named 'atof' in the global namespace
using ::atof;
~~^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:106:9: error: no member named 'atoi' in the global namespace
using ::atoi;
~~^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:107:9: error: no member named 'atol' in the global namespace
using ::atol;
~~^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:109:9: error: no member named 'atoll' in the global namespace
using ::atoll;
~~^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:111:9: error: no member named 'strtod' in the global namespace
using ::strtod;
~~^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:112:9: error: no member named 'strtof' in the global namespace
using ::strtof;
~~^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:113:9: error: no member named 'strtold' in the global namespace
using ::strtold;
~~^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:114:9: error: no member named 'strtol' in the global namespace
using ::strtol;
~~^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:116:9: error: no member named 'strtoll' in the global namespace
using ::strtoll;
~~^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:118:9: error: no member named 'strtoul' in the global namespace
using ::strtoul;
~~^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:120:9: error: no member named 'strtoull' in the global namespace
using ::strtoull;
~~^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:125:9: error: no member named 'rand' in the global namespace
using ::rand;
~~^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:126:9: error: no member named 'srand' in the global namespace
using ::srand;
~~^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:127:9: error: no member named 'calloc' in the global namespace
using ::calloc;
~~^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:128:9: error: no member named 'free' in the global namespace
using ::free;
~~^
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:129:9: error: no member named 'malloc' in the global namespace
using ::malloc;
~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
My podfile 👍
platform :ios, '10.0'
use_frameworks!
$dynamic_frameworks = ['RxCocoa', 'RxSwift', 'WhatEverSDKName']
pre_install do |installer|
installer.pod_targets.each do |pod|
if !$dynamic_frameworks.include?(pod.name)
puts "Overriding the static_framework? method for #{pod.name}"
def pod.build_type;
Pod::BuildType.static_library
end
end
end
end
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
def add_flipper_pods!
version = '~> 0.33.1'
pod 'FlipperKit', version, :configuration => 'Debug'
pod 'FlipperKit/FlipperKitLayoutPlugin', version, :configuration => 'Debug'
pod 'FlipperKit/SKIOSNetworkPlugin', version, :configuration => 'Debug'
pod 'FlipperKit/FlipperKitUserDefaultsPlugin', version, :configuration => 'Debug'
pod 'FlipperKit/FlipperKitReactPlugin', version, :configuration => 'Debug'
end
Post Install processing for Flipper
def flipper_post_install(installer)
installer.pods_project.targets.each do |target|
if target.name == 'YogaKit'
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '4.1'
end
end
end
end
target 'MedicBleep' do
Pods for MedicBleep
pod 'FBLazyVector', :path => "../node_modules/react-native/Libraries/FBLazyVector"
pod 'FBReactNativeSpec', :path => "../node_modules/react-native/Libraries/FBReactNativeSpec"
pod 'RCTRequired', :path => "../node_modules/react-native/Libraries/RCTRequired"
pod 'RCTTypeSafety', :path => "../node_modules/react-native/Libraries/TypeSafety"
pod 'React', :path => '../node_modules/react-native/'
pod 'React-Core', :path => '../node_modules/react-native/'
pod 'React-CoreModules', :path => '../node_modules/react-native/React/CoreModules'
pod 'React-Core/DevSupport', :path => '../node_modules/react-native/'
pod 'React-RCTActionSheet', :path => '../node_modules/react-native/Libraries/ActionSheetIOS'
pod 'React-RCTAnimation', :path => '../node_modules/react-native/Libraries/NativeAnimation'
pod 'React-RCTBlob', :path => '../node_modules/react-native/Libraries/Blob'
pod 'React-RCTImage', :path => '../node_modules/react-native/Libraries/Image'
pod 'React-RCTLinking', :path => '../node_modules/react-native/Libraries/LinkingIOS'
pod 'React-RCTNetwork', :path => '../node_modules/react-native/Libraries/Network'
pod 'React-RCTSettings', :path => '../node_modules/react-native/Libraries/Settings'
pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text'
pod 'React-RCTVibration', :path => '../node_modules/react-native/Libraries/Vibration'
pod 'React-Core/RCTWebSocket', :path => '../node_modules/react-native/'
pod 'React-cxxreact', :path => '../node_modules/react-native/ReactCommon/cxxreact'
pod 'React-jsi', :path => '../node_modules/react-native/ReactCommon/jsi'
pod 'React-jsiexecutor', :path => '../node_modules/react-native/ReactCommon/jsiexecutor'
pod 'React-jsinspector', :path => '../node_modules/react-native/ReactCommon/jsinspector'
pod 'ReactCommon/callinvoker', :path => "../node_modules/react-native/ReactCommon"
pod 'ReactCommon/turbomodule/core', :path => "../node_modules/react-native/ReactCommon"
pod 'Yoga', :path => '../node_modules/react-native/ReactCommon/yoga', :modular_headers => true
pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
pod 'react-native-bg-thread', :path => '../node_modules/react-native-bg-thread/react-native-bg-thread.podspec'
Required by RNFirebase
pod 'Firebase/Core', '> 6.13.0'
pod 'Firebase/Auth', '> 6.13.0'
pod 'Fabric'
pod 'Crashlytics'
Point to the installed version
pod 'RNDateTimePicker', :path => '../node_modules/@react-native-community/datetimepicker/RNDateTimePicker.podspec'
pod 'ReactNativeAudioToolkit', :path => '../node_modules/@react-native-community/audio-toolkit'
permissions_path = '../node_modules/react-native-permissions/ios'
pod 'Permission-Camera', :path => "#{permissions_path}/Camera.podspec"
pod 'Permission-Microphone', :path => "#{permissions_path}/Microphone.podspec"
pod 'Permission-PhotoLibrary', :path => "#{permissions_path}/PhotoLibrary.podspec"
pod 'Permission-MediaLibrary', :path => "#{permissions_path}/MediaLibrary.podspec"
pod 'RNSVG', :path => '../node_modules/react-native-svg'
pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'
pod 'TwilioVoice', '5.1.1'
Add these lines at the end of the target block
pod 'EmbraceIO'
pod 'RNEmbrace', :path => '../node_modules/react-native-embrace'
target 'MedicBleepTests' do
inherit! :complete
# Pods for testing
end
use_native_modules!
Enables Flipper.
Note that if you have use_frameworks! enabled, Flipper will not work and
you should disable these next few lines.
add_flipper_pods!
post_install do |installer|
flipper_post_install(installer)
end
end
target 'MedicBleep-tvOS' do
Pods for MedicBleep-tvOS
target 'MedicBleep-tvOSTests' do
inherit! :search_paths
# Pods for testing
end
end
Please help this is urgent.