libMMMarkdown-iOS.a is showing red in Xcode
amitch001 opened this issue · 5 comments
Hi,
When I add libMMMarkdown-iOS.a in include libraries in my project ---> It appears as red. it means there is not library like this. Please help me how to include "libMMMarkdown-iOS.a" library in my project.
In your MMMarkdown github folder also I am unable to find "libMMMarkdown-iOS.a" library. Please help me!!
MMMarkdown no longer includes a pre-built iOS binary. You'll need to follow the instructions in the setup section of the README.
Hi Mdiep,
Thank you so much for your swift response!!
I followed the steps (4 steps) provided in step guide. I added MMMarkdown-iOS.a in my projects Build Phase Target Dependencies also. I also followed Apple documentation on how to add static libraries in Xcode.
I think I am doing wrong in step 4. Can you please tell me what I have to enter in "Header Search Paths" in Build settings of my projects. Do i have to enter the path of MMMarkdown-iOS.a located in my computer? I have no experience in this and I googled a lot to find out about it but haven't found a single document which explained about it clearly. Can you please tell me what I have to enter in Header search path for "$(CONFIGURATION_BUILD_DIR)/MMMarkdown-iOS/public/" ?
Thanks again,
Waiting for your response
- Open your project in Xcode
- Press ⌘1 to open the sidebar
- Click on your project in the sidebar
- Click on the "Build Settings" tab
- In the search field, type "search"
- Under search paths, you should see a row labeled "Header Search Paths"
- Edit that row and add the value
$(CONFIGURATION_BUILD_DIR)/MMMarkdown-iOS/public/
Have you tried building? The library will be red until you build.