Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28259] iOS: Replace OSSpinLock usage with os_unfair_lock

GitHub Issuen/a
TypeImprovement
PriorityHigh
StatusClosed
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sRelease 10.0.0
Componentsn/a
Labelsios
ReporterVijay Singh
AssigneeVijay Singh
Created2020-11-25T22:10:27.000+0000
Updated2020-12-11T13:41:08.000+0000

Description

OSSpinLock has deprecated in iOS 10 with replacement of os_unfair_lock. In TitaniumKit framework, OSSpinLock is used many place for synchronization, which gives warning. Replace OSSpinLock with [os_unfair_lock](https://developer.apple.com/documentation/os/synchronization).

Comments

  1. Vijay Singh 2020-12-01

    PR - https://github.com/appcelerator/titanium_mobile/pull/12307 @QE - To test try to run kitchen-sink app. It should work properly.
  2. Samir Mohammed 2020-12-11

    Verified Improvement in SDK version 10.0.0.v20201211050622 Tested using the KS test app. **Test Environment**
       MacOS Big Sur: 11.1 Beta 1
       Xcode: 12.2 Beta
       Java Version: 1.8.0_242
       Android NDK: 21.3.6528147
       Node.js: 12.18.1
       ""NPM":"5.0.0","CLI":"8.1.1""
       iPhone 8 14.2
       

JSON Source