Touch-Bar-Lemmings
Touch-Bar-Lemmings copied to clipboard
Installer?
Will you create an installer for Lemmings?
thanks
That would be cool ^-^
Or a readme on how to compile...
@RoySegall compile in xcode You need to disable code signing in "build settings" and edit the line that has 10.12.1 on it and change to 10.12.2.
@robjtede thanks for the tip. Here's how I managed to build this project after doing a find replace for the xcode version:
git clone https://github.com/erikolsson/Touch-Bar-Lemmings.git
cd Touch-Bar-Lemmings/
xcodebuild clean build CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
@twheys Thanks heaps!
It was continuously crashing when trying to build from Xcode GUI- even though the build succeeded.
Compiling via command line did the trick!
Hey everybody, here's the code change required:
diff --git a/TouchLemmings/LemmingsScene.swift b/TouchLemmings/LemmingsScene.swift
index 4092419..8395635 100644
--- a/TouchLemmings/LemmingsScene.swift
+++ b/TouchLemmings/LemmingsScene.swift
@@ -39,7 +39,7 @@ class LemmmingsScene: SKScene, SKPhysicsContactDelegate {
}
override func touchesBegan(with event: NSEvent) {
- if #available(OSX 10.12.1, *) {
+ if #available(OSX 10.12.2, *) {
if let touch = event.allTouches().first {
let location = CGPoint(x: touch.location(in: self.view).x, y: 14)
And then when you see this on your primary LCD:
Touch the empty space in the touch bar...and smile :)