Application Loader Reports
ERROR ITMS-90161: "Invalid Provisioning Profile. The provisioning profile included in the bundle org.xxxx.mug [Payload/flappy.app] is invalid. [Missing code-signing certificate]. A Distribution Provisioning profile should be used when submitting apps to the App Store. For more information, visit the iOS Developer Portal."
Bundle id is correct. Provision profile exist.
The text was updated successfully, but these errors were encountered:
there is problem with code format , the change code is cmd/gomobile/build_iosapp.go
bundle id is changed and
DEVELOPMENT_TEAM is added
Provision profile exist and downloaded
build success. run on ios device ok.
But upload fail
this is a code sign issue , I try to resign it
xcrun -sdk iphoneos PackageApplication -v flappy.app -o flappy.ipa --sign "iPhone Distribution: xx"
but still it don't work
it reports the same ERROR ITMS-90161
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go 1.8
gomobile version +0f31740 Wed Apr 19 17:20:05 2017 +0000 (android,ios); androidSDK=
What operating system and processor architecture are you using (
go env
)?macos
xcode 8.1
What did you do?
build example flappy and upload it to itunesconnect
edit below and go install gomobile
--- a/cmd/gomobile/build_iosapp.go
+++ b/cmd/gomobile/build_iosapp.go
@@ -31,7 +31,8 @@ func goIOSBuild(pkg *build.Package) (map[string]bool, error) {
infoplist := new(bytes.Buffer)
if err := infoplistTmpl.Execute(infoplist, infoplistTmplData{
// TODO: better bundle id.
@@ -366,6 +367,7 @@ const projPbxproj = `// !$UTF8$!
CLANG_WARN_UNREACHABLE_CODE = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
gomobile build -target=ios golang.org/x/mobile/example/flappy
flappy.app --itunes--> flappy.ipa
xcode Application Loader Upload.
What did you expect to see?
go build app upload success
What did you see instead?
Application Loader Reports
ERROR ITMS-90161: "Invalid Provisioning Profile. The provisioning profile included in the bundle org.xxxx.mug [Payload/flappy.app] is invalid. [Missing code-signing certificate]. A Distribution Provisioning profile should be used when submitting apps to the App Store. For more information, visit the iOS Developer Portal."
Bundle id is correct. Provision profile exist.
The text was updated successfully, but these errors were encountered: