我有混合了obj-c和swift和子项目的MainProject-分离了大量逻辑-SubProject 两者共享同一个cocoapod,但是当我尝试包含它时,SubProject大喊它找不到模块。 这是我的Podfile:
workspace 'CommonWorkspace'
platform :ios, '10.0'
target 'SubProject' do
project 'Features/SubProject/SubProject'
pod 'YapDatabase/SQLCipher', :git => 'https://github.com/yapstudios/YapDatabase.git', :tag => '3.0.2'
end
abstract_target 'all_targets' do
pod 'YapDatabase/SQLCipher', :git => 'https://github.com/yapstudios/YapDatabase.git', :tag => '3.0.2'
pod 'otherPod'
target 'MainProjectTarget'
end
我想念什么吗?为什么我不能在SubProject中导入YapDatabase?