From d545e477e9a1582f17ec0d368d2422df3cd8412b Mon Sep 17 00:00:00 2001 From: "Chen, Xiaoqiang" Date: Mon, 9 Sep 2024 16:52:08 +0800 Subject: [PATCH] Update build_xcframework.yml --- .github/workflows/build_xcframework.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build_xcframework.yml b/.github/workflows/build_xcframework.yml index 52959f4..6bae170 100644 --- a/.github/workflows/build_xcframework.yml +++ b/.github/workflows/build_xcframework.yml @@ -82,11 +82,11 @@ jobs: cp -a amrnb/{interf_dec,interf_enc}.h ${OUTPUT_DIR}/Headers/ xcodebuild -create-xcframework \ - -library ${OUTPUT_DIR}/build-macosx-arm64/macosx-arm64-MacOSX/libopencore-amrnb.a -headers ${OUTPUT_DIR}/Headers \ - -library ${OUTPUT_DIR}/build-macosx-x86_64/macosx-x86_64-MacOSX/libopencore-amrnb.a -headers ${OUTPUT_DIR}/Headers \ - -library ${OUTPUT_DIR}/build-iphoneos-arm64/iphoneos-arm64-iPhoneOS/libopencore-amrnb.a -headers ${OUTPUT_DIR}/Headers \ - -library ${OUTPUT_DIR}/build-iphonesimulator-x86_64/iphonesimulator-x86_64-iPhoneSimulator/libopencore-amrnb.a -headers ${OUTPUT_DIR}/Headers \ - -library ${OUTPUT_DIR}/build-iphonesimulator-arm64/iphonesimulator-arm64-iPhoneSimulator/libopencore-amrnb.a -headers ${OUTPUT_DIR}/Headers \ + -library ${OUTPUT_DIR}/build-macosx-arm64/macosx-arm64-MacOSX/lib/libopencore-amrnb.a -headers ${OUTPUT_DIR}/Headers \ + -library ${OUTPUT_DIR}/build-macosx-x86_64/macosx-x86_64-MacOSX/lib/libopencore-amrnb.a -headers ${OUTPUT_DIR}/Headers \ + -library ${OUTPUT_DIR}/build-iphoneos-arm64/iphoneos-arm64-iPhoneOS/lib/libopencore-amrnb.a -headers ${OUTPUT_DIR}/Headers \ + -library ${OUTPUT_DIR}/build-iphonesimulator-x86_64/iphonesimulator-x86_64-iPhoneSimulator/lib/libopencore-amrnb.a -headers ${OUTPUT_DIR}/Headers \ + -library ${OUTPUT_DIR}/build-iphonesimulator-arm64/iphonesimulator-arm64-iPhoneSimulator/lib/libopencore-amrnb.a -headers ${OUTPUT_DIR}/Headers \ -output ${OUTPUT_DIR}/opencore-amrnb.xcframework # For opencore-amrwb @@ -95,11 +95,11 @@ jobs: cp -a amrwb/{dec_if,if_rom}.h ${OUTPUT_DIR}/Headers/ xcodebuild -create-xcframework \ - -library ${OUTPUT_DIR}/build-macosx-arm64/macosx-arm64-MacOSX/libopencore-amrwb.a -headers ${OUTPUT_DIR}/Headers \ - -library ${OUTPUT_DIR}/build-macosx-x86_64/macosx-x86_64-MacOSX/libopencore-amrwb.a -headers ${OUTPUT_DIR}/Headers \ - -library ${OUTPUT_DIR}/build-iphoneos-arm64/iphoneos-arm64-iPhoneOS/libopencore-amrwb.a -headers ${OUTPUT_DIR}/Headers \ - -library ${OUTPUT_DIR}/build-iphonesimulator-x86_64/iphonesimulator-x86_64-iPhoneSimulator/libopencore-amrwb.a -headers ${OUTPUT_DIR}/Headers \ - -library ${OUTPUT_DIR}/build-iphonesimulator-arm64/iphonesimulator-arm64-iPhoneSimulator/libopencore-amrwb.a -headers ${OUTPUT_DIR}/Headers \ + -library ${OUTPUT_DIR}/build-macosx-arm64/macosx-arm64-MacOSX/lib/libopencore-amrwb.a -headers ${OUTPUT_DIR}/Headers \ + -library ${OUTPUT_DIR}/build-macosx-x86_64/macosx-x86_64-MacOSX/lib/libopencore-amrwb.a -headers ${OUTPUT_DIR}/Headers \ + -library ${OUTPUT_DIR}/build-iphoneos-arm64/iphoneos-arm64-iPhoneOS/lib/libopencore-amrwb.a -headers ${OUTPUT_DIR}/Headers \ + -library ${OUTPUT_DIR}/build-iphonesimulator-x86_64/iphonesimulator-x86_64-iPhoneSimulator/lib/libopencore-amrwb.a -headers ${OUTPUT_DIR}/Headers \ + -library ${OUTPUT_DIR}/build-iphonesimulator-arm64/iphonesimulator-arm64-iPhoneSimulator/lib/libopencore-amrwb.a -headers ${OUTPUT_DIR}/Headers \ -output ${OUTPUT_DIR}/opencore-amrwb.xcframework - name: Zip XCFrameworks