更新到 Cocoapods 1.0 后错误太多

Too many errors after updating to Cocoapods 1.0

下午好,

更新到最新版本的 Cocoapods (1.0) 后,我的 iOS 应用程序显示了很多错误。我不确定为什么会发生这种情况,因为在更新期间一切都是正确的,但是当我 "Run" 我的应用程序时,它显示以下错误:

这是我的 Podfile:

# 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 'myApp' do

pod 'HanekeSwift', '~> 0.10'

pod 'Alamofire', '~> 3.3'

pod 'SwiftyJSON', '~> 2.3'

pod 'Batch', '~> 1.5'

end

target 'myAppTests' do

end

target 'myAppUITests' do

end

我该怎么做才能解决这些问题?

非常感谢,

此致。

如果您 运行 pod install 并且它仍然无法正常工作。 尝试 pod deintegrate,然后 pod install。它应该可以解决问题。

如果有人有同样的问题,我已经删除了旧的 Podfile 并创建了一个新的。现在是这样的:

# Uncomment this line to define a global platform for your project
platform :ios, '8.0'

target 'myApp' do
  # Comment this line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

  # Pods for myApp
  pod 'Alamofire', '~> 3.4'
  pod 'SwiftyJSON', '~> 2.3'
  pod 'HanekeSwift', '~> 0.10'
  pod 'Batch', '~> 1.5'

  target 'myAppTests' do
    inherit! :search_paths
    # Pods for testing
  end

  target 'myAppUITests' do
    inherit! :search_paths
    # Pods for testing
  end

end