pods 报错There may only be up to 1 unique SWIFT_VERSION per target

简介: zhangpengdeMacBook-Pro:Jump zhangpeng$ pod installAnalyzing dependencies[!] There may only be up to 1 unique SWIFT_VERSION per target.

zhangpengdeMacBook-Pro:Jump zhangpeng$ pod install

Analyzing dependencies

[!] There may only be up to 1 unique SWIFT_VERSION per target. Found target(s) with multiple Swift versions:

Jump: Swift 

Jump: Swift 3.0

[!] Smart quotes were detected and ignored in your Podfile. To avoid issues in the future, you should not use TextEdit for editing it. If you are not using TextEdit, you should turn off smart quotes in your editor of choice.

 

方法-> 工程->build setting -> 搜索swift_version ->设置swift_version3.0就好了!

相关文章
|
1月前
|
Swift Perl
OC和swift混合工程更新库时报:target has transitive dependencies that include statically linked binaries
OC和swift混合工程更新库时报:target has transitive dependencies that include statically linked binaries
32 0
|
1月前
target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting defined in `Pods/Target S
target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting defined in `Pods/Target S
22 0
|
1月前
|
Swift
[!] Unable to determine Swift version for the following pods:
[!] Unable to determine Swift version for the following pods:
29 0
|
10月前
|
API 开发工具 Swift
使用阿里云OpenAPI的身份证识别Swift SDK时遇到了报错
使用阿里云OpenAPI的身份证识别Swift SDK时遇到了报错
112 3
|
Swift
Swift - 不使用pods如何正确添加类似Alamofire这样的库
Swift - 不使用pods如何正确添加类似Alamofire这样的库
109 0
Swift - 不使用pods如何正确添加类似Alamofire这样的库
|
Swift
Swift - pods中导入的Object-C文件在桥接文件中写入找不到的问题
Swift - pods中导入的Object-C文件在桥接文件中写入找不到的问题
122 0
|
PHP 数据安全/隐私保护
laravel 5.1 邮件发送报错 Swift_TransportException
laravel 5.1 邮件发送报错 Swift_TransportException
|
1月前
|
安全 编译器 Swift
IOS开发基础知识: 对比 Swift 和 Objective-C 的优缺点。
IOS开发基础知识: 对比 Swift 和 Objective-C 的优缺点。
148 2
|
1月前
|
设计模式 前端开发 Swift
使用Swift进行iOS应用开发:深入探索与最佳实践
【5月更文挑战第24天】探索Swift在iOS开发中的深度应用与最佳实践。Swift以其简洁语法、类型安全、面向对象、高性能及与Objective-C的互操作性脱颖而出。使用Xcode设置开发环境,学习Swift语法,创建并设计项目,编写业务逻辑,同时进行调试和测试。遵循MVC模式,利用SwiftUI、并发特性,并注重内存管理,持续学习新工具和技术,以实现高质量应用开发。
|
1月前
|
安全 Swift iOS开发
【Swift 开发专栏】Swift 与 UIKit:构建 iOS 应用界面
【4月更文挑战第30天】本文探讨了Swift和UIKit在构建iOS应用界面的关键技术和实践方法。Swift的简洁语法、类型安全和高效编程模型,加上与UIKit的紧密集成,使开发者能便捷地创建用户界面。UIKit提供视图、控制器、布局、动画和事件处理等功能,支持灵活的界面设计。实践中,遵循设计原则,合理组织视图层次,运用布局和动画,以及实现响应式设计,能提升界面质量和用户体验。文章通过登录、列表和详情界面的实际案例展示了Swift与UIKit的结合应用。