azure-sdk-for-ios icon indicating copy to clipboard operation
azure-sdk-for-ios copied to clipboard

Embedded CoreData data model does not work with Swift Packages (tools version 5.2)

Open mitchdenny opened this issue 5 years ago • 1 comments
trafficstars

As part of the validation of the Swift Package for the Azure SDK I discovered that the embedded CoreData data-model that AzureStorageBlob depends on is not being brought across into applications when the Swift Package is installed. This is because that the Swift Package format supported by Swift tools 5.2 and Xcode 11 does not support resource embedding. This is a new feature associated with Swift tools 5.3 and Xcode 12.

We need to find a work around for this (possibly imperatively creating the data model from within our code rather than relying on the embedded definition). We'll need to do this until we can adopt the 5.3 toolchain/Xcode 12 some time this year.

Depending on timeframes we could perhaps jump straight to 5.3/Xcode 12 since we know we are going to want it soon for MSAL (which will likely ship as a binary framework via Swift Package).

mitchdenny avatar Jul 21 '20 22:07 mitchdenny

Since this toolchain is out, let's investigate whether this "just works" with 5.3. If so we can close the issue.

bsiegel avatar Dec 11 '20 02:12 bsiegel

Hi @mitchdenny, we deeply appreciate your input into this project. Regrettably, this issue has remained inactive for over 2 years, leading us to the decision to close it. We've implemented this policy to maintain the relevance of our issue queue and facilitate easier navigation for new contributors. If you still believe this topic requires attention, please feel free to create a new issue, referencing this one. Thank you for your understanding and ongoing support.

github-actions[bot] avatar Mar 13 '24 18:03 github-actions[bot]