build and deploy

This commit is contained in:
Pfeil, Scott Robert 2021-07-01 11:44:33 -04:00
parent 997a3c96b7
commit dafe8e3160

View File

@ -14,6 +14,8 @@ UNIVERSAL_OUTPUTFOLDER=${BUILD_DIR}/universal
# Step 1. Build Device and Simulator versions
xcodebuild -scheme "${C_PROJECT_NAME}" ONLY_ACTIVE_ARCH=NO -configuration ${PHONE_CONFIGURATION} -sdk iphoneos -archivePath "${BUILD_DIR}/${PHONE_CONFIGURATION}-iphoneos/${C_PROJECT_NAME}" archive SKIP_INSTALL=false FRAMEWORK_SEARCH_PATHS=$FRAMEWORKS_DIR
#copy the framework into the build directory where it is looking for it.
ditto $FRAMEWORKS_DIR/MVMCore.framework "${BUILD_DIR}/${SIMULATOR_CONFIGURATION}-iphonesimulator/MVMCore.framework
xcodebuild -target "${C_PROJECT_NAME}" ONLY_ACTIVE_ARCH=NO -configuration ${SIMULATOR_CONFIGURATION} -sdk iphonesimulator -arch x86_64 FRAMEWORK_SEARCH_PATHS=$FRAMEWORKS_DIR
mkdir -p "${UNIVERSAL_OUTPUTFOLDER}"