diff --git a/ios/Podfile b/ios/Podfile index 17857d55..289e54cc 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -44,6 +44,10 @@ post_install do |installer| installer.pods_project.targets.each do |target| flutter_additional_ios_build_settings(target) target.build_configurations.each do |config| + xcconfig_path = config.base_configuration_reference.real_path + xcconfig = File.read(xcconfig_path) + xcconfig_mod = xcconfig.gsub(/DT_TOOLCHAIN_DIR/, "TOOLCHAIN_DIR") + File.open(xcconfig_path, "w") { |file| file << xcconfig_mod } config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [ '$(inherited)', 'PERMISSION_NOTIFICATIONS=1' diff --git a/packages/unity_video_player/unity_video_player/pubspec.yaml b/packages/unity_video_player/unity_video_player/pubspec.yaml index 2d3f03b4..f257fbaa 100644 --- a/packages/unity_video_player/unity_video_player/pubspec.yaml +++ b/packages/unity_video_player/unity_video_player/pubspec.yaml @@ -38,4 +38,4 @@ flutter: windows: default_package: unity_video_player_main web: - default_package: unity_video_player_flutter + default_package: unity_video_player_main diff --git a/packages/unity_video_player/unity_video_player_flutter/pubspec.yaml b/packages/unity_video_player/unity_video_player_flutter/pubspec.yaml index 29153665..228c5bbc 100644 --- a/packages/unity_video_player/unity_video_player_flutter/pubspec.yaml +++ b/packages/unity_video_player/unity_video_player_flutter/pubspec.yaml @@ -38,7 +38,4 @@ flutter: macos: dartPluginClass: UnityVideoPlayerFlutterInterface linux: - dartPluginClass: UnityVideoPlayerFlutterInterface - web: - pluginClass: UnityVideoPlayerMediaKitInterface - fileName: unity_video_player_flutter.dart \ No newline at end of file + dartPluginClass: UnityVideoPlayerFlutterInterface \ No newline at end of file