[TIMOB-27986] iOS: Support .xcframework binaries
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2020-09-21T19:46:13.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 9.2.0 |
Components | n/a |
Labels | minimum-xcode11 |
Reporter | Hans Knöchel |
Assignee | Jan Vennemann |
Created | 2020-06-25T19:02:12.000+0000 |
Updated | 2021-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.
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.
https://github.com/appcelerator/titanium_mobile/pull/12092
Tested locally with ti.barcode build. Merged to master, 9_2_X backport merged as well.
Verified in 9.2.0.v20200922085315. Closing.
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.