說明:改文章適用于oc 橋接導(dǎo)入swift三方,且用cocoapods管理三方時遇到的情況;
use_frameworks!
必須在podfile文件加入此語句參考資料1
2導(dǎo)入三方后违寞,編譯會報錯茫叭,提示將所有的<>
替換成""
圖片1
3.以Charts為例正塌,報錯
The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. This setting can be set in the build settings editor.
解決方法:
圖片2
4.解決完后茴晋,報錯
圖片3
解決方法見參考資料3