forked from zhongfuqiang/js-ios-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPodfile
27 lines (25 loc) · 1.1 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
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, "8.0"
pod 'Appirater', '2.0.5'
pod 'SWRevealViewController', '2.3.0'
pod 'JaspersoftSDK', :git => 'https://github.com/Jaspersoft/js-ios-sdk.git', :tag => '2.5', :subspecs => ['JSCore', 'JSSecurity', 'JSReportExtention']
post_install do |installer_representation|
installer_representation.pods_project.targets.each do |target|
if target.name == "Pods-JaspersoftSDK"
target.build_configurations.each do |config|
if config.build_settings['GCC_PREPROCESSOR_DEFINITIONS']
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] |= ['$(inherited)']
elsif
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)']
end
if config.name == 'Debug'
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] |= ['__DEBUG__']
elsif config.name == 'Adhoc'
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] |= ['__ADHOC__']
elsif config.name == 'Release'
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] |= ['__RELEASE__']
end
end
end
end
end