renebigot / XlsxReaderWriter

XlsxReaderWriter is an Objective-C library for iPhone / iPad and Mac. It parses and writes MS Excel XLSX files.
MIT License
438 stars 121 forks source link

Linking for OS X project #24

Closed steverowling closed 8 years ago

steverowling commented 8 years ago

Following the instructions in the Read Me for linking to an OS X project, I get the following error when building the project:

clang: error: no such file or directory: '/Users/steverowling/Library/Developer/Xcode/DerivedData/Metadata_Tagger-ewopyhauqwwrgqchyksrndhpnpwh/Build/Products/Debug/libXlsxReaderWriter.a'

If instead I use the following settings the project builds successfully:

These settings allow the project to build correctly, but do not allow me to launch the resulting .app file directly from Finder without it crashing immediately due to not being able to find the XlsxReaderWriter.framework library.

If I also add XlsxReaderWriter.framework to the Embed Frameworks section of Build Phases, then the project builds correctly and can be launched and run successfully from it's .app bundle.

Note that I am not using cocoapods to link the framework to my project.

renebigot commented 8 years ago

I thank you very much for posting your question and answer here. I'll update the Readme soon for future users.

joseprr87 commented 7 years ago

Thanks!