dhoerl / DHlibxls

Framework to read Excel xls spreadsheets
271 stars 86 forks source link

Error adding project to file #9

Closed pleopard93 closed 11 years ago

pleopard93 commented 11 years ago

I followed the directions on the link posted, but I keep getting a "PBXCp Error." Any thoughts on how to fix this? It says "No such file or directory."

dhoerl commented 11 years ago

Please open the Xcode build log, click on far right to get the text, and copy and paste it in your original question. Also, which target? I just build it by first cding to /tmp, cloning it, and building DHxlsreaderIOS project. Try this command in your Terminal, if it does not work you may not have installed the Xcode command line tools (this command must work, it pulls in the source).

svn co https://libxls.svn.sourceforge.net/svnroot/libxls/trunk/libxls libxls

pleopard93 commented 11 years ago

After trying to recreate the error, I was able to add the framework to my workspace. Now, however, it says that DHxlsReaderIOS.h cannot be found. I first built DHxlsReaderIOS and then my project, but it still says this.

dhoerl commented 11 years ago

So look at the demo project, Xcode configuration - you need to tell Xcode where to find the header files. Just copy how the demo project does it.

pleopard93 commented 11 years ago

That did it, thank you so much for your help!