Skip to content

Commit

Permalink
Type fix Apothecary
Browse files Browse the repository at this point in the history
  • Loading branch information
danoli3 committed Aug 3, 2024
1 parent 05443c9 commit 3eaccce
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apothecary/apothecary
Original file line number Diff line number Diff line change
Expand Up @@ -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 "========================"
Expand Down Expand Up @@ -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 "========================"
Expand Down

0 comments on commit 3eaccce

Please sign in to comment.