Khurram Iqbal
Khurram Iqbal

Reputation: 113

lexical and preprocessor issues ios on project rename

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

Upvotes: 0

Views: 778

Answers (1)

Khurram Iqbal
Khurram Iqbal

Reputation: 113

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

Upvotes: 2

Related Questions