草庐IT

TestSwiftImport

全部标签

ios - Objective-C 类无法导入在顶层定义的 swift pod

这是我的Podfile:platform:ios,'9.0'use_frameworks!target:Test_Swift_Importdopod'BFKit-Swift','1.5.1'//Justaswiftpodtoprovidesomemethodstotestpod'SwiftySwift','1.0.1'//andanotherend在我的AppDelegate类中,我尝试使用BFKit中的一个简单方法BOOLisEmail=[@"notanemail"isEmail];我的AppDelegate是一个objective-c类,而不是Swift为了完成这项工作,我尝试导入