这是一个肌球蛋白,拖着一个内啡肽,走在一个单纤维上,然后大摇大摆的走过你的大脑皮层,这是让你产生快乐的物质,它为了让你开心每天辛苦的拖着这个大东西,你还有什么理由难过呢?
在使用cocoapod导入Swift第三方时出现这样的问题:
[!] 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.
解决:
选择 Pods - QorumLogs - Swift Compiler - Version - Use Legacy Swift Language Version 把Unspecified改成NO