/
Podfile
46 lines (36 loc) · 1.48 KB
/
Podfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
platform :ios, '14.0'
target 'Example' do
config = use_native_modules!
use_react_native!(:path => config[:reactNativePath], :hermes_enabled => false)
pod 'RNReanimated', :path => '../node_modules/react-native-reanimated'
pod 'RNGestureHandler', :path => '../node_modules/react-native-gesture-handler'
post_install do |installer|
react_native_post_install(installer)
# Apple Silicon builds require a library path tweak for Swift library discovery or "symbol not found" for swift things
installer.aggregate_targets.each do |aggregate_target|
aggregate_target.user_project.native_targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['LIBRARY_SEARCH_PATHS'] = ['$(SDKROOT)/usr/lib/swift', '$(inherited)']
end
end
aggregate_target.user_project.save
end
end
end
target 'NotificationService' do
pod "CleverTap-iOS-SDK", :modular_headers => true
pod "CTNotificationService", :modular_headers => true
end
target 'NotificationContent' do
pod "CTNotificationContent"
end
# Added these target for sample code only in Swift
target 'NotificationServiceSwift' do
pod "CleverTap-iOS-SDK", :modular_headers => true
pod "CTNotificationService", :modular_headers => true
end
target 'NotificationContentSwift' do
pod "CTNotificationContent"
end