altool fails to upload iOS app to iTunes Connect and xcode succeeds -
i automate build , upload of ios app , encountered issue using xcodebuild archiving.
when archiving & exporting using xcodebuild , trying upload using altool (application loader command line tool) - upload fails , gives error:
"error domain=itunestransportererrordomain code=-18000 \"error itms-90161: \"invalid provisioning profile. provisioning profile included in bundle com.****.***** [payload/*****.app] invalid. [missing code-signing certificate]. distribution provisioning profile should used when submitting apps app store. more information, visit ios developer portal.\"\" userinfo={nslocalizedrecoverysuggestion=error itms-90161: \"invalid provisioning profile. provisioning profile included in bundle com.****.***** [payload/*****.app] invalid. [missing code-signing certificate]. distribution provisioning profile should used when submitting apps app store. more information, visit ios developer portal.\", nslocalizeddescription=error itms-90161: \"invalid provisioning profile. provisioning profile included in bundle com.****.***** [payload/*****.app] invalid. [missing code-signing certificate]. distribution provisioning profile should used when submitting apps app store. more information, visit ios developer portal.\", nslocalizedfailurereason=error itms-90161: \"invalid provisioning profile. provisioning profile included in bundle com.****.***** [payload/*****.app] invalid. [missing code-signing certificate]. distribution provisioning profile should used when submitting apps app store. more information, visit ios developer portal.\"}
i see chosen provisioning profile correct in xcodebuild archive log, shown here (i changed names of course..):
signing identity: "iphone distribution: company name (8#######7)" provisioning profile: "the distribution provision profile name" (provision profile id)
- archiving in xcode , uploading working fine.
- archiving & exporting xcode , uploading altool working fine
- the distribution certificate in keychain access certificates , includes private key. valid , not revoked or expired.
things i've tried:
- regenerate distribution provisioning profile
- revoke distribution certificate , create new one
- restart (always worth trying..)
- try different apps (all failed)
this bothers me week now. no solution internet worked me. if can great.
thanks lot, giora.
Comments
Post a Comment