{ "id": "169642", "key": "TIMOB-25196", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2017-08-27T16:44:51.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "cb-tooling" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2020-01-30T22:59:02.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "_Following up on an email-thread with [~ben.bahrenburg@gmail.com]._\r\n\r\nWhen manually whitelisting ATS domains, he added {{appcelerator.com}} to the ATS-configuration, but there was still a warning thrown:\r\n{code}\r\n[WARN] : ATS enabled, however *.appcelerator.com are not whitelisted\r\n[WARN] : Consider setting the \"ios.whitelist.appcelerator.com\" property in the tiapp.xml to \"true\"\r\n{code}\r\nLooking into the [related code|https://github.com/appcelerator/titanium_mobile/blob/master/iphone/cli/commands/_build.js#L4001-L4002], it falls through the if-case and lands in the else-case, because he manages the ATS-setting manually instead of setting the {{ios.whitelist.appcelerator.com}} property to true. \r\n\r\nSo what should the code do? It should detect ATS references properly in [here|https://github.com/appcelerator/titanium_mobile/blob/master/iphone/cli/commands/_build.js#L2323-L2324], so it either checks if the property is enabled, but also checks if it is manually set.", "attachment": [], "flagged": false, "summary": "iOS: CLI throws ATS-warning although *.appcelerator.com is properly whitelisted", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }