這個(gè)錯(cuò)誤是因?yàn)槟愕?cocoapods
只支持你工程的 Target
而沒有支持 TargetUITests
景鼠,將你使用的 pods
復(fù)制一份添加到UITests target
下就可以了
如下:
target 'YouTarget' do
use_frameworks!
pod 'CleanJSON'
end
target 'YouTargetUITests' do
use_frameworks!
pod 'CleanJSON'
end