1

Hello this is the error that I got I am trying to use ASIHTTPRequest API. I have Xcode 4.5.2 with IOS 6.0 simulators.

I've tried to search this file on my mac but actually the file does not exist in my entire hard drive! Any plausible way to fix this error?

4

4 回答 4

2

这个对我有用。

  1. 转到框架并单击 GHUnitIOS.framework
  2. 确保实用程序视图已启用
  3. 在 Target Membership 上取消选中目标然后构建
  4. 再次检查目标并构建或运行
于 2013-12-12T05:42:35.600 回答
1

我遇到了同样的问题。

您可以将测试类添加到主应用程序目标。取消选中目标然后,错误“GHUnit/GHUnit.h file not found”消失了。

在此处输入图像描述

于 2014-02-18T07:08:23.023 回答
0

First, you should know whether you follow the document below:

http://gabriel.github.com/gh-unit/docs/appledoc_include/guide_install_ios_4.html

and then you need to check the GHUnitIOS framework in the xcode, can't you see some ".h" files below the "headers" group? if not, may be the GHUnitIOS framework is not proper.go to location "/GHUnitIOS.framework/Versions/A/", and copy all the 3 files in it, go to the location "GHUnitIOS.framework/", paste them and then run the test project. is that ok?

if you can see those ".h" files in the framework, maybe the build settings is not properly set. you should check the search path.

于 2013-02-21T08:12:44.780 回答
0

如果我们的应用基于 iOS 设备,请选择 GHUnitIOS-.zip;如果我们的应用基于 Mac OS X,请选择 GHUnit-.zip。

下载页面:https ://github.com/gh-unit/gh-unit/downloads

于 2014-01-15T03:57:51.400 回答