You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you clone the repo into a path that has a space in it, the follow the instructions for building the Example project it will fail to build.
The error appears to be the expansion of the $(SOURCE_ROOT) variable into the Preprocessor macro value for FB_REFERENCE_IMAGE_DIR in the project build settings.
It leads to a part of the command line reading (for a build folder of /Users/richard/Test Folder With Spaces/TTTAttributedLabel/Example):
which isn't going to end well. The first (of 20) errors thrown is:
In file included from <built-in>:338:
<command line>:4:32: warning: missing terminating '"' character [-Winvalid-pp-token]
#define FB_REFERENCE_IMAGE_DIR "/Users/richard/Test
If you clone the repo into a path that has a space in it, the follow the instructions for building the Example project it will fail to build.
The error appears to be the expansion of the $(SOURCE_ROOT) variable into the Preprocessor macro value for FB_REFERENCE_IMAGE_DIR in the project build settings.
It leads to a part of the command line reading (for a build folder of /Users/richard/Test Folder With Spaces/TTTAttributedLabel/Example):
which isn't going to end well. The first (of 20) errors thrown is:
From the answer here: http://stackoverflow.com/questions/6052220/xcode-srcroot-not-working-even-though-paths-seem-to-exist/6060537#6060537 I tried setting the Preprocess Macro line to:
and that makes it build (for clarity - added extra un-escaped " inside the escaped one to get XCode to expand the path nicely).
The text was updated successfully, but these errors were encountered: