Saturday, 10 August 2013

xcodebuild cannot find header in embedded projects

xcodebuild cannot find header in embedded projects

I have a project embed another project, and the xcode GUI build was
successful, but in command line xcodebuild failed as such. fatal error:
'OHAttributedLabel/OHAttributedLabel.h' file not found #import ^ 1 error
generated.
but I had this in the project HEADER SEARCH PATH (where the h is located)
${PROJECT_DIR}/MyProject/Vendor/OHAttributedLabel/Source
the problem is the header is located in the "OHAttributedLabel/Source"
folder, while the import statement is looking for header under
OHAttributedLabel folder, I don't want to touch the embedded project
directory structure, but if

No comments:

Post a Comment