thank Elias. Nice I am on this version:
x-MacBook-Pro:rpc apple$ gomobile version gomobile version +7573efa Wed Aug 24 22:21:38 2016 +0000 (android,ios); androidSDK=/Users/apple/Library/Android/sdk/platforms/android-24 I will upgrade now and see if i get the same errors. thanks On Wed, Sep 28, 2016 at 5:06 PM Elias Naur <[email protected]> wrote: > Hi, > > Use the -work flag to gomobile to output working directory and to preserve > the generated files. > > What revision are your gomobile tool compiled at? CL 29052 should have > fixed that error. > > - elias > > > On Wednesday, September 28, 2016 at 2:14:30 PM UTC+2, Joe Blue wrote: >> >> >> Hey all, >> >> i am compiling code across to IOS & Android. >> >> On Android things are working ok it seems. >> >> But i get this on ios with: gomobile bind --target=ios -v >> >> >> >> _/var/folders/wp/ff6sz9qs6g71jnm12nj2kbyw0000gp/T/gomobile-work-821936368/src/gomobile_bind >> >> # >> _/var/folders/wp/ff6sz9qs6g71jnm12nj2kbyw0000gp/T/gomobile-work-821936368/src/gomobile_bind >> >> /var/folders/wp/ff6sz9qs6g71jnm12nj2kbyw0000gp/T/gomobile-work-821936368/src/gomobile_bind/GoCli.m:156:11: >> warning: incompatible pointer types assigning to 'GoUniverseerror *' from >> 'goSeqErrorWrapper *' [-Wincompatible-pointer-types] >> >> /var/folders/wp/ff6sz9qs6g71jnm12nj2kbyw0000gp/T/gomobile-work-821936368/src/gomobile_bind/seq.h:32:1: >> note: instance method 'initWithError:' is assumed to return an instance of >> its receiver type ('goSeqErrorWrapper *') >> >> /var/folders/wp/ff6sz9qs6g71jnm12nj2kbyw0000gp/T/gomobile-work-821936368/src/gomobile_bind/GoCli.m:178:11: >> warning: incompatible pointer types assigning to 'GoUniverseerror *' from >> 'goSeqErrorWrapper *' [-Wincompatible-pointer-types] >> >> /var/folders/wp/ff6sz9qs6g71jnm12nj2kbyw0000gp/T/gomobile-work-821936368/src/gomobile_bind/seq.h:32:1: >> note: instance method 'initWithError:' is assumed to return an instance of >> its receiver type ('goSeqErrorWrapper *') >> >> /var/folders/wp/ff6sz9qs6g71jnm12nj2kbyw0000gp/T/gomobile-work-821936368/src/gomobile_bind/GoCli.m:202:11: >> warning: incompatible pointer types assigning to 'GoUniverseerror *' from >> 'goSeqErrorWrapper *' [-Wincompatible-pointer-types] >> >> /var/folders/wp/ff6sz9qs6g71jnm12nj2kbyw0000gp/T/gomobile-work-821936368/src/gomobile_bind/seq.h:32:1: >> note: instance method 'initWithError:' is assumed to return an instance of >> its receiver type ('goSeqErrorWrapper *') >> >> /var/folders/wp/ff6sz9qs6g71jnm12nj2kbyw0000gp/T/gomobile-work-821936368/src/gomobile_bind/GoCli.m:228:11: >> warning: incompatible pointer types assigning to 'GoUniverseerror *' from >> 'goSeqErrorWrapper *' [-Wincompatible-pointer-types] >> >> /var/folders/wp/ff6sz9qs6g71jnm12nj2kbyw0000gp/T/gomobile-work-821936368/src/gomobile_bind/seq.h:32:1: >> note: instance method 'initWithError:' is assumed to return an instance of >> its receiver type ('goSeqErrorWrapper *') >> >> /var/folders/wp/ff6sz9qs6g71jnm12nj2kbyw0000gp/T/gomobile-work-821936368/src/gomobile_bind/GoCli.m:253:11: >> warning: incompatible pointer types assigning to 'GoUniverseerror *' from >> 'goSeqErrorWrapper *' [-Wincompatible-pointer-types] >> >> /var/folders/wp/ff6sz9qs6g71jnm12nj2kbyw0000gp/T/gomobile-work-821936368/src/gomobile_bind/seq.h:32:1: >> note: instance method 'initWithError:' is assumed to return an instance of >> its receiver type ('goSeqErrorWrapper *') >> >> /var/folders/wp/ff6sz9qs6g71jnm12nj2kbyw0000gp/T/gomobile-work-821936368/src/gomobile_bind/GoCli.m:279:11: >> warning: incompatible pointer types assigning to 'GoUniverseerror *' from >> 'goSeqErrorWrapper *' [-Wincompatible-pointer-types] >> >> /var/folders/wp/ff6sz9qs6g71jnm12nj2kbyw0000gp/T/gomobile-work-821936368/src/gomobile_bind/seq.h:32:1: >> note: instance method 'initWithError:' is assumed to return an instance of >> its receiver type ('goSeqErrorWrapper *') >> >> command-line-arguments >> >> write Cli.framework/Versions/A/Headers/GoCli.h >> >> write Cli.framework/Versions/A/Headers/GoUniverse.h >> >> write Cli.framework/Versions/A/Headers/Cli.h >> >> write Cli.framework/Versions/A/Modules/module.modulemap >> >> >> >> 1. Is there a way to tell the compiler to leave the files in the >> /var/folders/wp/ff6sz9qs6g71jnm12nj2kbyw0000gp/ >> location so i can see them. At the moment it deletes them. >> >> >> Regards >> >> >> Joe >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "golang-nuts" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/golang-nuts/vTdAjZk1W64/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
