Skip to content

Commit

Permalink
Fixed podsped and autoconf as in datso#219
Browse files Browse the repository at this point in the history
  • Loading branch information
bisark committed Feb 17, 2021
1 parent 4abd7c3 commit 91eaf3e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ios/RTCPjSip.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,8 @@
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
USE_HEADERMAP = NO;

};
name = Debug;
};
Expand Down Expand Up @@ -275,6 +277,7 @@
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
VALIDATE_PRODUCT = YES;
USE_HEADERMAP = NO;
};
name = Release;
};
Expand All @@ -288,7 +291,7 @@
);
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
PJ_AUTOCONF,
"PJ_AUTOCONF=1",
);
HEADER_SEARCH_PATHS = (
"$(SRCROOT)/../../react-native/React/**",
Expand All @@ -314,7 +317,7 @@
"$(inherited)",
"$(PROJECT_DIR)",
);
GCC_PREPROCESSOR_DEFINITIONS = PJ_AUTOCONF;
GCC_PREPROCESSOR_DEFINITIONS = "PJ_AUTOCONF=1";
HEADER_SEARCH_PATHS = (
"$(SRCROOT)/../../react-native/React/**",
"\"$(SRCROOT)/VialerPJSIP/Headers\"",
Expand Down
4 changes: 4 additions & 0 deletions react-native-pjsip.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 91eaf3e

Please sign in to comment.