You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gomobile: darwin-armv7: go build -pkgdir=/Users/olive/go/pkg/gomobile/pkg_darwin_arm -tags ios -buildmode=c-archive -o /var/folders/jc/w249cklx2k12hyfc5bl1zzpc0000gn/T/gomobile-work-917987727/Foo-arm.a /var/folders/jc/w249cklx2k12hyfc5bl1zzpc0000gn/T/gomobile-work-917987727/src/iosbin/main.go failed: exit status 2
# _/var/folders/jc/w249cklx2k12hyfc5bl1zzpc0000gn/T/gomobile-work-917987727/src/gomobile_bind
/var/folders/jc/w249cklx2k12hyfc5bl1zzpc0000gn/T/gomobile-work-917987727/src/gomobile_bind/Foo.m:12:17: error: cannot find interface declaration for 'FooFoo' [-Werror]
/var/folders/jc/w249cklx2k12hyfc5bl1zzpc0000gn/T/gomobile-work-917987727/src/gomobile_bind/Foo.m:16:10: error: 'FooFoo' cannot use 'super' because it is a root class
/var/folders/jc/w249cklx2k12hyfc5bl1zzpc0000gn/T/gomobile-work-917987727/src/gomobile_bind/Foo.m:17:14: error: use of undeclared identifier '__ref'
/var/folders/jc/w249cklx2k12hyfc5bl1zzpc0000gn/T/gomobile-work-917987727/src/gomobile_bind/Foo.m:22:10: error: 'FooFoo' cannot use 'super' because it is a root class
/var/folders/jc/w249cklx2k12hyfc5bl1zzpc0000gn/T/gomobile-work-917987727/src/gomobile_bind/Foo.m:24:3: error: use of undeclared identifier '__ref'
/var/folders/jc/w249cklx2k12hyfc5bl1zzpc0000gn/T/gomobile-work-917987727/src/gomobile_bind/Foo.m:12:17: error: class 'FooFoo' defined without specifying a base class [-Werror,-Wobjc-root-class]
/var/folders/jc/w249cklx2k12hyfc5bl1zzpc0000gn/T/gomobile-work-917987727/src/gomobile_bind/Foo.m:12:23: note: add a super class to fix this problem
The text was updated successfully, but these errors were encountered:
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?1.8.3
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?What did you do?
gomobile bind -target ios
With a simple file :
=> fails
But if I use
package foo
It works
What did you expect to see?
It should generate the iOS binding
What did you see instead?
The text was updated successfully, but these errors were encountered: