# Package Manager with XCAssets

**URL:** <https://forums.swift.org/t/package-manager-with-xcassets/19128>\
**Category:** Package Manager\
**Tags:** packagemanager\
**Created:** [December 28, 2018, 2:53pm UTC](https://forums.swift.org/t/package-manager-with-xcassets/19128 "2018-12-28T14:53:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SwiftDev23](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@SwiftDev23](https://forums.swift.org/u/SwiftDev23)\
**Post date:** [December 28, 2018, 2:53pm UTC](https://forums.swift.org/t/package-manager-with-xcassets/19128/1 "2018-12-28T14:53:20Z")

</div>

Is it possible to create a new definitions in the Package Manager so it allows Pictures, images, and other graphics to be included in the package manager in Swift 4.2 and higher? Is the development gonna be for iOS Dev and OStv dev soon? Swift is still in its infancy of endless possibilities as newer technologies may rely on Swift.

---

<div class="post-metadata">

**Author:** ![SDGGiesbrecht](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/sdggiesbrecht/32/4768_2.png) [@SDGGiesbrecht](https://forums.swift.org/u/SDGGiesbrecht)\
**Post date:** [December 28, 2018, 11:45pm UTC](https://forums.swift.org/t/package-manager-with-xcassets/19128/2 "2018-12-28T23:45:01Z")

</div>

The package manager does not have native handling of resources. It has been listed as a possible future direction from the beginning and is currently listed as an [evolution idea](https://github.com/apple/swift-package-manager/blob/master/Documentation/EvolutionIdeas.md#resource-support). In the meantime, various workarounds exist out in the wild: [Workspace](https://sdggiesbrecht.github.io/Workspace/%F0%9F%87%A8%F0%9F%87%A6EN/Types/PackageResources.html), [Mint](https://github.com/yonaskolb/Mint#resources), etc.

Source code targeting iOS, watchOS and tvOS can be handled by the package manager, but the Application at the top of the dependency tree must still be a separate Xcode project (though it can be left mostly empty). See [here](https://forums.swift.org/t/xcode-project-with-spm-dependencies/18157/10) for instructions.

The situation has been steadily improving. For example, the recent [acceptance of SE‐0236](https://forums.swift.org/t/accepted-with-modifications-se-0236-package-manager-platform-deployment-settings/18420) provides the ability to declare platform version requirements in a manifest and it includes specifiers for iOS et. al.
