Ios 更新播客文件中的Alamofire错误

Ios 更新播客文件中的Alamofire错误,ios,swift,cocoapods,watchkit,watch,Ios,Swift,Cocoapods,Watchkit,Watch,从Swift 2.3迁移到Swift 3后,我在编译时发现以下错误: Analyzing dependencies [!] Unable to satisfy the following requirements: - `Alamofire (~> 4.0)` required by `Podfile` - `Alamofire (~> 4.0)` required by `Podfile` - `Alamofire (~> 4.0)` required by `Podfi

从Swift 2.3迁移到Swift 3后,我在编译时发现以下错误:

Analyzing dependencies

[!] Unable to satisfy the following requirements:

- `Alamofire (~> 4.0)` required by `Podfile`
- `Alamofire (~> 4.0)` required by `Podfile`
- `Alamofire (~> 4.0)` required by `Podfile`
- `Alamofire (~> 4.0)` required by `Podfile`
- `Alamofire (~> 4.0)` required by `Podfile`

Specs satisfying the `Alamofire (~> 4.0)` dependency were found, but they required a higher minimum deployment target.
改变目标:

[!] Oh no, an error occurred.

Search for existing GitHub issues similar to yours:
https://github.com/CocoaPods/CocoaPods/search? q=File+exists+%40+dir_s_mkdir+-+%2FUsers%2Fusers%2FMyApp-ios%2FPods%2FTarget+Support+Files%2FAlamofire-iOS10.0&type=Issues

If none exists, create a ticket, with the template displayed above, on:

xcode:

The file “Alamofire-watchOS.xcconfig” couldn’t be opened because there is no such file. (/Users/nameusers/MyApp/Pods/Target Support Files/Alamofire-watchOS/Alamofire-watchOS.xcconfig)

Alamofire-watchOS will not be code signed because its settings don't specify a development team.

error: unable to read module map contents from 'Target Support       Files/Alamofire-watchOS/Alamofire-watchOS.modulemap': Error   Domain=NSCocoaErrorDomain Code=260 "The file “Alamofire-watchOS.modulemap” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/nameusers/MyApp/Pods/Target Support Files/Alamofire-watchOS/Alamofire-watchOS.modulemap, NSUnderlyingError=0x7ff89768f8e0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}

error: unable to read module map contents from 'Target Support Files/Alamofire-watchOS/Alamofire-watchOS.modulemap': Error Domain=NSCocoaErrorDomain Code=260 "The file “Alamofire-watchOS.modulemap” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/nameusers/MyApp/Pods/Target Support Files/Alamofire-watchOS/Alamofire-watchOS.modulemap, NSUnderlyingError=0x7ff895163940 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
,Swift 3似乎只适用于iOS 8及更高版本

听起来你需要更新你的
Podfile
(以及你自己的应用程序的项目设置),以获得更高的最低部署目标。e、 g:

platform :ios, '8.0'

这意味着您将无法再支持旧版本的iOS。

您的项目支持旧版本的iOS,您需要将部署目标更改为iOS 9.0+。如果要使用较旧的版本,请在PODfile中使用较旧的Alamofire.platform:ios,“10.0”
platform :ios, '8.0'