build

in ofSetup()

ofSetDataPathRoot(“../Resources/data/"); 
Anfnage Position in ofSetup();


 Build Phases

mkdir -p "$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/Resources/";
mkdir -p "$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/Resources/data/";
cp -r bin/data "$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/Resources";


 Project.xconfig

ICON_FILE_PATH = bin/data/