Skip to content

Commit

Permalink
fix(darwin): fix case-sensitive MPV.framework
Browse files Browse the repository at this point in the history
  • Loading branch information
birros committed Aug 4, 2023
1 parent 39fec69 commit 863a4d3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ Pod::Spec.new do |s|

if mku.libs_found
# Define paths to frameworks dir
framework_search_paths_iphoneos = sprintf('$(PROJECT_DIR)/../.symlinks/plugins/%s/ios/Frameworks/MPV.xcframework/ios-arm64', mku.libs_package)
framework_search_paths_iphonesimulator = sprintf('$(PROJECT_DIR)/../.symlinks/plugins/%s/ios/Frameworks/MPV.xcframework/ios-arm64_x86_64-simulator', mku.libs_package)
framework_search_paths_iphoneos = sprintf('$(PROJECT_DIR)/../.symlinks/plugins/%s/ios/Frameworks/Mpv.xcframework/ios-arm64', mku.libs_package)
framework_search_paths_iphonesimulator = sprintf('$(PROJECT_DIR)/../.symlinks/plugins/%s/ios/Frameworks/Mpv.xcframework/ios-arm64_x86_64-simulator', mku.libs_package)

s.source_files = 'Classes/**/*'
s.platform = :ios, '9.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Pod::Spec.new do |s|

if mku.libs_found
# Define paths to frameworks dir
framework_search_paths_macosx = sprintf('$(PROJECT_DIR)/../Flutter/ephemeral/.symlinks/plugins/%s/macos/Frameworks/MPV.xcframework/macos-arm64_x86_64', mku.libs_package)
framework_search_paths_macosx = sprintf('$(PROJECT_DIR)/../Flutter/ephemeral/.symlinks/plugins/%s/macos/Frameworks/Mpv.xcframework/macos-arm64_x86_64', mku.libs_package)

s.source_files = 'Classes/**/*'
s.platform = :osx, '10.9'
Expand Down
4 changes: 2 additions & 2 deletions media_kit_video/ios/media_kit_video.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ Pod::Spec.new do |s|

if mku.libs_found
# Define paths to frameworks dir
framework_search_paths_iphoneos = sprintf('$(PROJECT_DIR)/../.symlinks/plugins/%s/ios/Frameworks/MPV.xcframework/ios-arm64', mku.libs_package)
framework_search_paths_iphonesimulator = sprintf('$(PROJECT_DIR)/../.symlinks/plugins/%s/ios/Frameworks/MPV.xcframework/ios-arm64_x86_64-simulator', mku.libs_package)
framework_search_paths_iphoneos = sprintf('$(PROJECT_DIR)/../.symlinks/plugins/%s/ios/Frameworks/Mpv.xcframework/ios-arm64', mku.libs_package)
framework_search_paths_iphonesimulator = sprintf('$(PROJECT_DIR)/../.symlinks/plugins/%s/ios/Frameworks/Mpv.xcframework/ios-arm64_x86_64-simulator', mku.libs_package)

s.source_files = 'Classes/plugin/**/*.swift', 'Headers/**/*.h'
s.pod_target_xcconfig = {
Expand Down
2 changes: 1 addition & 1 deletion media_kit_video/macos/media_kit_video.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Pod::Spec.new do |s|

if mku.libs_found
# Define paths to frameworks dir
framework_search_paths_macosx = sprintf('$(PROJECT_DIR)/../Flutter/ephemeral/.symlinks/plugins/%s/macos/Frameworks/MPV.xcframework/macos-arm64_x86_64', mku.libs_package)
framework_search_paths_macosx = sprintf('$(PROJECT_DIR)/../Flutter/ephemeral/.symlinks/plugins/%s/macos/Frameworks/Mpv.xcframework/macos-arm64_x86_64', mku.libs_package)

s.source_files = 'Classes/plugin/**/*.swift', 'Headers/**/*.h'
s.pod_target_xcconfig = {
Expand Down

0 comments on commit 863a4d3

Please sign in to comment.