我想在主应用及其扩展中使用一些库。我试过这个dplyr
setDT(df1)[, .(fields = .N), company]
但是我的df1 <- data.frame(company=c("c1","c2","c3","c2","c1","c2"),
field=c("A","B","C","A","D","C"))
名为podfile
,而它应该是platform :ios, '10.2'
use_frameworks!
target 'myApp' do
target 'myAppShareExtension' do
pod 'SVProgressHUD', :git => 'https://github.com/SVProgressHUD/SVProgressHUD.git'
pod 'Alamofire', '~> 4.0'
pod 'FileKit', '~> 4.0.1'
end
end
,这让我觉得问题来自podfile。
感谢。
答案 0 :(得分:0)
你可以试试这个:
分享多个目标的广告连播的最佳方式:
def shared_pods
pod 'SVProgressHUD', :git => 'https://github.com/SVProgressHUD/SVProgressHUD.git'
pod 'Alamofire', '~> 4.0'
pod 'FileKit', '~> 4.0.1'
end
target 'myApp' do
shared_pods
end
target 'myAppShareExtension' do
shared_pods
end