Comments (7)
Or a readme on how to compile...
from touch-bar-lemmings.
@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
from touch-bar-lemmings.
That would be cool ^-^
from touch-bar-lemmings.
@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.
from touch-bar-lemmings.
@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!
from touch-bar-lemmings.
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)
from touch-bar-lemmings.
And then when you see this on your primary LCD:
Touch the empty space in the touch bar...and smile :)
from touch-bar-lemmings.
Related Issues (13)
- How to launch the first-ever-touchbar killer-app of yours ? HOT 2
- Make lemmings persist no matter which app is active. HOT 3
- I love it, but as someone who knows nothing about programming a couple of questions.... HOT 1
- can someone please tell me how to run the game HOT 1
- CompileStoryboard fails
- [RFE] kill processes when lemmings die
- Alternate sprites in case of C&D HOT 3
- No Lemmings :( HOT 1
- 'location(in:)' is only available on OS X 10.12.2 or newer' in file HOT 2
- Doesn't work HOT 1
- Value of type 'NSEvent' has no member 'allTouches' HOT 1
- No lemmings :-( HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from touch-bar-lemmings.