简体   繁体   English

Swift单元测试FacebookSDK问题

[英]Swift Unit Test FacebookSDK issue

I have custom class that use FBSDK modules. 我有使用FBSDK模块的自定义类。 I am trying to implement Unit Testing for this class methods. 我正在尝试为此类方法实现单元测试。 But it's cannot compile and return an error 但是它无法编译并返回错误

'No such module FBSDKCoreKit' '没有这样的模块FBSDKCoreKit'

I've already check this module to use by test target but nothing happens. 我已经检查了该模块以供测试目标使用,但是什么也没有发生。 What could be the issue? 可能是什么问题?

Ok, found the problem. 好,找到问题了。 I need to add framework search path to test target and the issue was solved 我需要添加框架搜索路径以测试目标,问题已解决

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM