{ "id": "142550", "key": "TIMOB-18348", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": [ { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-01-13T00:59:56.000+0000", "created": "2015-01-08T23:37:45.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-3.5.0" ], "versions": [ { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" } ], "issuelinks": [ { "id": "44607", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "130329", "key": "TIMOB-16946", "fields": { "summary": "iOS: SDK should have 0 static analyzer errors (it currently has 77)", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2015-01-13T00:59:56.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "h5.Description\r\n\r\nWhen running the static analyzer in Xcode on an app created with the latest SDK I see 153 warnings given. Some of these are the ones discussed in TIMOB-16946 that are expected, leaving 147 *Apple Mach-O Linker Warning arm64 function not 4-byte aligned* warnings. I will attach the output I can pull from Xcode warning of these. \r\n\r\nI believe that this issue may be related to pull 26 in tijscore https://github.com/appcelerator/tijscore/pull/26\r\n\r\n*Note*\r\n\r\nThe warnings are also presented when building the poject, while compiling the files the warnings shown in Xcode are also present in the console.\r\n\r\nh5.Steps To Reproduce\r\n\r\n1. Create a project and build it for iOS\r\n2. Open the Xcode project in build->iphone\r\n3. Run Product->Analyze\r\n\r\nh5.Actual Result\r\n\r\nXcode reports 153 warnings, taking out the ones that are present and expected as discussed in TIMOB-16946 that is 147 warnings for *Apple Mach-O Linker Warning arm64 function not 4-byte aligned* \r\n\r\nh5.Expected Result\r\n\r\nThere should be no warnings generated", "attachment": [ { "id": "53496", "filename": "XcodeWarnings.txt", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2015-01-08T23:37:45.000+0000", "size": 32317, "mimeType": "text/plain" } ], "flagged": false, "summary": "iOS: Xcode Static analyzer warnings given, 'Apple Mach-O Linker Warning arm64 function not 4-byte aligned'", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Mac OSX 10.10.1\r\nAppcelerator Studio, build: 3.4.1.201410281743\r\nTitanium SDK build: 3.5.0.v20150106102524\r\nTitanium CLI, build: 3.4.1\r\nAlloy: 1.5.1\r\nXcode 6.1.1", "closedSprints": [ { "id": 309, "state": "closed", "name": "2015 Sprint 02 SDK", "startDate": "2015-01-17T01:00:16.697Z", "endDate": "2015-01-31T01:00:00.000Z", "completeDate": "2015-02-02T14:36:09.696Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "338803", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "As of [this|https://github.com/appcelerator/titanium_mobile/commit/961566df20813dbb934501fffce625412f8e3ce5] pull request there are no longer any warnings titled 'Apple Mach-O Linker Warning arm64 function not 4-byte aligned' when running Static analyzer is Xcode.\r\n\r\nUsing:\r\n\r\nMac OSX 10.10.1\r\nAppcelerator Studio, build: 3.4.1.201410281743\r\nTitanium SDK build: 3.5.0.v20150112015717\r\nTitanium CLI, build: 3.4.1\r\nAlloy: 1.5.1\r\nXcode 6.2 beta3\r\n\r\nClosing ticket.", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2015-01-13T00:59:52.000+0000", "updated": "2015-01-13T00:59:52.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }