我的iOS项目的podfile如下所示:
# 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个错误。每个都与找不到类型mdf_effectiveUserInterfaceLayoutDirection
或MDCThumbTrack
的对象的UIView<MDCTextInput>
属性有关。我该如何解决这个问题?
答案 0 :(得分:0)
我刚刚取消了use_frameworks!
行的注释,构建成功