Use this as the "custom script" for a build rule for files matching *.ero
:
/path/to/clang-eero-prebeta/bin/clang -S -o ${DERIVED_FILES_DIR}/${INPUT_FILE_BASE}.s ${INPUT_FILE_PATH}
The output file should be $(DERIVED_FILES_DIR)/$(INPUT_FILE_BASE).s
. Xcode automatically assembles and links the output into the binary.