A header file is not found in Xcode

4.4k Views Asked by At

I developed an endless ball rolling game for IOS with Unity. The game includes a revive function.

I want to show an Google ad video before the revive function. If the player has watched fully the ad video, then the revive function will be called otherwise not.

The problem is when I want to Build & Run my game on Xcode but Xcode will not run my game because I get the following error:

'VungleAdapter/VungleAdNetworkExtras.h' file not found

Xcode image with error

I do not know what is error is and I want to solve the problem. It is very strange to get this error because I am only programming on Visual Studio.

1

There are 1 best solutions below

2
ISS On

Try this: Navigate to Build Phases, expand Compile Sources, delete file it says it's missing, add it back and then build the project again. Also Cleaning(Swift+CMD+K) the project might also work.

Did you write the VungleExtrasBuilder.h file extension wrong with "h" instead of "m", 'cause in the file shown on the right it's with ".m" Did you?