Pods written in Swift can only be integrated as frameworks

来源:互联网 发布:医疗网络咨询案例 编辑:程序博客网 时间:2024/05/22 03:41

[!] Pods written in Swift can only be integrated as frameworks; this feature is still in beta. Add `use_frameworks!` to your Podfile or target to opt into using it.

当使用cocoapod报这个错的时候,需要在你的podfile文件的每一个添加三方库的下面加一句 use_frameworks.

such as:

platform :ios, '8.1'

use_frameworks!

pod 'Masonry', '~> 0.6.1'

出现这个问题可能的原因估计是三方库里面有swift文件
0 0
原创粉丝点击