-
Notifications
You must be signed in to change notification settings - Fork 18k
runtime/cgo: exc_server is not public API for the iOS ports #10646
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks, I didn't realize it was not public. As it only matters when running via lldb, and lldb is usually a test, I suggest we only enable it by default when building tests. |
CL https://golang.org/cl/9549 mentions this issue. |
@scosman if you are building an app with Go, I would enjoy trying it out. If it's public, please send a note when you launch it. |
@crawshaw evaluating it for now. @jamesshoebox is the expert, he'll probably release our test app. |
It works! Here's a demo app I threw together: https://github.com/jamesshoebox/GoIOSDemo |
I realize this is not the right forum for this discussion, but as I don't have your email addresses: If you are looking into adding Go to an iOS app, you may want to consider the new -buildmode=c-archive that is in tip. You create a package main with an empty func main() {}, then cgo //export any functions you want to call from Objective-C. Then: There will be more documentation about this as we get gobind working for iOS. |
I received a complaint that Go app failed app store check.
(see https://bitbucket.org/minux/goios/issue/7/cannot-build-for-arm64)
Instead of forcing the user to use the lldb build tag, we should make the builder
use another build tag.
/cc @crawshaw
The text was updated successfully, but these errors were encountered: