Alamofire-不进行代码签名,因为其设置未在Xcode 8中指定开发团队 [英] Alamofire - not be code signed because its settings don't specify a development team in Xcode 8

查看:132
本文介绍了Alamofire-不进行代码签名,因为其设置未在Xcode 8中指定开发团队的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Xcode 8上遇到以下错误,每个人都可以帮助解决它。
我的应用程序需要支持iOS 8及更高版本。

I hit the error on below on Xcode 8, can everyone help to solve it. My application need to support iOS 8 and above.

Alamofire不会进行代码签名,因为其设置未指定开发团队。必须为使用Swift的目标正确配置
使用旧版Swift语言版本(SWIFT_VERSION)。使用[Edit> Convert> To Current Swift Syntax…]菜单选择一个Swift版本,或使用Build Settings编辑器直接配置构建设置。

Alamofire will not be code signed because its settings don't specify a development team. "Use Legacy Swift Language Version" (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.

谢谢

推荐答案

更新的Alamofire和Xcode 8对我有什么帮助:

What did it for me with the updated Alamofire and Xcode 8 is the following:

1)通过< yourproject> .xcworkspace 文件

打开项目2)转到窗格->目标-> Alamofire->构建设置并设置以下属性:

2) Go to Pods -> Targets -> Alamofire -> Build Settings and set the following property:

我认为这与以下事实有关:由于Swift 3 / Xcode 8,新的Alamofire 4.0是一个相当大的更新。

I think it has to do with the fact that the new Alamofire 4.0 was a pretty big update due to Swift 3/Xcode 8. I haven't had the error before updating.

PS第一部分 Alamofire不会进行代码签名,因为它的设置没有指定开发团队。 您的错误消息看起来像是单独的就我而言,这是一件很不愉快的事情,或者是因为我做了几次 pod安装直到Alamofire实际上得到更新,或者因为我上面提到的设置而得到解决。两种方式都可以帮我解决。

PS The first part "Alamofire will not be code signed because its settings don't specify a development team." of your error message seemed like a separate thing in my case, which either got solved because I did pod install a few times until Alamofire actually got updated or because of the setting that I mentioned above. Either way both things cleared out for me.

这篇关于Alamofire-不进行代码签名,因为其设置未在Xcode 8中指定开发团队的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆