diff --git a/lib/cocoapods/sandbox/file_accessor.rb b/lib/cocoapods/sandbox/file_accessor.rb index 5ac6f7ae86..37ddf26193 100644 --- a/lib/cocoapods/sandbox/file_accessor.rb +++ b/lib/cocoapods/sandbox/file_accessor.rb @@ -177,9 +177,7 @@ def vendored_dynamic_frameworks # def vendored_static_xcframeworks vendored_xcframeworks.select do |path| - if Xcode::XCFramework.new(path).build_type == BuildType.static_framework - path - end + Xcode::XCFramework.new(path).build_type == BuildType.static_framework end end