Can I send Go with the Mac App Store?

I'm trying to plan a product that I would like to create and publish on the Mac App Store.

I have many functions in the Go program that I would like to use in the Electron application, ideally I would like to use gRPC to communicate between them. I am concerned that the application process will be rejected, can someone tell me:

  • Is it possible for your main application to "invoke" the associated Go program?
  • If so, I would limit myself to stdin / stdout (am I worried that in order to use gRPC, my Go program should start at startup, and this might be prohibited)?

I tried to set the answers to the above by reading this https://developer.apple.com/app-store/review/guidelines/ , but without the experience that I hope some of you have, I cannot be sure. I would like not to spend a lot of time creating this method, which will be rejected.

Edit / Update:

Update. Following further research and reflection, I reread this part of the App Store Review Guidelines. 2.4.5 (iii) They may not start automatically or run other code at startup or login without consent or spawning, which continue to be executed without the consent of the user after exiting the application. "

  • Looking at it, the “other code” that I ran will have consent (as part of the structure / package of the application package), and I would design it so that it closes when the user exits the application.

I also found that the Xcode application package structure contains this comment about the MacOS directory: “MacOS (Required) Contains stand-alone executable code for the application. Typically, this directory contains only one binary file with the main entry point of the application and statically linked code. However you can put other standalone executables (such as command line tools) in this directory. "

  • So, it seems like part 1 answers my question, but I have not understood part 2 of my question yet.

Change / Update 2:

:" , ( ), . , , . "

, TCP/gRPC, ... !

+4
1

. , , go - . ios ( , Mac):

https://itunes.apple.com/us/app/ivy-big-number-calculator/id1012116478?mt=8

, , cgo, , Go C. x-platform Go, .

https://github.com/avelino/awesome-go#gui

, , . OS X , , .

, , , , .

( go) - Go (, mac os, ios, android) - , , , go . , , .

, , , , , .

+1

Source: https://habr.com/ru/post/1685977/


All Articles