有没有办法在没有cocoapods的情况下安装此library?因为当我用pod安装它时我得到这个错误:
[!] Pods written in Swift can only be integrated as frameworks; add `use_frameworks!`
to your Podfile or target to opt into using it. The Swift Pods being used are:
CryptoSwift and JSONWebToken
当我添加'use_framewords!'时我在使用pod的
的objective-c编写的其他库上出错了这是我的podfile:
source “https://github.com/CocoaPods/Specs.git”
platform :ios, '8.1'
pod 'GoogleMaps'
pod 'RSKImageCropper'
pod 'AFNetworking', '~> 3.0'
pod 'DZNEmptyDataSet'
pod 'Instabug'
提前感谢
答案 0 :(得分:0)
use_frameworks!
cocoapods尝试将整个pod转换为框架时,错误应该在您的桥接头中。尝试在您的文件中导入框架。