[英]Install 'JSONWebToken' library without cocoapods
有沒有沒有cocoapods的安裝此庫的方法? 因為當我使用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'
提前致謝
use_frameworks!
cocoapods嘗試將整個pod轉換為框架,因此錯誤應該出在橋接頭中。 嘗試將框架導入文件中。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.