添加iOS项目的MaterialComponents库时生成失败

添加iOS项目的MaterialComponents库时生成失败,ios,cocoapods,material-design,Ios,Cocoapods,Material Design,iOS项目的播客文件如下所示: # Uncomment the next line to define a global platform for your project platform :ios, '10.2' target 'builditbigger' do # Comment the next line if you're not using Swift and don't want to use dynamic frameworks # use_frameworks!

iOS项目的播客文件如下所示:

# Uncomment the next line to define a global platform for your project
platform :ios, '10.2'

target 'builditbigger' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  # use_frameworks!
  use_modular_headers!


  target 'builditbiggerTests' do
    inherit! :search_paths
    pod 'RxBlocking', '~> 4.0'
    pod 'RxTest',     '~> 4.0'
  end

  target 'builditbiggerUITests' do
    inherit! :search_paths
  end

pod 'Firebase/Core',:modular_headers => true
pod 'Firebase/Database',:modular_headers => true
pod 'Firebase/Messaging',:modular_headers => true
pod 'Firebase/Auth',:modular_headers => true
pod 'Firebase/Firestore',:modular_headers => true
pod 'Firebase/Storage',:modular_headers => true
pod 'GoogleSignIn',:modular_headers => true
pod 'RxSwift',    '~> 4.0',:modular_headers => true
pod 'RxCocoa',    '~> 4.0',:modular_headers => true
pod 'DatePickerDialog', :modular_headers => true
pod 'MaterialComponents', :modular_headers => true

end

当我尝试在Xcode中构建项目时,构建失败。有4个错误。每个都与未找到类型为
MDCThumbTrack
UIView
的对象的
mdf\u effectiveUserInterfaceLayoutDirection
属性有关。如何纠正此问题?

我刚刚取消了
使用框架的注释行,构建成功