File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
3
# ci_post_clone.sh
4
- # CloudBuildTestbed
4
+ # BuildSettingExtractor
5
5
#
6
6
# Created by James Dempsey on 6/10/23.
7
7
#
8
8
9
9
if [ $CI_XCODE_CLOUD = " TRUE" ]; then
10
10
11
+ # Get path to xcconfig files in project
12
+ configFolderPath = " $CI_PRIMARY_REPOSITORY_PATH /Config"
13
+
11
14
# Write private project configuration file
12
- privateProjectConfigPath=" $CI_PRIMARY_REPOSITORY_PATH /Config /PrivateProjectConfig.xcconfig"
15
+ privateProjectConfigPath=" $configFolderPath /PrivateProjectConfig.xcconfig"
13
16
14
17
cat > $privateProjectConfigPath << - EOF
15
18
DEVELOPMENT_TEAM = $CI_TEAM_ID
16
19
EOF
17
20
18
21
# Write private app configuration file
19
- privateAppConfigPath=" $CI_PRIMARY_REPOSITORY_PATH /Config /PrivateAppConfig.xcconfig"
22
+ privateAppConfigPath=" $configFolderPath /PrivateAppConfig.xcconfig"
20
23
21
24
cat > $privateAppConfigPath << - EOF
22
25
PRODUCT_BUNDLE_IDENTIFIER = $CI_BUNDLE_ID
You can’t perform that action at this time.
0 commit comments