Skip to content

Commit

Permalink
Fix Build Issue
Browse files Browse the repository at this point in the history
  • Loading branch information
graphemecluster committed Jan 9, 2024
1 parent f129a46 commit f55a7fd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
submodules: recursive

- name: Select Xcode version
run: sudo xcode-select -s /Applications/Xcode_15.0.1.app/Contents/Developer
run: sudo xcode-select -s /Applications/Xcode_15.1.app/Contents/Developer

- name: Build
run: |
Expand Down
9 changes: 4 additions & 5 deletions build-ios.sh
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ build_librime() {
-DBUILD_MERGED_PLUGINS=ON \
-DCMAKE_FRAMEWORK=ON \
-DCMAKE_FIND_ROOT_PATH="$OUTPUT_THIRDPARTY_DIR/$PLAT_ARCH" \
-DCMAKE_INSTALL_PREFIX="$OUTPUT_LIBRIME_DIR/$PLAT_ARCH" \
-DBoost_NO_BOOST_CMAKE=TRUE \
-DBOOST_ROOT="$OUTPUT_BOOST_DIR/$PLAT_ARCH" \
-DCMAKE_TOOLCHAIN_FILE=$CMAKE_IOS_TOOLCHAIN_ROOT/ios.toolchain.cmake \
Expand All @@ -162,13 +161,13 @@ build_librime() {
-DENABLE_VISIBILITY=1 \
-DCMAKE_XCODE_ATTRIBUTE_APPLICATION_EXTENSION_API_ONLY=YES \
-DCMAKE_XCODE_ATTRIBUTE_CODE_SIGNING_ALLOWED=NO \
-DCMAKE_XCODE_ATTRIBUTE_LD_DYLIB_INSTALL_NAME="@rpath/Rime.framework/Rime" \
-T buildsystem=1
-DCMAKE_XCODE_ATTRIBUTE_LD_DYLIB_INSTALL_NAME="@rpath/Rime.framework/Rime"
else
echo "Skip configure for $PLAT_ARCH."
fi

cmake --build $PLAT_ARCH_BUILD_DIR --config Release --target install $THREADS

cmake --build $PLAT_ARCH_BUILD_DIR --config Release $THREADS
cmake --install $PLAT_ARCH_BUILD_DIR --prefix "$OUTPUT_LIBRIME_DIR/$PLAT_ARCH"
}

build_xcframework() {
Expand Down

0 comments on commit f55a7fd

Please sign in to comment.