简体   繁体   中英

Adding multiple Cocoapods to one Xcode project

I wanted to add multiple Cocoapods into one Xcode application, is this possible?

Is downloading multiple Pods in one Xcode project recommended?

The Pod file which you have created in the project, open it and add the pods

platform :ios, "8.0"
use_frameworks! 

target 'ProjectName' do

pod 'MBProgressHUD', '~> 0.9.0'
pod 'AFNetworking', '~> 2.0'
// go on adding whatever pods you want to integrate

end

是的,您可以通过在PODFILE中添加Pod的名称来安装多个cocoapods,然后在终端中运行更新代码,只需创建一个桥接头,并且需要导入所有必要的cocoapods导入

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM