Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18348] iOS: Xcode Static analyzer warnings given, 'Apple Mach-O Linker Warning arm64 function not 4-byte aligned'

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2015-01-13T00:59:56.000+0000
Affected Version/sRelease 3.5.0
Fix Version/sRelease 4.0.0
ComponentsiOS
Labelsqe-3.5.0
ReporterEwan Harris
AssigneeIngo Muschenetz
Created2015-01-08T23:37:45.000+0000
Updated2015-01-13T00:59:56.000+0000

Description

Description

When 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. I believe that this issue may be related to pull 26 in tijscore https://github.com/appcelerator/tijscore/pull/26 *Note* The warnings are also presented when building the poject, while compiling the files the warnings shown in Xcode are also present in the console.

Steps To Reproduce

1. Create a project and build it for iOS 2. Open the Xcode project in build->iphone 3. Run Product->Analyze

Actual Result

Xcode 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*

Expected Result

There should be no warnings generated

Attachments

FileDateSize
XcodeWarnings.txt2015-01-08T23:37:45.000+000032317

Comments

  1. Ewan Harris 2015-01-13

    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. Using: Mac OSX 10.10.1 Appcelerator Studio, build: 3.4.1.201410281743 Titanium SDK build: 3.5.0.v20150112015717 Titanium CLI, build: 3.4.1 Alloy: 1.5.1 Xcode 6.2 beta3 Closing ticket.

JSON Source