Skip to content

Commit d5106b6

Browse files
committed
ios: switch to xcframework
1 parent 4f75d38 commit d5106b6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,24 @@ jobs:
1919
./buildMobileVLCKit.sh -f
2020
2121
patchBinary () {
22-
install_name_tool -id @rpath/DynamicMobileVLCKit.framework/DynamicMobileVLCKit MobileVLCKit
22+
install_name_tool -id @rpath/DynamicMobileVLCKit.xcframework/DynamicMobileVLCKit MobileVLCKit
2323
defaults write $(pwd)/Info.plist CFBundleExecutable -string DynamicMobileVLCKit
2424
defaults write $(pwd)/Info.plist CFBundleName -string DynamicMobileVLCKit
2525
defaults write $(pwd)/Info.plist CFBundleIdentifier -string org.videolan.DynamicMobileVLCKit
2626
mv MobileVLCKit DynamicMobileVLCKit
2727
cd ..
28-
mv MobileVLCKit.framework DynamicMobileVLCKit.framework
28+
mv MobileVLCKit.xcframework DynamicMobileVLCKit.xcframework
2929
cd ..
3030
}
3131
32-
cd build/MobileVLCKit.xcframework/ios-arm64_armv7_armv7s/MobileVLCKit.framework
32+
cd build/MobileVLCKit.xcframework/ios-arm64_armv7_armv7s/MobileVLCKit.xcframework
3333
patchBinary
34-
cd ios-arm64_i386_x86_64-simulator/MobileVLCKit.framework
34+
cd ios-arm64_i386_x86_64-simulator/MobileVLCKit.xcframework
3535
patchBinary
3636
mkdir -p $GITHUB_WORKSPACE/build/ios-device
3737
mkdir -p $GITHUB_WORKSPACE/build/ios-simulator
38-
mv ios-arm64_armv7_armv7s/DynamicMobileVLCKit.framework $GITHUB_WORKSPACE/build/ios-device
39-
mv ios-arm64_i386_x86_64-simulator/DynamicMobileVLCKit.framework $GITHUB_WORKSPACE/build/ios-simulator
38+
mv ios-arm64_armv7_armv7s/DynamicMobileVLCKit.xcframework $GITHUB_WORKSPACE/build/ios-device
39+
mv ios-arm64_i386_x86_64-simulator/DynamicMobileVLCKit.xcframework $GITHUB_WORKSPACE/build/ios-simulator
4040
- name: Setup NuGet
4141
uses: nuget/setup-nuget@v1
4242
with:

0 commit comments

Comments
 (0)