#Configuration of Xcode for C++
Using the ALL_BUILD configuration
Edit the scheme: Product -> Scheme -> Edit Scheme
Set the environment variables: Run -> Arguments -> Enviroment Variables
Configure the path to all required libraries
Add an entry for: DYLD_FALLBACK_LIBRARY_PATH
Value: /Users/paulo/Workspace/MyLibs/lib:/Users/paulo/Workspace/MyLibs/terralib5/lib:/Users/paulo/Workspace/MyLibs/gdal2/lib
Add an entry for: DYLD_FALLBACK_FRAMEWORK_PATH
Value: /Users/paulo/Workspace/MyLibs/lib
=================
In order to run you use the scheme configured for ALL_BUILD and change the executable:
Run -> Info -> Executable: terrama2_unittest_core