0
當引用主要目標模塊文件時,Swift xctest類不會使用inherit! :search_paths
構建。錯誤發生@testable import HelloWorld
其中HelloWorldClassA將是未知的裁判Xcode 8.3與CocoaPods的XCtest問題
platform :ios, '10.0'
target 'HelloWorld' do
use_frameworks!
# Pods for HelloWorld
pod 'Bolts-Swift'
target 'HelloWorldTests' do
inherit! :search_paths
end
end
FYI Xcode 8.3.3(8E3004b)w Cocoapods 1.2.1 – user636066