Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/mobile/app: Build error on darwin_amd64 #11827

Closed
shazow opened this issue Jul 22, 2015 · 1 comment
Closed

x/mobile/app: Build error on darwin_amd64 #11827

shazow opened this issue Jul 22, 2015 · 1 comment
Assignees
Milestone

Comments

@shazow
Copy link
Contributor

@shazow shazow commented Jul 22, 2015

Recent patch that adds keyboard events to x/mobile on OSX (golang/mobile@de4ba64, cc @crawshaw) is failing to build on 10.9.5. Looks like it's because the ARepeat property is only available on OSX 10.10 and newer: https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSEvent_Class/#//apple_ref/occ/instp/NSEvent/ARepeat

$ go build .
# golang.org/x/mobile/app
../../local/go1.5/src/golang.org/x/mobile/app/darwin_amd64.m:192:15: error: property 'ARepeat' not found on object of type 'NSEvent *'

go version devel +71832ff Fri Jul 3 21:39:04 2015 +0000 darwin/amd64 on OSX 10.9.5

@crawshaw crawshaw self-assigned this Jul 22, 2015
@gopherbot
Copy link

@gopherbot gopherbot commented Jul 22, 2015

CL https://golang.org/cl/12552 mentions this issue.

@ianlancetaylor ianlancetaylor added this to the Unreleased milestone Jul 22, 2015
@golang golang locked and limited conversation to collaborators Aug 5, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.