Swift. Packages and Bundles. Resources

  • If you build your module as a static library, its code will be embedded into the result executable binary, and its resources (images, plug-ins, strings, .car files, …) will be placed in the application bundle, in the top-level folder
  • If you build your module as a framework, its resources will be placed in its own .framework bundle folder (as a result, no conflicts with the Assets.car file; yep, it is the second possible solution of the Assets.car problem — using frameworks over static libraries)

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store