Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28297] iOS: swift files doesn't recognize macros defined in defines.h

GitHub Issuen/a
TypeImprovement
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2021-02-02T14:55:23.000+0000
Affected Version/sn/a
Fix Version/sRelease 9.3.2, Release 10.0.0
ComponentsiOS
Labelsswift
ReporterVijay Singh
AssigneeVijay Singh
Created2020-12-18T23:36:07.000+0000
Updated2021-07-22T11:03:20.000+0000

Description

If we add any new .swift file in sdk, macros defined in defines.h file are not recognized by swift. So all macros defined in defines.h file need to be made in such a way so that it can be recognized by swift and Objc both file. To make this working all macros need to be added in buildSettings of project .

Comments

  1. Vijay Singh 2021-01-08

    PR - https://github.com/appcelerator/titanium_mobile/pull/12379 How to test - Create a new app or use existing app. Run on device and simulator both. It should work properly.
  2. Christopher Williams 2021-02-02

    merged to master for 01.0.0 target. Automated backport PR for 9_3_X failed, manually cherry-picked and fixed conflicts (for potential 9.3.2 release).

JSON Source