Search code examples
iosappcelerator

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.


Solution

  • 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