在 Swift 中使用 RAC 时,通过 cocopod 导入 ReactiveSwift时,会报上述错误。
解决方案:
在 podfile 文件内加入 use_frameworks!
platform :ios, '11.0'
use_frameworks!
target 'RAC_SwiftDemo' do
pod 'ReactiveSwift'
end
在 Swift 中使用 RAC 时,通过 cocopod 导入 ReactiveSwift时,会报上述错误。
解决方案:
在 podfile 文件内加入 use_frameworks!
platform :ios, '11.0'
use_frameworks!
target 'RAC_SwiftDemo' do
pod 'ReactiveSwift'
end
本文标题:Cannot load underlying module fo
本文链接:https://www.haomeiwen.com/subject/mxmotqtx.html
网友评论