MobiVM / robovm

Ahead of time compiler for JVM bytecode targetting iOS, Mac OSX and Linux
https://mobivm.github.io
952 stars 132 forks source link

* <frameworks>, <weakFrameworks>, <xcFrameworks> -- qualified with constraints #729

Closed dkimitsa closed 1 year ago

dkimitsa commented 1 year ago

As discussed over gitter -- it becomes complicated to maintain build targeted for thumbv7 (32bit) version of ios when xcframework doesn't contain this slice. For example Firebase dropped 32 bit support and ios11+ only. This requires flexibility to be able to include frameworks only for specific architectures. Implementation is same as for frameworkPaths -- , , were extended with arch tag that limit the scope, for example:

<config>
   <frameworks>
      <framework arch="arm64">arm64_only_framework</framework>
   </frameworks>
</config>
Tom-Ski commented 1 year ago

Can this be closed due to https://github.com/MobiVM/robovm/pull/730 being merged @dkimitsa ?

dkimitsa commented 1 year ago

@Tom-Ski thx, closed