-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathPodfile
51 lines (45 loc) · 1.39 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
47
48
49
50
51
#source 'https://github.com/CocoaPods/Specs.git'
use_frameworks!
sdk_name = "MiniApp"
secrets = [
"RMA_API_ENDPOINT_PROD",
"RMA_API_ENDPOINT_STG",
"RAS_PROJECT_SUBSCRIPTION_KEY_PROD",
"RAS_PROJECT_SUBSCRIPTION_KEY_STG",
"RAS_PROJECT_IDENTIFIER_PROD",
"RAS_PROJECT_IDENTIFIER_STG",
"RMA_DEMO_APP_BUILD_TYPE",
"RMA_GAD_APPLICATION_IDENTIFIER",
"RMA_APP_CENTER_SECRET",
"RAT_ENDPOINT"
]
def miniapp_pods
pod 'MiniApp/Admob', :path => './'
pod 'MiniApp/UI', :path => './'
pod 'MiniApp/Signature', :path => './'
end
platform :ios, '14.0'
target sdk_name + '_Example' do
project 'Sample.xcodeproj'
workspace sdk_name + '.xcworkspace'
miniapp_pods
pod 'AppCenter/Crashes'
pod 'RAnalytics', :source => 'https://github.com/rakutentech/ios-analytics-framework.git'
target sdk_name + '_Tests' do
inherit! :search_paths
pod 'Nimble', '~>9.2.1'
pod 'Quick', '~>5.0.1'
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings["ONLY_ACTIVE_ARCH"] = "YES"
config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = ""
config.build_settings['CODE_SIGNING_REQUIRED'] = "NO"
config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
end
end
system("./scripts/configure-secrets.sh #{sdk_name} #{secrets.join(" ")}")
system("./scripts/generate-ssh-pin.sh")
end