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: Code Signing Error: No account for team "N22349G4YP" #26615

Closed
idoor88 opened this issue Jul 26, 2018 · 3 comments
Closed

x/mobile: Code Signing Error: No account for team "N22349G4YP" #26615

idoor88 opened this issue Jul 26, 2018 · 3 comments
Labels
FrozenDueToAge mobile Android, iOS, and x/mobile
Milestone

Comments

@idoor88
Copy link

idoor88 commented Jul 26, 2018

I got this error when I built gomobile basic for ios target, I googled around, but no solution found so far, could somebody help me? my go version is go1.10.1 darwin/amd64, and go env:

GOARCH="amd64"
GOBIN="/Users/t2349/workspace/go/bin"
GOCACHE="/Users/t2349/Library/Caches/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/t2349/workspace/go"
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
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"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/29/xcbl6q4d72v8y5wmrk12d64497njfc/T/go-build546510109=/tmp/go-build -gno-record-gcc-switches -fno-common"

The error message I got is:

gomobile build -target=ios golang.org/x/mobile/example/basic
gomobile: xcrun xcodebuild -configuration Release -project /var/folders/29/xcbl6q4d72v8y5wmrk12d64497njfc/T/gomobile-work-011020595/main.xcodeproj -allowProvisioningUpdates DEVELOPMENT_TEAM=N22349G4YP failed: exit status 65
2018-07-25 22:03:06.099 xcodebuild[73398:10119419] [MT] PluginLoading: Required plug-in compatibility UUID 426A087B-D3AA-431A-AFDF-F135EC00DE1C for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Unity4XC.xcplugin' not present in DVTPlugInCompatibilityUUIDs
Build settings from command line:
DEVELOPMENT_TEAM = N22349G4YP

=== BUILD TARGET main OF PROJECT main WITH CONFIGURATION Release ===

Check dependencies
Code Signing Error: No account for team "N22349G4YP". Add a new account in the Accounts preference pane or verify that your accounts have valid credentials.
Code Signing Error: No profiles for 'org.golang.todo.basic' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'org.golang.todo.basic'.
Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.4'

** BUILD FAILED **

The following build commands failed:
Check dependencies
(1 failure)

@meirf meirf changed the title Code Signing Error: No account for team "N22349G4YP" x/mobile: Code Signing Error: No account for team "N22349G4YP" Jul 26, 2018
@gopherbot gopherbot added this to the Unreleased milestone Jul 26, 2018
@gopherbot gopherbot added the mobile Android, iOS, and x/mobile label Jul 26, 2018
@agnivade
Copy link
Contributor

agnivade commented Jan 7, 2019

/cc @eliasnaur

@gopherbot
Copy link

Change https://golang.org/cl/156498 mentions this issue: cmd/gomobile: require -bundleid set for -target=ios

@eliasnaur
Copy link
Contributor

Use the -bundleid to set a bundle ID that you have previously claimed. One way to do that is to create an empty iOS project in Xcode and set its bundle ID. Run the project on a device and gomobile build with that ID should work from then on.

The CL linked above makes the -bundleid parameter mandatory, which is less confusing.

@golang golang locked and limited conversation to collaborators Jan 7, 2020
imWildCat pushed a commit to imWildCat/go-mobile that referenced this issue Apr 10, 2021
The default, org.golang.todo, is not available outside Google
and the resulting error is confusing.

Fixes golang/go#26615

Change-Id: I417a2f83bc3755628f1f3541a061c9272eb318c0
Reviewed-on: https://go-review.googlesource.com/c/156498
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
imWildCat pushed a commit to imWildCat/go-mobile that referenced this issue Apr 11, 2021
The default, org.golang.todo, is not available outside Google
and the resulting error is confusing.

Fixes golang/go#26615

Change-Id: I417a2f83bc3755628f1f3541a061c9272eb318c0
Reviewed-on: https://go-review.googlesource.com/c/156498
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge mobile Android, iOS, and x/mobile
Projects
None yet
Development

No branches or pull requests

4 participants