{ "id": "155213", "key": "AC-693", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2016-02-29T18:11:13.000+0000", "created": "2016-02-29T15:59:23.000+0000", "labels": [], "versions": [ { "id": "17038", "name": "Appcelerator Studio 4.5.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-02-29T18:11:13.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14552", "name": "Appcelerator CLI", "description": "Please enter tickets related to Tooling and the CLI here" } ], "description": "When building an app for iOS using:\r\n\r\n{code:javascript}\r\nappc ti build -p iOS --target list-adhoc --log-level trace\r\n{code}\r\n\r\nGenerates this error:\r\n\r\n{code}\r\n2016-02-29T15:52:58.062Z | ERROR | An uncaught exception was thrown!\r\nlogger is not defined\r\n2016-02-29T15:52:58.063Z | ERROR | logger is not defined\r\n2016-02-29T15:52:58.064Z | TRACE | ReferenceError: logger is not defined\r\n at Object.prompt (/Users/brenton/Library/Application Support/Titanium/mobilesdk/osx/5.1.2.GA/iphone/cli/commands/_build.js:943:7)\r\n at CLI. (/Users/brenton/.appcelerator/install/5.2.0/package/node_modules/titanium/lib/cli.js:838:9)\r\n at /Users/brenton/.appcelerator/install/5.2.0/package/node_modules/titanium/node_modules/async/lib/async.js:945:13\r\n 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)\r\n at processImmediate [as _immediateCallback] (timers.js:383:17)\r\n{code}\r\n\r\n\r\nAfter investigation, it looks like this is related to: TIMOB-19876\r\n\r\nThe 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.\r\n\r\nThis error should probably be caught and a friendlier message displayed if no valid signing cert is available.", "attachment": [], "flagged": false, "summary": "build dist-adhoc generates error \"logger is not defined\"", "creator": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "brentonhouse", "key": "brentonhouse", "displayName": "Brenton House", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "378168", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-02-29T18:09:38.000+0000", "updated": "2016-02-29T18:10:57.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }