I try to include QuickDialog into one of my projects and just can’t get it to work.
I did the following:
- downloaded it from github
- copied it into my project directory
- drag and droped the QuickDialog.xcodeproj file downloaded from github
previously from Finder to my project - in the Build Phases, Added QuickDialog (the lib, not the example app)
as a Target Dependency - in the Link Binary With Libraries section, added the libQuickDialog.a
library (this turns red actually don’t know why) - In my Prefix.pch file, add:
#import <QuickDialog/QuickDialog.h>
cause this didn’t work I also tried the following:
- added -Objc and -all_load to my “Other Linker Flags”
- added
$(SOURCE_ROOT)/escoz-QuickDialog-b5f67f1to “User Header
Search Path”
this also didn´t work I always get the error QuickDialog/QuickDialog.h file not found at the line #import <QuickDialog/QuickDialog.h>
What do I do wrong?
So the solution to this problems are, as posted in the comments, the quotes on
“${PROJECT_DIR}/QuickDialog”as you can see there two different quotes.The solution is to NOT copy it from the documentary, instead just type it yourself and your are fine.
It should look like this:
"${PROJECT_DIR}/QuickDialog"Thats the trick.