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就好了!

相关文章
|
Swift iOS开发
iOS Swift使用Alamofire请求本地服务器报错-1002
iOS Swift使用Alamofire请求本地服务器报错-1002
329 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
497 0
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
292 0
|
Swift
[!] Unable to determine Swift version for the following pods:
[!] Unable to determine Swift version for the following pods:
304 0
|
API 开发工具 Swift
使用阿里云OpenAPI的身份证识别Swift SDK时遇到了报错
使用阿里云OpenAPI的身份证识别Swift SDK时遇到了报错
220 3
|
Swift
Swift - 不使用pods如何正确添加类似Alamofire这样的库
Swift - 不使用pods如何正确添加类似Alamofire这样的库
205 0
Swift - 不使用pods如何正确添加类似Alamofire这样的库
|
Swift
Swift - pods中导入的Object-C文件在桥接文件中写入找不到的问题
Swift - pods中导入的Object-C文件在桥接文件中写入找不到的问题
221 0
|
PHP 数据安全/隐私保护
laravel 5.1 邮件发送报错 Swift_TransportException
laravel 5.1 邮件发送报错 Swift_TransportException
|
Unix 调度 Swift
苹果iOS新手开发之Swift 中获取时间戳有哪些方式?
在Swift中获取时间戳有四种常见方式:1) 使用`Date`对象获取秒级或毫秒级时间戳;2) 通过`CFAbsoluteTimeGetCurrent`获取Core Foundation的秒数,需转换为Unix时间戳;3) 使用`DispatchTime.now()`获取纳秒级精度的调度时间点;4) `ProcessInfo`提供设备启动后的秒数,不表示绝对时间。不同方法适用于不同的精度和场景需求。
724 3
|
安全 Swift iOS开发
Swift 与 UIKit 在 iOS 应用界面开发中的关键技术和实践方法
本文深入探讨了 Swift 与 UIKit 在 iOS 应用界面开发中的关键技术和实践方法。Swift 以其简洁、高效和类型安全的特点,结合 UIKit 丰富的组件和功能,为开发者提供了强大的工具。文章从 Swift 的语法优势、类型安全、编程模型以及与 UIKit 的集成,到 UIKit 的主要组件和功能,再到构建界面的实践技巧和实际案例分析,全面介绍了如何利用这些技术创建高质量的用户界面。
307 2

相关课程

更多