Titanium JIRA Archive
Appcelerator Community (AC)

[AC-693] build dist-adhoc generates error "logger is not defined"

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2016-02-29T18:11:13.000+0000
Affected Version/sAppcelerator Studio 4.5.0
Fix Version/sn/a
ComponentsAppcelerator CLI
Labelsn/a
ReporterBrenton House
AssigneeShak Hossain
Created2016-02-29T15:59:23.000+0000
Updated2016-02-29T18:11:13.000+0000

Description

When building an app for iOS using:
appc ti build -p iOS --target list-adhoc --log-level trace
Generates this error:
2016-02-29T15:52:58.062Z | ERROR  | An uncaught exception was thrown!
logger is not defined
2016-02-29T15:52:58.063Z | ERROR  | logger is not defined
2016-02-29T15:52:58.064Z | TRACE  | ReferenceError: logger is not defined
    at Object.prompt (/Users/brenton/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/iphone/cli/commands/_build.js:943:7)
    at CLI.<anonymous> (/Users/brenton/.appcelerator/install/5.2.0/package/node_modules/titanium/lib/cli.js:838:9)
    at /Users/brenton/.appcelerator/install/5.2.0/package/node_modules/titanium/node_modules/async/lib/async.js:945:13
    at Immediate.q.process [as _onImmediate] (/Users/brenton/.appcelerator/install/5.2.0/package/node_modules/titanium/node_modules/async/lib/async.js:913:25)
    at processImmediate [as _immediateCallback] (timers.js:383:17)
After investigation, it looks like this is related to: TIMOB-19876 The reason for the error is that the old Apple WWDR cert (expired) was installed along with the new one. This was causing the the signing cert to look like it had a bad issuer. This error should probably be caught and a friendlier message displayed if no valid signing cert is available.

Comments

  1. Sharif AbuDarda 2016-02-29

JSON Source