Merge branch 'bugfix/scripts' into 'develop'

mkdir fix

See merge request BPHV_MIPS/mvm_core_ui!759
This commit is contained in:
Christiano, Kevin 2021-09-07 17:25:48 +00:00
commit dc28656177
3 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,5 @@
#!/bin/bash -e
unset TOOLCHAINS #Xcode 7.3 BUG FIX http://stackoverflow.com/questions/36184930/xcodebuild-7-3-cant-enable-bitcode
# define output folder environment variable
@ -6,7 +8,7 @@ PHONE_CONFIGURATION="Release"
SIMULATOR_CONFIGURATION="Debug"
BUILD_DIR=$(xcodebuild -showBuildSettings -project ./MVMCoreUI.xcodeproj | grep -w -o 'BUILD_DIR = .*' | cut -d\ -f3-)
SIMULATOR_LIBRARY_PATH="${BUILD_DIR}/${SIMULATOR_CONFIGURATION}-iphonesimulator/${C_PROJECT_NAME}.framework"
FRAMEWORKS_DIR=$BUILD_DIR/Frameworks
FRAMEWORKS_DIR=$BUILD_DIR/../../../Frameworks/MVMCoreUI
UNIVERSAL_OUTPUTFOLDER=${BUILD_DIR}/universal
# Step 1. Build Device and Simulator versions

View File

@ -12,10 +12,10 @@ if [ -z $ARTIFACTORY_URL ]; then
fi
BUILD_DIR=$(xcodebuild -showBuildSettings -project ./MVMCoreUI.xcodeproj | grep -w -o 'BUILD_DIR = .*' | cut -d\ -f3-)
FRAMEWORKS_DIR=$BUILD_DIR/Frameworks
FRAMEWORKS_DIR=$BUILD_DIR/../../../Frameworks/MVMCoreUI
if [ ! -d $FRAMEWORKS_DIR ]; then
mkdir $FRAMEWORKS_DIR
mkdir -p $FRAMEWORKS_DIR
fi
./Scripts/download_framework.sh $ARTIFACTORY_URL "$FRAMEWORKS_DIR/MVMCore.framework" BPHV_MobileFirst_IOS/com/vzw/hss/myverizon/MVMCore/1.0/MVMCore-1.0-Debug-SNAPSHOT.zip

View File

@ -14,7 +14,7 @@ LOGFILE=$3
LOCALDIR=$(dirname "${LOCALPATH}")
LOCALBASE=$(basename "${LOCALPATH}")
NEWFILEPATH="${LOCALDIR}"/$(basename "${REMOTEPATH}")
VERSIONFILE=$LOCALDIR/../Checksums/"${LOCALBASE}".txt
VERSIONFILE=$LOCALDIR/Checksums/"${LOCALBASE}".txt
if [ -z $URL ]; then
echo "The artifactory instance url must be specified as the first argument!"