Go language on iPhone

Max picture Max · Oct 2, 2012 · Viewed 17.5k times · Source

Is it possible to write in Go for iPhone? I think following steps are required

  1. Compile Go as ARM Mach-O binary (I expect GCCGO be able to do that)

  2. Compile iPhone app as static library (I think it possible to rename main() -> main2(), etc)

  3. Compile Go as Mach-O binary linked with iPhone static library. Go will have to call main2.

  4. make some plist files, zip, sign

Answer

zzzz picture zzzz · Oct 2, 2012

Minux maintains the Go iOS port here: https://bitbucket.org/minux/goios/wiki/Home