Warning: This project is WIP and not yet functional (due to imgclean not being fully implemented).
- Open the project in XCode
- Build imgclean
- Collect all dylibs that imgclean needs by invoking the
collect_dylibs.shscript in the root folder of this project:./collect_dylibs.sh - In XCode, go to the "Build Phases" tab of the TextCleaner target, and add a "Copy Files" phase.
- Set the "Destination" to "Frameworks"
- Add all the dylibs in the ìmgclean-frameworks` folder to this phase.
- Build and run the TextCleaner target.
- imgclean is a git submodule and should be automatically cloned when you clone the repository. If not, run:
git submodule update --init --recursive - Open a terminal and navigate to the
imgclean/projectdirectory: - Use cmake to build imgclean (build.sh shows you how)