Skip to content

Commit

Permalink
Add podfile for SR tests
Browse files Browse the repository at this point in the history
  • Loading branch information
louiszawadzki committed Nov 16, 2023
1 parent 1ab75ba commit bbe8d73
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions example/ios/PodfileForTests → example/ios/PodfileForSRTests
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,23 @@ if linkage != nil
use_frameworks! :linkage => linkage.to_sym
end

use_modular_headers!

target 'ddSdkReactnativeExample' do
native_ios_sdk_path = ENV['DD_NATIVE_IOS_SDK_PATH']
if (native_ios_sdk_path) {
pod 'DatadogCore', :path => "#{native_ios_sdk_path}/DatadogCore.podspec"
pod 'DatadogLogs', :path => "#{native_ios_sdk_path}/DatadogLogs.podspec"
pod 'DatadogTrace', :path => "#{native_ios_sdk_path}/DatadogTrace.podspec"
pod 'DatadogInternal', :path => "#{native_ios_sdk_path}/DatadogInternal.podspec"
pod 'DatadogRUM', :path => "#{native_ios_sdk_path}/DatadogRUM.podspec"
pod 'DatadogCrashReporting', :path => "#{native_ios_sdk_path}/DatadogCrashReporting.podspec"
pod 'DatadogWebViewTracking', :path => "#{native_ios_sdk_path}/DatadogWebViewTracking.podspec"
pod 'DatadogSessionReplay', :path => "#{native_ios_sdk_path}/DatadogSessionReplay.podspec"
}

pod 'DatadogSDKReactNative', :path => '../../packages/core/DatadogSDKReactNative.podspec', :testspecs => ['Tests']
pod 'DatadogSDKReactNativeSessionReplay', :path => '../../packages/react-native-session-replay/DatadogSDKReactNativeSessionReplay.podspec', :testspecs => ['Tests']

config = use_native_modules!

Expand Down

0 comments on commit bbe8d73

Please sign in to comment.