lexical and preprocessor issues ios on project rename

778 views Asked by At

i've changed the name of my project schema. Project was running successfully before but now it gives lexical and preprocessor issue . I've carefully checked buildphase and buildsetting headerpaths. Error is coming in cocos2d sub folder linking .I ve been stuck in this problem and trying to solve it from morning, i ve some lazy options as well to solve this issue, but i want to know what exactly wrong? Any help will be highly appreciated Here is the snap shot of error

following error

1

There are 1 answers

2
Khurram Iqbal On BEST ANSWER

I've solved the issue. when i changed the name of project name it also changed the prefix of header path that is before the name of project was xyz which i changed to mdot. "$(project_name)/libs/cocos2dx" before this was interpreting as "xyz/libs/cocos2dx" and when changed the name of project it was interpreting as "mdot/libs/cocos2dx" bec the folder name of the project was still xyz i forcefully changed the string to "xyz/libs/cocos2dx" from "$(projectname/libs/cocos2dx)" actually solve the problem and now compiler was pretty clear where the header files are.I hope it cld help other as well