Search code examples
iosxcoderevmob

'RevMobAds/RevMobAds.h' file not found error


I know that this question is asked a lot but i still couldn't get the right answer.

I just have followed the steps from the guide of the site revmob. I have did the cocoa pods part because i don't know how to make a pods file and my account is not in sudoers file so i can't use the sudo command in terminal. But do i need to do this part?

And yes i have already deleted and redroped the framework in Xcode. This is how it look like:

xcode[1]

and in the project folder:

project folder

Those anybody know what is wrong? Please let me know

UPDATE:

Could please someone help?
Or at least say if i need to do the cocoapods part.


Solution

  • The answer to this matter can be found here:

    The issue is due XCode not correctly finding the RevMob framework.

    To correct the issue, what shall be done is to remove the framework, and then redrop it. But, this time, make sure to check both the "Copy items if needed" and "Create folder references" boxes.

    If all the other settings are right, as per the tutorial, your project should build now.