File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,8 @@ source ${dir}/../utils/errors.sh
15
15
# IOS_PLATFORM_TYPE="iphoneos"
16
16
# IOS_BUILD_DIR="build"
17
17
18
- buildConfig=" ${IOS_BUILD_TYPE} -${IOS_PLATFORM_TYPE} "
18
+ # We have only release builds on AWS
19
+ buildConfig=" Release-${IOS_PLATFORM_TYPE} "
19
20
s3BasePath=" ${AWS_S3_BUILD_ARTIFACTS_BASE_PATH} "
20
21
21
22
# "Directories" on AWS S3 to store uploaded build products
@@ -144,11 +145,12 @@ function pullNativeBuildProducts() {
144
145
145
146
local -r buildArtifactsToPull=(" MapboxVisionNative" " MapboxVisionARNative" " MapboxVisionSafetyNative" )
146
147
147
- for framework in " ${buildArtifactsToPull[@]} " ; do
148
- pullFramework " ${framework } "
148
+ for buildArtifact in " ${buildArtifactsToPull[@]} " ; do
149
+ pullFramework " ${buildArtifact } "
149
150
150
151
# copy pulled frameworks into Carthage/Build/iOS dir to allow building
151
- cp -a " Carthage/Build/iOS/${IOS_BUILD_TYPE} -${IOS_PLATFORM_TYPE} /${framework} .framework" " Carthage/Build/iOS"
152
+ echo " Copying ${buildArtifact} into Carthage/Build/iOS dir"
153
+ cp -a " Carthage/Build/iOS/${IOS_BUILD_TYPE} -${IOS_PLATFORM_TYPE} /${buildArtifact} .framework" " Carthage/Build/iOS"
152
154
done
153
155
154
156
echo
You can’t perform that action at this time.
0 commit comments