Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28509] iOS: Revert targeting iOS 11

GitHub Issuen/a
TypeStory
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2021-07-23T16:36:19.000+0000
Affected Version/sRelease 10.0.0
Fix Version/sRelease 10.0.1
ComponentsiOS
Labelsn/a
ReporterGary Mathews
AssigneeJoshua Quick
Created2021-07-21T23:21:57.000+0000
Updated2021-07-23T16:36:31.000+0000

Description

Packaged modules with TiSDK 10.0.0 will break projects built with 9.2.0+ as their _minsdk_ was not bumped to 10.0.0. To address this, we need to re-release the modules and maintain _minsdk_ 9.2.0 and revert targeting iOS 11. This is due to 9.2.0 needing 32-bit binaries that are excluded when targeting iOS 11. *Modules* - [appcelerator.aca](https://github.com/appcelerator-modules/appcelerator.aca) - [ti.urlsession](https://github.com/appcelerator-modules/ti.urlsession) - [ti.facebook](https://github.com/appcelerator-modules/ti.facebook) - [hyperloop](https://github.com/appcelerator/hyperloop.next) - [titanium-apple-sign-in](https://github.com/appcelerator-modules/titanium-apple-sign-in) - [ti.coremotion](https://github.com/appcelerator-modules/ti.coremotion) - [titanium-identity](https://github.com/appcelerator-modules/titanium-identity) - [ti.map](https://github.com/appcelerator-modules/ti.map) - [ti.webdialog](https://github.com/appcelerator-modules/titanium-web-dialog)

Comments

  1. Gary Mathews 2021-07-21

    hyperloop: https://github.com/appcelerator/hyperloop.next/pull/356
  2. Gary Mathews 2021-07-22

    appcelerator.aca: https://github.com/appcelerator-modules/appcelerator.aca/pull/112
  3. Gary Mathews 2021-07-22

    ti.urlsession: https://github.com/appcelerator-modules/ti.urlsession/pull/149
  4. Gary Mathews 2021-07-22

    ti.facebook: https://github.com/appcelerator-modules/ti.facebook/pull/273
  5. Joshua Quick 2021-07-22

    ti.coremotion: https://github.com/appcelerator-modules/ti.coremotion/pull/163 titanium-identity: https://github.com/appcelerator-modules/titanium-identity/pull/200 ti.map: https://github.com/appcelerator-modules/ti.map/pull/462 titanium-web-dialog: https://github.com/appcelerator-modules/titanium-web-dialog/pull/150
  6. Gary Mathews 2021-07-22

    titanium-apple-sign-in: https://github.com/appcelerator-modules/titanium-apple-sign-in/pull/154
  7. Joshua Quick 2021-07-23

    PR (titanium_mobile): https://github.com/appcelerator/titanium_mobile/pull/12973 Above PR includes all modules except ACA and Hyperloop, which are handled differently.
  8. Ewan Harris 2021-07-23

    With an iPhone 5 running iOS 10 and SDK 9.3.2, setting my ti.map version to 5.0.0 and requiring the module will throw the below error. The previous version (4.0.1) and the new version (5.1.1) load successfully. This is confirmation that the issue can be reproduced, albeit via different means
       [ERROR] /ti.main.js:8578
       [ERROR]   return originalRequire(moduleId);
       [ERROR]                          ^
       [ERROR] : Couldn't find module: ti.map for architecture: armv7
       [ERROR]     at require ([native code])
       [ERROR]     at require (/ti.main.js:8578:25)
       [ERROR]     at Object.<anonymous> (/app.js:3:12)
       [ERROR]     at require ([native code])
       [ERROR]     at require (/ti.main.js:8578:25)
       [ERROR]     at Object.<anonymous> (/ti.main.js:14290:10)
       [ERROR]     at loadAsync (/ti.main.js:14236:13)
       [ERROR]     Foundation 0x1e0403d7 _NSDescriptionWithLocaleFunc + 86
       [ERROR]     CoreFoundation 0x1d7b41f7 <redacted> + 10102
       [ERROR]     CoreFoundation 0x1d7b1a67 _CFStringCreateWithFormatAndArgumentsAux2 + 188
       [ERROR]     Foundation 0x1e040379 <redacted> + 144
       [ERROR]     Foundation 0x1e046369 <redacted> + 26
       [ERROR]     TitaniumKit 0x004d743b TiLogMessage + 58
       [ERROR]     TitaniumKit 0x00511d8b -[TiExceptionHandler reportScriptError:] + 70
       [ERROR]     TitaniumKit 0x004eb0ed -[KrollBridge loadCommonJSModule:withSourceURL:] + 416
       [ERROR]     TitaniumKit 0x004eb993 -[KrollBridge loadJavascriptText:fromFile:withContext:] + 74
       [ERROR]     TitaniumKit 0x004ecc0f -[KrollBridge require:path:] + 458
       [ERROR]     TitaniumKit 0x0051fb9f CommonJSRequireCallback + 182
       [ERROR]     JavaScriptCore 0x214705cb <redacted> + 290
       [ERROR]     JavaScriptCore 0x21187a89 <redacted> + 308
       [ERROR]     JavaScriptCore 0x211867e3 <redacted> + 104
       [ERROR]     JavaScriptCore 0x215281f5 <redacted> + 22676
       [ERROR]     JavaScriptCore 0x21528087 <redacted> + 22310
       [ERROR]     JavaScriptCore 0x21528087 <redacted> + 22310
       [ERROR]     JavaScriptCore 0x21528087 <redacted> + 22310
       
  9. Ewan Harris 2021-07-23

    Merged to master and 10_0_X

JSON Source