- Clone DeepLearningKit: git clone https://github.com/DeepLearningKit/DeepLearningKit.git
2. Clone demo app: git clone https://github.com/DeepLearningKit/DeepLearningKitForiOSDemoApp.git
3. Open DeepLearningKitForiOSDemoApp.xcodeproj in xcode (e.g. from Finder)
4. Have a look at ViewController.swift – notice that import DeepLearningKitForiOS gives an error (in red)
5. Open Finder and Drag DeepLearningForiOS.xcodeproj over to the demo app in xcode
6. Highlighted line below shows how the framework DeepLearningForiOS.xcodeproj can be included
7. Click on app settings (highlighted line in left part of Xcode) and go the General tab on the right
8. Scroll down to embedded binaries in General tab and add DeepLearningKitforiOS.frameworkiOS
9. Result afterwards should look something like this – embedded binaries down to the right
10. Drag the Shaders.metal file from DeepLearningKitForiOS into top project
(not quite sure why this needs to be done, but anyway)
11. Connect iPhone to your Mac (e.g. iPhone 6S), compile and run, should get something like this