当用CocoaPods时出现了下面的错误时:
[!] The dependency `XLsn0w (~> 5.2.1)` is not used in any concrete target.
[!] The dependency `AFNetworking (~> 2.0)` is not used in any concrete target.
在创建Podfile的时候,使用下面的格式:
platform :ios, '8.0'
use_frameworks!
target 'xlxl' do
pod 'XLsn0w', '~> 4.0.9'
end
里面的 xlxl 需要替换为自己创建的工程名字。
然后执行pod install就可以了。
转载请注明原文地址: https://ju.6miu.com/read-1309771.html