macdriver icon indicating copy to clipboard operation
macdriver copied to clipboard

Compilation warnings with v0.2.0

Open riscdanger opened this issue 4 years ago • 0 comments

Hi, I've started getting these errors since the v0.2.0 release:

$ make install
go install github.com/progrium/shelldriver/cmd/[email protected]
# github.com/progrium/macdriver/core
../../../go/pkg/mod/github.com/progrium/[email protected]/core/core_objc.gen.go:172:3: warning: class method '+localizedUserNotificationStringForKey:arguments:' not found (return type defaults to 'id') [-Wobjc-method-access]
../../../go/pkg/mod/github.com/progrium/[email protected]/core/core_objc.gen.go:887:3: warning: instance method '-shuffledArray' not found (return type defaults to 'id') [-Wobjc-method-access]

I'm on an M1 mac with Big Sur (11.4). I get the same thing when I try to compile with emulation:

$ arch -x86_64 make install
go install github.com/progrium/shelldriver/cmd/[email protected]
# github.com/progrium/macdriver/core
../../../go/pkg/mod/github.com/progrium/[email protected]/core/core_objc.gen.go:172:3: warning: class method '+localizedUserNotificationStringForKey:arguments:' not found (return type defaults to 'id') [-Wobjc-method-access]
../../../go/pkg/mod/github.com/progrium/[email protected]/core/core_objc.gen.go:887:3: warning: instance method '-shuffledArray' not found (return type defaults to 'id') [-Wobjc-method-access]

Is there something I can update to get this working?

riscdanger avatar Nov 04 '21 21:11 riscdanger