Skip to content

Unable to build and deploy app to iTunes: Unable to connect to iTunes Connect #2874

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

Closed
dtopuzov opened this issue Jun 5, 2017 · 8 comments
Closed

Comments

@dtopuzov
Copy link
Contributor

dtopuzov commented Jun 5, 2017

From @briandilley on June 3, 2017 22:53

` /usr/bin/touch -c /Users/distiller/Library/Developer/Xcode/DerivedData/quickridensmobile-bnzhogcsicpkjudhwfepmetihxvs/Build/Intermediates/ArchiveIntermediates/quickridensmobile/BuildProductsPath/Release-iphoneos/quickridensmobile.app.dSYM

** ARCHIVE SUCCEEDED **

Archive at: /Users/distiller/quickride-ns-mobile/platforms/ios/build/archive/quickridensmobile.xcarchive
2017-06-03 15:36:48.606 xcodebuild[17633:31256] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/jm/fw86rxds0xn69sk40d18y69m0000gp/T/quickridensmobile_2017-06-03_15-36-48.605.xcdistributionlogs'.
Exported quickridensmobile.xcarchive to: /Users/distiller/quickride-ns-mobile/platforms/ios/build/archive
** EXPORT SUCCEEDED **

Export at: /Users/distiller/quickride-ns-mobile/platforms/ios/build/archive/quickridensmobile.ipa
Unable to connect to iTunes Connect
An error occurred while processing the json request. (1268)`

Copied from original issue: NativeScript/NativeScript#4310

@OscarArnaizLopez
Copy link

+1 Having this issue since Friday, thought it was iTunes having some issues but today got same error message when trying to publish a build.

@dtopuzov
Copy link
Contributor Author

dtopuzov commented Jun 5, 2017

@OscarLopezArnaiz @briandilley we can confirm this is valid issue and we will try to provide fix soon.

@OscarArnaizLopez
Copy link

Cheers @dtopuzov

As a temporal workout application loader worked for me.

To publish a build with Application Loader

  1. Launch Xcode.
  2. Choose Xcode > Open Developer Tool > Application Loader.
  3. Upload your application binary files

@dtopuzov
Copy link
Contributor Author

dtopuzov commented Jun 9, 2017

@OscarLopezArnaiz @briandilley issue is fixed and it will be officially released with 3.1.0 (later this month).

Until then you can publish with @next builds (they are produced on each commit in master branch):

npm un -g nativescript
npm cache clean
npm i -g nativescript@next

@dtopuzov dtopuzov closed this as completed Jun 9, 2017
@dtopuzov dtopuzov added this to the 3.1.0 milestone Jun 9, 2017
@b02505048
Copy link

I had the same problem with [email protected], any idea?

> tns --version
4.2.4

@dtopuzov
Copy link
Contributor Author

Hi @b02505048,

Can you post logs and add more info for your system and project you are working on?

Can you reproduce the issue in hello world app?

@b02505048
Copy link

Hi @dtopuzov, thanks for replying.
The logs are simply like this

Unable to connect to iTunes Connect
Please sign in with an app-specific password. You can create one at appleid.apple.com. (-22910)

I don't even know that I have an app-specific pwd with me 😂
Anyway, my team and I end up with archiving it in Xcode and it just works fine.

@canelacho
Copy link

Well, well, well... I was in the same situation but finally I found how works the app-specific pwd. Is because the security of apple, when you have the two factor auth, you need a pwd for this situation. Thanks to telerik that have documented this problem.

Cause
These errors mean that you have enabled two-step verification or two-factor authentication for your Apple ID. With these feaures enabled, iTunes Connect requires an app-specific password when you use services that do not support entering a verification code, such as AppBuilder.

Solved:
https://docs.telerik.com/platform/knowledge-base/troubleshooting/password-not-working-on-itunes-connect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants