The following Swift pods cannot yet be integrated as static libraries:

[!] The following Swift pods cannot yet be integrated as static libraries:

 

The Swift pod `Moya` depends upon `RxAtomic`, which do not define modules. To opt into those targets generating module maps (which is necessary to import them from Swift when building as static libraries), you may set `use_modular_headers!` globally in your Podfile, or specify `:modular_headers => true` for particular dependencies.

 

The Swift pod `RxSwift` depends upon `RxAtomic`, which do not define modules. To opt into those targets generating module maps (which is necessary to import them from Swift when building as static libraries), you may set `use_modular_headers!` globally in your Podfile, or specify `:modular_headers => true` for particular dependencies.

 

The Swift pod `SwiftyJSONMappable` depends upon `RxAtomic`, which do not define modules. To opt into those targets generating module maps (which is necessary to import them from Swift when building as static libraries), you may set `use_modular_headers!` globally in your Podfile, or specify `:modular_headers => true` for particular dependencies.

 

在podfile 中添加 use_frameworks!然后pod install

你可能感兴趣的:(OC)