iosgomach-ogccgo

Go language on iPhone


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


Solution

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