Ios Xcode未将更新的Pod库识别为Swift 3

Ios Xcode未将更新的Pod库识别为Swift 3,ios,xcode,swift3,Ios,Xcode,Swift3,今天我将Xcode更新为Xcode 8,并被要求将代码转换为swift 3,我做到了。我还打开了我的pod文件,并将我的2个库Alamofire和CVCalendar视图更新为支持Swift 3.0的最新版本。然而,仍然有一些奇怪的错误阻止我构建应用程序 Module file was created by an older version of the compiler; rebuild 'Alamofire' and try again: [Path to Module] Command

今天我将Xcode更新为Xcode 8,并被要求将代码转换为swift 3,我做到了。我还打开了我的pod文件,并将我的2个库Alamofire和CVCalendar视图更新为支持Swift 3.0的最新版本。然而,仍然有一些奇怪的错误阻止我构建应用程序

 Module file was created by an older version of the compiler; rebuild 'Alamofire' and try again: [Path to Module]

Command /usr/bin/ditto failed with exit code 1

clang: error: linker command failed with exit code 1 (use -v to see invocation)

Command /usr/bin/codesign failed with exit code 1

 Failed to read Info.plist of app Path/Xcode/DerivedData/BRGO-cmhsxuafeewtybbrnrbtuymvljcp/Build/Products/Debug-iphoneos/BRGO.app (Couldn't load Info dictionary for <DVTFilePath:0x7fb86eed0bb0:'/Users/Praveen/Library/Developer/Xcode/DerivedData/BRGO-cmhsxuafeewtybbrnrbtuymvljcp/Build/Products/Debug-iphoneos/BRGO.app'>)
模块文件是由较旧版本的编译器创建的;重建“Alamofire”并重试:[模块路径]
命令/usr/bin/dito失败,退出代码为1
叮当声:错误:链接器命令失败,退出代码为1(使用-v查看调用)
命令/usr/bin/codesign失败,退出代码为1
无法读取应用程序路径/Xcode/DerivedData/BRGO cmhsxuafeetybbrnrbtuymvljcp/Build/Products/Debug iphoneos/BRGO.app的Info.plist(无法加载的信息字典)

在升级到Xcode 8.0之前,我的应用程序编译得非常好。现在我收到了这些错误,我不知道为什么如果您没有使用cocoa pods 1.1.0,请尝试更新它:

[sudo] gem install cocoapods --pre
他们会更改您的播客文件,以获得最新版本的Alamofire:

pod 'Alamofire', '~> 4.0'
再次运行
pod安装


并通过转到simulator->Reset contents And settings(模拟器->重置内容和设置)从模拟器中删除衍生数据。

如果您没有使用cocoa pods 1.1.0,请尝试更新它:

[sudo] gem install cocoapods --pre
他们会更改您的播客文件,以获得最新版本的Alamofire:

pod 'Alamofire', '~> 4.0'
再次运行
pod安装

并通过转到simulator->Reset contents And settings(模拟器->重置内容和设置),从模拟器中删除衍生数据