From e1eef0179344e75b22eebd270f1bab3f988be3e1 Mon Sep 17 00:00:00 2001 From: TristaTel25 Date: Fri, 22 Jan 2021 20:27:25 +0800 Subject: [PATCH] merge https://github.com/datso/react-native-pjsip/pull/219 to support RN 0.60+ --- react-native-pjsip.podspec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/react-native-pjsip.podspec b/react-native-pjsip.podspec index 18c7c3c1..df7efd55 100644 --- a/react-native-pjsip.podspec +++ b/react-native-pjsip.podspec @@ -17,4 +17,8 @@ Pod::Spec.new do |s| s.dependency 'React' s.vendored_frameworks = 'ios/VialerPJSIP.framework' + s.xcconfig = { + 'GCC_PREPROCESSOR_DEFINITIONS' => 'PJ_AUTOCONF=1', + 'USE_HEADERMAP' => 'NO', + } end