diff --git a/platforms/ios-simulator/arm64/external.sh b/platforms/ios-simulator/arm64/external.sh index 7692392..2544619 100755 --- a/platforms/ios-simulator/arm64/external.sh +++ b/platforms/ios-simulator/arm64/external.sh @@ -17,5 +17,5 @@ unzip bass.zip cp bass.h ../../third-party/include lipo bass.xcframework/ios-arm64_i386_x86_64-simulator/bass.framework/bass -extract arm64 -output libbass.dylib install_name_tool -id @rpath/libbass.dylib libbass.dylib -codesign --remove-signature libbass.dylib +codesign --force --sign - libbass.dylib cp libbass.dylib ../../third-party/runtime-libs/ios-simulator/arm64/libbass.dylib diff --git a/platforms/ios/arm64/external.sh b/platforms/ios/arm64/external.sh index 37aa577..a08837e 100755 --- a/platforms/ios/arm64/external.sh +++ b/platforms/ios/arm64/external.sh @@ -17,5 +17,5 @@ unzip bass.zip cp bass.h ../../third-party/include lipo bass.xcframework/ios-arm64_armv7_armv7s/bass.framework/bass -extract arm64 -output libbass.dylib install_name_tool -id @rpath/libbass.dylib libbass.dylib -codesign --remove-signature libbass.dylib +codesign --force --sign - libbass.dylib cp libbass.dylib ../../third-party/runtime-libs/ios/arm64/libbass.dylib diff --git a/platforms/macos/arm64/external.sh b/platforms/macos/arm64/external.sh index f5766d4..e4a779a 100755 --- a/platforms/macos/arm64/external.sh +++ b/platforms/macos/arm64/external.sh @@ -13,6 +13,8 @@ cd external mkdir bass cd bass curl -s https://www.un4seen.com/files/bass24-osx.zip -o bass.zip -unzip bass.zip +unzip bass.zip +lipo libbass.dylib -extract arm64 -output libbass-arm64.dylib +codesign --force --sign - libbass-arm64.dylib cp bass.h ../../third-party/include -cp libbass.dylib ../../third-party/runtime-libs/macos/arm64 +cp libbass-arm64.dylib ../../third-party/runtime-libs/macos/arm64/libbass.dylib diff --git a/platforms/macos/x64/external.sh b/platforms/macos/x64/external.sh index f7b45e9..089bbcb 100755 --- a/platforms/macos/x64/external.sh +++ b/platforms/macos/x64/external.sh @@ -13,6 +13,8 @@ cd external mkdir bass cd bass curl -s https://www.un4seen.com/files/bass24-osx.zip -o bass.zip -unzip bass.zip +unzip bass.zip +lipo libbass.dylib -extract x86_64 -output libbass-x64.dylib +codesign --force --sign - libbass-x64.dylib cp bass.h ../../third-party/include -cp libbass.dylib ../../third-party/runtime-libs/macos/x64 +cp libbass-x64.dylib ../../third-party/runtime-libs/macos/x64/libbass.dylib