[Tips] C++ – file not found in xcode 4.xx

When you build app on Xcode, Xcode alert you error about “XXX.h file not found” After you added new files of C++ and so on.

How does it fix?

Change Settings like these.
1. “Always Users Paths” is Yes
Build Settings > Search Path > Always Users Paths > Yes

If you can’t fix it, Please try number 2.

2. “Header Search Paths” is “${SRCROOT}”
Build Settings > Search Path > Header Search Paths > “${SRCROOT}” (with quotes)

We hope this article help you :)