Last active
August 15, 2024 07:43
-
-
Save sunnyyoung/eb771ecc88d79f572a0932b6a8ab008c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
VERSION="3.6.1b1-8e652244-ac310b4b" | |
for KIT in VLCKit MobileVLCKit TVVLCKit; do | |
curl "https://download.videolan.org/pub/cocoapods/unstable/$KIT-$VERSION.tar.xz" | tar -xz | |
done | |
xcodebuild -create-xcframework \ | |
-framework "$PWD/VLCKit - binary package/VLCKit.xcframework/macos-arm64_x86_64/VLCKit.framework" \ | |
-debug-symbols "$PWD/VLCKit - binary package/VLCKit.xcframework/macos-arm64_x86_64/dSYMs/VLCKit.framework.dSYM" \ | |
-framework "$PWD/MobileVLCKit-binary/MobileVLCKit.xcframework/ios-arm64_armv7_armv7s/MobileVLCKit.framework" \ | |
-debug-symbols "$PWD/MobileVLCKit-binary/MobileVLCKit.xcframework/ios-arm64_armv7_armv7s/dSYMs/MobileVLCKit.framework.dSYM" \ | |
-framework "$PWD/MobileVLCKit-binary/MobileVLCKit.xcframework/ios-arm64_i386_x86_64-simulator/MobileVLCKit.framework" \ | |
-debug-symbols "$PWD/MobileVLCKit-binary/MobileVLCKit.xcframework/ios-arm64_i386_x86_64-simulator/dSYMs/MobileVLCKit.framework.dSYM" \ | |
-framework "$PWD/TVVLCKit-binary/TVVLCKit.xcframework/tvos-arm64/TVVLCKit.framework" \ | |
-debug-symbols "$PWD/TVVLCKit-binary/TVVLCKit.xcframework/tvos-arm64/dSYMs/TVVLCKit.framework.dSYM" \ | |
-framework "$PWD/TVVLCKit-binary/TVVLCKit.xcframework/tvos-arm64_x86_64-simulator/TVVLCKit.framework" \ | |
-debug-symbols "$PWD/TVVLCKit-binary/TVVLCKit.xcframework/tvos-arm64_x86_64-simulator/dSYMs/TVVLCKit.framework.dSYM" \ | |
-output VLCKit.xcframework | |
zip -ry9 VLCKit.xcframework.zip VLCKit.xcframework |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment