Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26062] iOS: Analyzer warnings after recent changes

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2018-05-25T16:56:44.000+0000
Affected Version/sn/a
Fix Version/sRelease 7.3.0
ComponentsiOS
Labelsn/a
ReporterHans Knöchel
AssigneeHans Knöchel
Created2018-05-22T16:14:48.000+0000
Updated2018-07-09T19:17:41.000+0000

Description

There are some Xcode Analyzer warnings and possible leaks that occurred after recent changes in the SDK. Most of them are cosmetic and do not cause real issues, but some of them can cause memory issues in certain situations, so we should address them asap

Comments

  1. Hans Knöchel 2018-05-22

    PR: https://github.com/appcelerator/titanium_mobile/pull/10072
  2. Samir Mohammed 2018-07-09

    *Closing ticket.* Verified fix in SDK Version 7.3.0.v20180613110103. *FR Passed. Test Steps:*

    Created a new project using and older SDK 7.3.0.v20180522085724

    Built and ran the project in studio

    Opened the project from its build folder in Xcode

    Ran the Analyzer Product -> Analyze

    Saw 16 total issues

    Created another project using a newer SDK 7.3.0.v20180613110103

    Built and ran the project in studio

    Opened the project from its build folder in Xcode

    Ran the Analyzer Product -> Analyze

    Saw 3 total issues

    7.2.0.GA had 6 total issues

    *Test Environment*
       APPC Studio: 5.0.0.201712081732
       APPC CLI: 7.0.4
       iPhone 6 simulator (11.2)
       Operating System Name: Mac OS High Sierra
       Operating System Version: 10.13
       Node.js Version: 8.9.1
       Xcode 9.2
       

JSON Source