搜索
您的当前位置:首页正文

开发常见错误简单总结

来源:二三四教育网

这是一个肌球蛋白,拖着一个内啡肽,走在一个单纤维上,然后大摇大摆的走过你的大脑皮层,这是让你产生快乐的物质,它为了让你开心每天辛苦的拖着这个大东西,你还有什么理由难过呢?


快乐的劳动者.gif

[!] Pods written in Swift can only be integrated as frameworks; add `use_frameworks!` to your Podfile or target to opt into using it. The Swift Pod being used is: AFNetworking

pod更新后之前Podfile写法可能会不能正常使用,可以尝试新的写法,指定工程:

platform :ios, '8.0'
use_frameworks!
target “工程名” do
pod 'AFNetworking', '~> 3.0.4'
.
.
.
end

swift 第三方库迁移错误:
“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.

错误.png

解决:
选择 Pods - QorumLogs - Swift Compiler - Version - Use Legacy Swift Language Version 把Unspecified改成NO

解决.png

本文如未解决您的问题请添加抖音号:51dongshi(抖音搜索懂视),直接咨询即可。

热门图文

Top