Unable to compile SwiftShot demo code

Can anyone here quickly tell me if they're able to compile the code? I'm on XCode-beta with iOS 12 on my new iPad.


    /Users/Shared/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/metal -arch air64 -emit-llvm -c -gline-tables-only -isysroot /Users/Shared/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.0.sdk -ffast-math -serialize-diagnostics /Users/steve/Library/Developer/Xcode/DerivedData/SwiftShot-hdrvsaesaorcmcgfwhzfbwdkqvnf/Build/Intermediates.noindex/SwiftShot.build/Debug-iphoneos/SwiftShot.build/Metal/Flag-f5e96df6fe283f0ad65afba7305ab7cb8e989def2448b52359568078e2704e97.dia -o /Users/steve/Library/Developer/Xcode/DerivedData/SwiftShot-hdrvsaesaorcmcgfwhzfbwdkqvnf/Build/Intermediates.noindex/SwiftShot.build/Debug-iphoneos/SwiftShot.build/Metal/Flag-f5e96df6fe283f0ad65afba7305ab7cb8e989def2448b52359568078e2704e97.air -mios-version-min=12.0 "" -MMD -MT dependencies -MF /Users/steve/Library/Developer/Xcode/DerivedData/SwiftShot-hdrvsaesaorcmcgfwhzfbwdkqvnf/Build/Intermediates.noindex/SwiftShot.build/Debug-iphoneos/SwiftShot.build/Metal/Flag-f5e96df6fe283f0ad65afba7305ab7cb8e989def2448b52359568078e2704e97.dat /Users/steve/Downloads/SwiftShot:\ Creating\ a\ Game\ for\ Augmented\ Reality/SwiftShot/Flag.metal


resulting in:


error: error reading dependency file '/Users/steve/Library/Developer/Xcode/DerivedData/SwiftShot-hdrvsaesaorcmcgfwhzfbwdkqvnf/Build/Intermediates.noindex/SwiftShot.build/Debug-iphoneos/SwiftShot.build/Metal/Flag-f5e96df6fe283f0ad65afba7305ab7cb8e989def2448b52359568078e2704e97.dat': unexpected character in prerequisitesCommand CompileMetalFile emitted errors but did not return a nonzero exit code to indicate failure

Replies

I will let you know if it builds after correcting all the calls to os_log!

Pulled from GitHub the project builds and runs, at least on an iPhone 7+.


https://github.com/Gruppio/SwiftShot.git