From adfe65dd96c3a67370e09e29468052ce4b777332 Mon Sep 17 00:00:00 2001 From: Dan Rosser Date: Sat, 3 Aug 2024 22:02:46 +1000 Subject: [PATCH] xCFrameworks ci fix (#415) * Fix xCFrameworks * xCFrameworks fix * Type fix Apothecary --- apothecary/apothecary | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apothecary/apothecary b/apothecary/apothecary index 6995b3e0d..7955c516e 100755 --- a/apothecary/apothecary +++ b/apothecary/apothecary @@ -1758,7 +1758,9 @@ function frameworkFormula() { TYPE_OUT=${TYPE} fi - cd "${LIBS_DIR_REAL}/${1}/lib/${TYPE}/" + + XCFRAMEWORK_PATH="${LIBS_DIR_REAL}/${1}/lib/${TYPE_OUT}/$1.xcframework" + cd "${LIBS_DIR_REAL}/${1}/lib/${TYPE_OUT}/" xcodebuild -create-xcframework $xcframework_flags -output $1.xcframework echoSuccess " xcframework for $TYPE built successfully." echo "========================" @@ -2035,7 +2037,7 @@ function xframeworkFormula() { echoSuccess " flags: \"$1\" \"$xcframework_flags\" " HERE_DIR=$(cd $(dirname "./"); pwd -P) - cd "${LIBS_DIR_REAL}/${1}/lib/${TYPE}/" + cd "${LIBS_DIR_REAL}/${1}/lib/${X_TYPE}/" xcodebuild -create-xcframework $xcframework_flags -output $1.xcframework echoSuccess " xcframework for $TYPE built successfully." echo "========================"