Skip to content
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

x/mobile: Failed to compile when Code Sign On Copy is enabled #15657

dcu opened this issue May 12, 2016 · 5 comments


None yet
6 participants
Copy link

commented May 12, 2016

We are creating a "super" framework that wraps the gomobile SDK framework so we can provide a nicer interface to the user.
After including the "super" framework in an app it won't compile if "Code Sign On Copy" is enabled. The error we are getting is the following:

/Applications/ /go_workspace/src/sdk/sdk.framework/Versions/A/sdk -r -o /Library/Developer/Xcode/DerivedData/SDKSample-hekfbucrqcjiftbuxvajgryylwtw/Build/Products/Debug-iphoneos/
/Applications/ string table not at the end of the file (can't be processed) in file: /go_workspace/src/sdk/sdk.framework/Versions/A/sdk(go.o) (for architecture armv7)
error: bitcode_strip /go_workspace/src/sdk/sdk.framework/Versions/A/Coresdk: /Applications/ exited with 1

when "Code Sign On Copy" is not checked the error changes to:

A signed resource has been added, modified, or deleted.

This comment has been minimized.

Copy link

commented May 17, 2016

There is not enough information here. What does "generating a wrapper" mean?

Part of the gomobile build process is invoking an xcode tool to sign the binary produced. If you are presenting something different to xcode, it may need a different process. You can run the gomobile tool with -x flag to see what commands are being run.

To start the debugging process: do the basic examples or Ivy from the mobile subrepository work on your xcode installation? If so, there is some interaction between your build process, xcode, and the go binary that is the problem. If not, please report what you're seeing with the examples, which should work on armv7.


This comment has been minimized.

Copy link

commented Jun 1, 2016

@crawshaw sorry I took a while to respond this, we've been busier than usual.
So we created a very small sample for a gomobile sdk, a wrapper for it and an app that uses the wrapper.
The code is here:

Please let me know if the instructions are clear, xcode can be difficult some times.


This comment has been minimized.

Copy link

commented Jul 1, 2016

@dcu any update on your progress with this? I'm trying to do something similar and hitting the same walls.


This comment has been minimized.

Copy link

commented Jul 27, 2016

we generated the umbrella framework in a different way and this issue is now gone. Closing the ticket.

@dcu dcu closed this Jul 27, 2016


This comment has been minimized.

Copy link

commented Jul 27, 2017

@dcu could you please describe how did you generate the umbrella framework in the end? I'm having similar problems.

@golang golang locked and limited conversation to collaborators Jul 27, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.