Hi,
I am trying to use the gomobile generated .framework in iOS. My code
is here at:
https://github.com/reddragon/eclisp/tree/master/lang.
When I try to call a method on an instance of the generated ObjC
struct (GoLangLangEnv), I get the following error:
"'NSInternalInconsistencyException', reason: 'go_seq_writeRef on
objective-c objects is not permitted'"
It is unclear to me as to how to fix this error. I grep-ped the repo
for the existence of the string, it last existed here:
https://github.com/golang/mobile/blob/926122382b51dbfb6ccd7685b89f3a6e17cd834f/bind/objc/seq_darwin.m#L383,
but it seems that it has been removed since then.
Updating my gomobile checkout, rebuilding gomobile and generating the
.framework again, still gives me the same error. Can someone point out
what am I doing wrong? Here is the code I could be doing wrong? Here
is the snippet of the small amount of code I wrote:
http://pastebin.com/XKWgf0ne
Thanks!
--
Gaurav Menghani