Vaughn Dabney
Vaughn Dabney

Reputation: 94

Having an issue with WWDR Appcelerator Titanium when building for device

When publishing for device or for distribution in the Apple App Store, I'm getting the error: "[ERROR] : Apple’s World Wide Developer Relations (WWDR) intermediate certificate is not installed."

However, the certificate is installed correctly. When building from XCode, it works fine.

Not sure how to rectify.

Upvotes: 3

Views: 1250

Answers (2)

farwayer
farwayer

Reputation: 4122

Apple WWDR Certificate has expired 02/14/2016. You will need to install new from https://www.apple.com/certificateauthority/ But due to bug in one of titanium lib that can not work. If so you will need to make sure you add the certificate to your System keychain (not login or any other) or do this small patch on the Titanium SDK:

sed -i '' 's/results\.certs\.wwdr = tmp\.length && tmp\[0\]\.invalid === false;/results.certs.wwdr = results.certs.wwdr || (tmp.length \&\& tmp[0].invalid === false);/' /Users/USERNAME/Library/Application\ Support/Titanium/mobilesdk/osx/SDK_VERSION/node_modules/ioslib/lib/certs.js

Upvotes: 6

Pako Artal
Pako Artal

Reputation: 31

I found the same problem when installing the certificate. I just read Fokke Zandbergen's article and now it's working. Pay attention to the note:

NOTE: Please make sure you select the System keychain as we have recently discovered an issue where the certificate might not be found in your login or other keychains.

Upvotes: 3

Related Questions