'XCTest/XCTest.h' file not found

直接写解决方法吧:在报错的 Target 中的 Building Settings 中 Framework Search Paths 里面添加

$(PLATFORM_DIR)/Developer/Library/Frameworks 就好了。

原文地址:https://www.cnblogs.com/sandyzhang/p/5594945.html