Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18088] iOS developer certs are not being recognized and 'Get new' button fails to authenticate

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2014-11-25T23:52:54.000+0000
Affected Version/sn/a
Fix Version/sRelease 3.4.2, Release 3.5.0, Release 4.0.0
ComponentsiOS, Tooling
Labelsqe-assigned
ReporterJosh Rhinehart
AssigneeChris Barber
Created2014-11-21T18:47:40.000+0000
Updated2014-12-09T23:38:39.000+0000

Description

My developer certifications are not being recognized by Studio, nor is the WWDR certificate. All certs are verified and present in my keychains, but whether the default, System, or login keychains are selected, the refresh button only loads my Distribution certs. Attempting to obtain new copies through Studio's 'Get New' button errors out on the daw.apple.com side as can be seen in the following screen-cap: http://cl.ly/image/0F2c3a1Q0c1y Here is another screen cap of an attempted deployment to device: http://cl.ly/image/2f2s263m471p (at the end, it goes to the same "Oops!" page as the other). I have already attempted to uninstall and re-install Appcelerator Studio to no avail.

Attachments

FileDateSize
halfway.png2014-11-25T21:46:54.000+000028861

Comments

  1. Timan Rebel 2014-11-25

    Having the same issue (and I guess TC-5049 is the same as well). According to Fokke (and I can confirm) Apple changed the certificate names from 'iPhone Developer' to 'iOS Development". node-appc/lib/ios.js parses security dump-keychain to find the correct Certificates and now fails. I will try to fix this myself and if I succeed will do a PR
  2. Ingo Muschenetz 2014-11-25

    Please note the merge-3.5.0 label, which is the next available version. We may consider doing a 3.4.2 CI build as well.
  3. Ingo Muschenetz 2014-11-25

    Old Studio URL was "https://daw.apple.com/cgi-bin/WebObjects/DSAuthWeb.woa/830/wo/6EPTsc2dTuMWsct3zhfrOg/0.1.3.1.1.2.1.1.3.1.1". Updated URL appears to be https://developer.apple.com/account/ios/certificate/certificateList.action. Can fix this at go.appcelerator.com.
  4. Timan Rebel 2014-11-25

    It looks like the issue is in https://github.com/appcelerator/node-appc/blob/master/lib/ios.js#L151
  5. Eric Merriman 2014-11-25

    We are splitting this issue into two. The Studio link issue will be TISTUD-7068 and this issue will be repurposed to focus on the developer cert rename. Our account certificates are still "iPhone Developer" and "iPhone Distribution". We tired to revoke and regenerate on both our account and on Chris' account but each attempt resulted in the same legacy names. Chris is looking at where the changes are needed and we will test this when he is done, but without getting a cert with the new name we will be unable to validate the fix. For those this is affecting do you have individual or enterprise accounts? I'm trying to understand when and where this occurs. I will try on my personal account to regenerate all provisions that are tied to the cert. Just tried my personal account: 1) Removed all my provisions 2) Downloaded my personal developer cert - This showed as "iOS Development" which was good 3) Happy that I got the new name, I regenerated everything since I would need to in order to do production tests. Now the certs are coming in as "iPhone Developer". Could this be related to the CSR generation?
  6. Timan Rebel 2014-11-25

    It happened to me after a fresh install of Yosemite. Have an iCloud keychain, but that does not include certificates and private keys
  7. Eric Merriman 2014-11-25

    [~timanrebel] Thanks, we will try on a fresh install.
  8. Eric Merriman 2014-11-25

    Update: I was able to generate a new development certificate with the more recent name using Xcode (preferences>accounts - refresh, then plus to generate new cert) but was unable to use the same technique for generating a distribution certificate. So I can test this from a development standpoint and will continue to try for generating the distribution with the name "iOS Distribution" Since I was forced to generate the distribution certificate through the standard CSR process, that one has the older named "iPhone Distribution" See the attached screen "halfway.png". Note the differences in the two.
  9. Chris Barber 2014-11-25

    Master pull request: https://github.com/appcelerator/titanium_mobile/pull/6398 3_5_X pull request: https://github.com/appcelerator/titanium_mobile/pull/6399 3_4_X pull request: https://github.com/appcelerator/titanium_mobile/pull/6400
  10. Timan Rebel 2014-11-27

    I can confirm it works on 3_4_X. Thank you very much for the quick resolution!
  11. Eric Wieber 2014-12-09

    Verified fixed using: Titanium SDK 3.5.0.v20141208122514 Studio 3.4.1.201410281743 Xcode 6.1.1

JSON Source