Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
x/mobile: go_seq_go_to_refnum on objective-c objects is not permitted #20254
We've received a bug report that recently (2+ weeks at least) iOS builds have been erroring out with a strange error. Any ideas about it?
Also experiencing this.
Happens to me when I manually instantiate golang's struct and then perform some actions with its internals.
MygolangObject* obj = [[MygolangObject alloc] init]; [obj setProperty:value]; // fails here
However it works if I introduce procedure to create objects in golang:
MygolangObject* obj = MygolangFunctionToCreateObject(property_value); [obj setProperty:value]; // works!
I noticed the error when I implemented the generated class declared by gomobile from my Go interface which included the