Skip to content

Commit

Permalink
misc: codesign libbass.dylib for local development
Browse files Browse the repository at this point in the history
  • Loading branch information
jsm174 committed Jun 27, 2024
1 parent f11354c commit fb87d6d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion platforms/ios-simulator/arm64/external.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion platforms/ios/arm64/external.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 4 additions & 2 deletions platforms/macos/arm64/external.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 4 additions & 2 deletions platforms/macos/x64/external.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit fb87d6d

Please sign in to comment.