platform :ios,'8.1'pod 'Masonry'pod 'Parse'pod 'SSKeychain'pod 'Reachability'
当我添加’pod Charts’时,我会收到这样的错误
[!] 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. The Swift Pod being used is: Charts
如果我将podfile更新为:
platform :ios,'8.1'use_frameworks!pod 'Masonry'pod 'Parse'pod 'SSKeychain'pod 'Reachability'pod 'Charts'
它弄乱了项目,SSKeychain显示了重复的界面和枚举定义等无意义的错误.
我应该做些什么来支持Swift pod框架吗?或者我必须更新项目以删除某些开源文件(SSKeychain等)?
解决方法 也许你应该删除给定pod的缓存,或者完全清除缓存.请按照 pod cache clean进行
pod cache clean [name]
Remove the cache for a given pod,or clear the
cache completely.If there is multiple cache for varIoUs versions of the requested pod,
you will be asked which one to clean. Use--all
to clean them all.If you dont give a podname,you need to specify the
Options: –all--all
flag (this
is to avoID cleaning all the cache by mistake).Remove all the cached pods without asking.
inherited options: –silentShow nothing.
–verboseShow more deBUGging information.
–no-ansiShow output without ANSI codes.
–helpShow help banner of specifIEd command.
希望它对你有所帮助.
总结以上是内存溢出为你收集整理的ios – Objective-C项目中的Swift pod全部内容,希望文章能够帮你解决ios – Objective-C项目中的Swift pod所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)