Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27986] iOS: Support .xcframework binaries

GitHub Issuen/a
TypeNew Feature
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2020-09-21T19:46:13.000+0000
Affected Version/sn/a
Fix Version/sRelease 9.2.0
Componentsn/a
Labelsminimum-xcode11
ReporterHans Knöchel
AssigneeJan Vennemann
Created2020-06-25T19:02:12.000+0000
Updated2021-10-22T15:25:03.000+0000

Description

iOS does not support .xcframework binaries so far (available since WWDC 2019). All modern libraries are only available as .xcframeworks, so Titanium devs currently cannot use those libraries. Please fix this asap.

Comments

  1. Christopher Williams 2020-09-03

    We may need some more definition on this one. We are moving to xcframeworks to support macOS - both in our our modules are built and the internal libraries/TitaniumKit. But I don't think we've added support for "dropping in" an xcframework in something like a module's platform folder or an app.
  2. Christopher Williams 2020-09-16

    https://github.com/appcelerator/titanium_mobile/pull/12092
  3. Christopher Williams 2020-09-21

    Tested locally with ti.barcode build. Merged to master, 9_2_X backport merged as well.
  4. Lokesh Choudhary 2020-09-22

    Verified in 9.2.0.v20200922085315. Closing.
  5. libanez 2021-10-22

    For me the solution mentionned didn't work, included with new 9.3.1.GA SDK. I solved the problem by excluding arm64 architecture from simulator build in my module's .xcodeproj file. Follow the steps mentionned in the accepted answer on this post to exclude arm64 architecture for simulators : https://stackoverflow.com/questions/63607158/xcode-12-building-for-ios-simulator-but-linking-in-an-object-file-built-for-io I had to dowgrade to 9.0.0.GA SDK to have a more explicit error message that led me on the good track. Regards.

JSON Source