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

相关文章
|
3月前
|
Swift iOS开发
iOS Swift使用Alamofire请求本地服务器报错-1002
iOS Swift使用Alamofire请求本地服务器报错-1002
85 1
|
6月前
|
Swift Perl
OC和swift混合工程更新库时报:target has transitive dependencies that include statically linked binaries
OC和swift混合工程更新库时报:target has transitive dependencies that include statically linked binaries
92 0
|
6月前
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
95 0
|
6月前
|
Swift
[!] Unable to determine Swift version for the following pods:
[!] Unable to determine Swift version for the following pods:
91 0
|
API 开发工具 Swift
使用阿里云OpenAPI的身份证识别Swift SDK时遇到了报错
使用阿里云OpenAPI的身份证识别Swift SDK时遇到了报错
139 3
|
Swift
Swift - 不使用pods如何正确添加类似Alamofire这样的库
Swift - 不使用pods如何正确添加类似Alamofire这样的库
130 0
Swift - 不使用pods如何正确添加类似Alamofire这样的库
|
Swift
Swift - pods中导入的Object-C文件在桥接文件中写入找不到的问题
Swift - pods中导入的Object-C文件在桥接文件中写入找不到的问题
146 0
|
PHP 数据安全/隐私保护
laravel 5.1 邮件发送报错 Swift_TransportException
laravel 5.1 邮件发送报错 Swift_TransportException
|
4月前
|
Unix 调度 Swift
苹果iOS新手开发之Swift 中获取时间戳有哪些方式?
在Swift中获取时间戳有四种常见方式:1) 使用`Date`对象获取秒级或毫秒级时间戳;2) 通过`CFAbsoluteTimeGetCurrent`获取Core Foundation的秒数,需转换为Unix时间戳;3) 使用`DispatchTime.now()`获取纳秒级精度的调度时间点;4) `ProcessInfo`提供设备启动后的秒数,不表示绝对时间。不同方法适用于不同的精度和场景需求。
130 3
|
8天前
|
Swift iOS开发 UED
如何使用Swift和UIKit在iOS应用中实现自定义按钮动画
本文通过一个具体案例,介绍如何使用Swift和UIKit在iOS应用中实现自定义按钮动画。当用户点击按钮时,按钮将从圆形变为椭圆形,颜色从蓝色渐变到绿色;释放按钮时,动画以相反方式恢复。通过UIView的动画方法和弹簧动画效果,实现平滑自然的过渡。
22 1