混合CocoaPods项目:ObjC函数在Swift中是可见的,类变量不是

时间:2015-05-05 15:14:48

标签: ios objective-c xcode swift cocoapods

我已经使用CocoaPods建立了一个Swift iOS项目。我想使用基于Swift和Objective C的pod.假设我想使用NOT NULL(基于Swift)和CocoaLumberjack(基于Objective C)。这是我使用的SELECT * FROM ( SELECT date, tot_earn_pts, tot_redeem_pts, tot_earn_pts - tot_redeem_pts AS tot_liability_pts, @cum := @cum + tot_earn_pts - tot_redeem_pts AS cum_liability_pts FROM ( SELECT date, SUM(earn_points) AS tot_earn_pts, SUM(redeem_points) AS tot_redeem_pts FROM i_report_total_order /* WHERE website_id = 36 */ GROUP BY date ) tots JOIN (SELECT @cum := 0) init ORDER BY date ) res_asc ORDER BY date DESC

KeychainAccess

现在,我尝试使用这些播客:

Podfile

我错过了什么吗?如何让source 'https://github.com/CocoaPods/Specs.git' platform :ios, '8.0' use_frameworks! pod 'KeychainAccess' pod 'CocoaLumberjack' 工作? (或任何其他ObjC吊舱,我认为我也会遇到与其他吊舱相同的问题。)

我创建了一个project来重现此问题。

0 个答案:

没有答案