Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

lexical or preprocessor issue file not found occurs while archiving?

this is the screen shot foe the error

I am new to this iPhone development and i have almost completed my first application but when i try for creating an archive it gives an error lexical or preprocessed issue file not found But it runs fine in simulator and also has also tested on device. I have included SDwebimage architecture for lazy loading of image in table view.Can any tell me what is the issue?

like image 777
rahul raj Avatar asked Jun 07 '12 04:06

rahul raj


1 Answers

Few things to try, Ensure the Framework and all it's headers are imported into your project properly.

Also in your Build Settings set YES to Always search user paths, and make sure your User header paths are pointing to the Framework.

Finally, Build->Clean and Restart Xcode.

Hope this helps !

UPDATE: According to SDWebImage's installation, it's required you make a modification to Header Search Path and not User header paths, As seen below.

enter image description here

Have you done this as well? I suggest slowly, re-doing all the installation steps from the beginning.

like image 124
skram Avatar answered Sep 17 '22 17:09

skram