Skip to content

Commit

Permalink
Remove unused iOS and macOS podspecs (flutter#33115)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmagman authored May 10, 2022
1 parent 79e3747 commit 322e595
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 65 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ unlinked_spec.ds
**/android/key.properties
*.jks

# iOS/XCode related
# iOS/Xcode related
**/ios/**/*.mode1v3
**/ios/**/*.mode2v3
**/ios/**/*.moved-aside
Expand All @@ -102,7 +102,6 @@ unlinked_spec.ds
**/ios/Flutter/App.framework
**/ios/Flutter/Flutter.framework
**/ios/Flutter/Flutter.xcframework
**/ios/Flutter/Flutter.podspec
**/ios/Flutter/Generated.xcconfig
**/ios/Flutter/app.flx
**/ios/Flutter/app.zip
Expand Down
2 changes: 0 additions & 2 deletions ci/licenses_golden/licenses_flutter
Original file line number Diff line number Diff line change
Expand Up @@ -1556,7 +1556,6 @@ FILE: ../../../flutter/shell/platform/darwin/graphics/FlutterDarwinContextMetal.
FILE: ../../../flutter/shell/platform/darwin/graphics/FlutterDarwinContextMetal.mm
FILE: ../../../flutter/shell/platform/darwin/graphics/FlutterDarwinExternalTextureMetal.h
FILE: ../../../flutter/shell/platform/darwin/graphics/FlutterDarwinExternalTextureMetal.mm
FILE: ../../../flutter/shell/platform/darwin/ios/framework/Flutter.podspec
FILE: ../../../flutter/shell/platform/darwin/ios/framework/Headers/Flutter.h
FILE: ../../../flutter/shell/platform/darwin/ios/framework/Headers/FlutterAppDelegate.h
FILE: ../../../flutter/shell/platform/darwin/ios/framework/Headers/FlutterCallbackCache.h
Expand Down Expand Up @@ -1696,7 +1695,6 @@ FILE: ../../../flutter/shell/platform/darwin/ios/platform_view_ios.h
FILE: ../../../flutter/shell/platform/darwin/ios/platform_view_ios.mm
FILE: ../../../flutter/shell/platform/darwin/ios/rendering_api_selection.h
FILE: ../../../flutter/shell/platform/darwin/ios/rendering_api_selection.mm
FILE: ../../../flutter/shell/platform/darwin/macos/framework/FlutterMacOS.podspec
FILE: ../../../flutter/shell/platform/darwin/macos/framework/Headers/FlutterAppDelegate.h
FILE: ../../../flutter/shell/platform/darwin/macos/framework/Headers/FlutterDartProject.h
FILE: ../../../flutter/shell/platform/darwin/macos/framework/Headers/FlutterEngine.h
Expand Down
7 changes: 0 additions & 7 deletions shell/platform/darwin/ios/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -376,12 +376,6 @@ copy("copy_framework_icu") {
outputs = [ "$_flutter_framework_dir/{{source_file_part}}" ]
}

copy("copy_framework_podspec") {
visibility = [ ":*" ]
sources = [ "framework/Flutter.podspec" ]
outputs = [ "$root_out_dir/Flutter.podspec" ]
}

copy("copy_license") {
visibility = [ ":*" ]
sources = [ "//LICENSE" ]
Expand Down Expand Up @@ -413,7 +407,6 @@ group("universal_flutter_framework") {
":copy_framework_icu",
":copy_framework_info_plist",
":copy_framework_module_map",
":copy_framework_podspec",
":copy_license",
]

Expand Down
18 changes: 0 additions & 18 deletions shell/platform/darwin/ios/framework/Flutter.podspec

This file was deleted.

20 changes: 2 additions & 18 deletions shell/platform/darwin/macos/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -308,17 +308,8 @@ action("_generate_symlinks") {
]
}

copy("copy_framework_podspec") {
visibility = [ ":*" ]
sources = [ "framework/FlutterMacOS.podspec" ]
outputs = [ "$root_out_dir/FlutterMacOS.podspec" ]
}

group("flutter_framework") {
deps = [
":_generate_symlinks",
":copy_framework_podspec",
]
deps = [ ":_generate_symlinks" ]
}

if (build_glfw_shell) {
Expand All @@ -342,10 +333,7 @@ zip_bundle("zip_macos_flutter_framework") {
}

zip_bundle("macos_flutter_framework_archive") {
deps = [
":copy_framework_podspec",
":zip_macos_flutter_framework",
]
deps = [ ":zip_macos_flutter_framework" ]
prefix = "$full_platform_name-$flutter_runtime_mode/"
if (flutter_runtime_mode == "debug") {
prefix = "$full_platform_name/"
Expand All @@ -356,9 +344,5 @@ zip_bundle("macos_flutter_framework_archive") {
source = "$root_out_dir/zip_archives/tmp/FlutterMacOS.framework.zip"
destination = "FlutterMacOS.framework.zip"
},
{
source = "$root_out_dir/FlutterMacOS.podspec"
destination = "FlutterMacOS.podspec"
},
]
}
18 changes: 0 additions & 18 deletions shell/platform/darwin/macos/framework/FlutterMacOS.podspec

This file was deleted.

0 comments on commit 322e595

Please sign in to comment.