我已经通过 cocoa-pod 添加了 AFNetworking,它工作正常,现在我需要再添加一个库。那么我可以使用现有的 pod 文件还是我应该创建一个新的 请在这里帮助我如何做到这一点。
最佳答案
您可以像这样添加您的广告连播。完成后,您应该运行 pod install。
# Uncomment this line to define a global platform for your project
# platform :ios, '8.0'
# Uncomment this line if you're using Swift
# use_frameworks!
target 'myproject' do
pod 'AFNetworking', '~> 3.0'
pod 'GoogleAnalytics', '~> 3.14'
pod 'Mantle', '~> 2.0'
pod 'PureLayout', '~> 3.0'
end
关于ios - 如何在 iOS 中现有的 cocoa-pod 集中添加新库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37477043/