简体   繁体   English

项目更改名称后,应用程序未编译

[英]app not compiling after change name of project

I changed the name of Xcode project and now the app not compiling. 我更改了Xcode项目的名称,现在该应用程序未编译。 The error is : " XCTest/XCTest.h file not found ". 错误是:“ 找不到XCTest / XCTest.h文件 ”。 I don't know how to fix it. 我不知道该如何解决。

You need to check the framework search path in your code. 您需要检查代码中的框架搜索路径。 Refer this XCTest/XCTest.h not found on old projects built in Xcode 6 请参考在Xcode 6中内置的旧项目中找不到的XCTest / XCTest.h

EDIT:- 编辑:-

If you are using storyboard, select each of the view controller and check at the Storyboard ID field . 如果您使用情节提要,请选择每个视图控制器,然后检查“情节提要ID”字段。 Also make sure that none of the Storyboard ID fields should be blank. 此外,请确保“情节提要” ID字段均不应为空。

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

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