-
Notifications
You must be signed in to change notification settings - Fork 128
Expand file tree
/
Copy pathPodfile
More file actions
44 lines (39 loc) · 1.5 KB
/
Podfile
File metadata and controls
44 lines (39 loc) · 1.5 KB
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
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
def common_specs
# pod 'Firestack', :path => '../'
# pod 'React', :path => '../node_modules/react-native'
[
'Firebase/Core',
'Firebase/Auth',
'Firebase/Storage',
'Firebase/Database',
'Firebase/RemoteConfig',
'Firebase/Messaging'
].each do |lib|
pod lib
end
end
target 'Firestack' do
use_frameworks!(false)
common_specs
project "Firestack.xcodeproj"
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |configuration|
# target.build_settings(configuration.name)['FRAMEWORK_SEARCH_PATHS'] = flat_frameworks
target.build_settings(configuration.name)['OTHER_LDFLAGS'] = '$(inherited)'
target.build_settings(configuration.name)['USER_HEADER_SEARCH_PATHS'] = "$(BUILT_PRODUCTS_DIR)"
target.build_settings(configuration.name)['LD_DYLIB_INSTALL_NAME'] = '@rpath/${EXECUTABLE_NAME}'
target.build_settings(configuration.name)['LD_RUNPATH_SEARCH_PATHS'] = '$(inherited) @rpath @loader_path/../Frameworks @executable_path/Frameworks'
target.build_settings(configuration.name)['HEADER_SEARCH_PATHS'] = [
"$(inherited)",
"${PODS_ROOT}/Headers/**",
"$(SRCROOT)/../../node_modules/React/**",
"$(SRCROOT)/../../node_modules/react-native/React/**"
].join(' ')
target.build_settings(configuration.name)['OTHER_LDFLAGS'] = "$(inherited)"
end
end
end
end