更新时间:2022-04-15 21:22:41
这是因为你的pod只适用于你的Framework目标而没有测试。将测试目标添加到您的podfile。
It's because your pods only apply to your Framework target and no the tests one. Add the tests target to your podfile.
示例:
target 'MyFramework' do
use_frameworks!
pod 'Alamofire', '~> 4.5'
end
target 'MyFrameworkTests' do
use_frameworks!
pod 'Alamofire', '~> 4.5'
end