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/cmd/gomobile: build unsigned #10439

Closed
rakyll opened this issue Apr 13, 2015 · 5 comments
Closed

x/mobile/cmd/gomobile: build unsigned #10439

rakyll opened this issue Apr 13, 2015 · 5 comments

Comments

@rakyll
Copy link
Contributor

rakyll commented Apr 13, 2015

gomobile should have an option to build unsigned apks. This is an alternative solution to the previously proposed idea on #10090, but being able to output unsigned apks or apps and delegating the signing to external tooling for prod builds is a more feasible solution.

@rakyll rakyll self-assigned this Apr 13, 2015
@rakyll
Copy link
Contributor Author

rakyll commented Apr 13, 2015

cc/ @crawshaw @hyangah

@hyangah
Copy link
Contributor

hyangah commented Apr 14, 2015

is it difficult to resign signed apk/ipa?
If unsigned apk/ipa are simply zip files, this will be simple to implement.

gomobile build -unsigned
and show examples on how to sign.

@crawshaw
Copy link
Member

Apparently the process to resign an .apk is zip -d app.apk META-INF/* and then follow the usual signing process.

@rakyll
Copy link
Contributor Author

rakyll commented Apr 14, 2015

The process required to resign an IPA is similar. See https://gist.github.com/mediabounds/1367348. What about suggesting resigning as the blessed way to make prod builds and document it?

@rsc rsc changed the title cmd/gomobile: build unsigned x/mobile/cmd/gomobile: build unsigned Apr 14, 2015
@rsc rsc removed the repo-mobile label Apr 14, 2015
@ianlancetaylor ianlancetaylor added this to the Unreleased milestone Jun 3, 2015
@rakyll
Copy link
Contributor Author

rakyll commented Jun 21, 2015

Closing, it is obsolete now. We can suggest resigning rather than building unsigned APKs.

@rakyll rakyll closed this as completed Jun 21, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 2016
@rsc rsc unassigned rakyll Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants