go: x/mobile: apps built with go 1.13, still rejected by Apple app store
What version of Go are you using (go version)?
$ go version 1.13
Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
gomobile for iOS.
What did you do?
Build an app and try to submit to Apple App Store.
What did you expect to see?
Acceptance.
What did you see instead?
The fix provided here https://github.com/golang/go/issues/31628 is not complete. ptrace is not the only symbol that is being rejected by the store. Go >= 1.12 (including the latest release with a fix for the aforementioned ptrace problem) still triggers a rejection on the sysctl symbol. Some sample text from Apple:
ITMS-90338: Non-public API usage - The app references non-public symbols in Keybase: ___sysctl
The only way we can submit our app to the app store is to run the now unsupported Go 1.10.8, which works.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 22 (8 by maintainers)
Commits related to this issue
- unix: disable sysctl on iOS Running the regenerating scripts also brought in ClockGettime. Updates golang/go#34133 Change-Id: I0eb9ed6dbbc2bdd7e3d2a7f5d88492e9dfed0ada Reviewed-on: https://go-revie... — committed to golang/sys by eliasnaur 5 years ago
- log/syslog: skip unsupported tests on iOS CL 193843 disabled sysctl on iOS. This change disables two tests that rely on sysctl. Updates #34133 Change-Id: I7c569a1992a50ad6027a294c1fd535cccddcfc4e R... — committed to golang/go by eliasnaur 5 years ago
- net,os: disable more sysctl tests on iOS Updates #34133 Change-Id: I27c75993176cf876f2d80f70982528258c509b68 Reviewed-on: https://go-review.googlesource.com/c/go/+/193845 Run-TryBot: Elias Naur <mai... — committed to golang/go by eliasnaur 5 years ago
- syscall: re-generate zsyscall_darwin_arm*.s I missed that in CL 193843. Updates #34133 Change-Id: I70b420f022cc7f8289f07375bfc2ade20cf3ffe7 Reviewed-on: https://go-review.googlesource.com/c/go/+/19... — committed to golang/go by eliasnaur 5 years ago
- syscall: reenable sysctl on iOS This was disabled due to a report that the App Store rejects the symbol __sysctl. However, we use the sysctl symbol, which is fine. The __sysctl symbol is used by x/sy... — committed to golang/go by zx2c4 5 years ago
- unix: __sysctl is sysctl on darwin While the other BSDs use __sysctl as the name, Darwin now uses sysctl, without the leading underscores, and considers __sysctl to be "private". Using __sysctl leads... — committed to golang/sys by zx2c4 5 years ago
- unix: regenerate darwin libc trampolines after CL 202837 CL 202837 forgot to properly re-generate zsyscall_darwin_{386,amd64,arm64}.s with the correct trampoline name. Updates golang/go#35103 Update... — committed to golang/sys by tklauser 5 years ago
- [release-branch.go1.13] syscall: reenable sysctl on iOS This was disabled due to a report that the App Store rejects the symbol __sysctl. However, we use the sysctl symbol, which is fine. The __sysct... — committed to golang/go by zx2c4 5 years ago
@khr @eliasnaur
Can we disable the use of sysctl as well in the syscall package?