x/mobile: unable to upload ios app: "Invalid Segment Alignment" #22402
Labels
Milestone
Comments
Change https://golang.org/cl/72730 mentions this issue: |
Proposed change. |
Unsure of the meaning of the mobile tag. It needs to be clear that the problem affects code that has nothing to do with x/mobile. See github.com/gazed/bios. |
The mobile tag is for everything related to darwin/arm* and android, not just the x/mobile repository. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go1.9.1 xcode 9.0.1 macos 10.13
Does this issue reproduce with the latest release?
Yes. Tip 006bc57 as well.
What operating system and processor architecture are you using (
go env
)?GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/rust/code/ghub"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/_d/8n_wrc4n32d1rgx80bn6hsl80000gn/T/go-build104616041=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
What did you do?
Built and packaged an app for ios that would not pass validation.
See: https://groups.google.com/forum/#!topic/golang-nuts/DaCOnoSWvBw
Fixed the problem using the following change on go master 006bc57 :
Note: this is a difficult issue to reproduce since it requires an apple developer account.
Refer to github.com/gazed/bios, a project created specifically to test this issue.
The text was updated successfully, but these errors were encountered: