CocoaPods/CocoaPods

Is there a way to handle built resources in Swift Static Libraries mode?

オープン

#8,403 opened on 2019/01/10

 (9 件のコメント) (0 件のリアクション) (0 人の担当者)Ruby (2,685 件のフォーク)batch import
d3:hardhelp wantedt1:enhancement

Repository metrics

Stars
 (14,815 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

I'm trying to migrate from dynamic frameworks to swift static libraries. I have a whole ecosystem of private pods and some of them contain coreml models/metal files inside them, which are compiled to .mlmodelc and .metallib and get copied to a framework's bundle, so later I can access them via Bundle(for:<AnyClass>)

Is there anything similar with Swift Static lib? Do they even support resources in any way? Maybe it is possible to point resources in build folder?

コントリビューターガイド