---
title: "Discussion on \"How to create an example app for your SPM package\" | Hashnode"
description: "Discussion on \"How to create an example app for your SPM package\". A beginner's guide to Swift Package Manager"
url: "https://hashnode.com/posts/how-to-create-an-example-app-for-your-spm-package/6406476ae3d737c82fba5857"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to create an example app for your SPM package](https://kaww.hashnode.dev/how-to-create-an-example-app-for-your-spm-package?utm_source=hashnode&utm_medium=feed)

A beginner's guide to Swift Package Manager

Mar 6, 2023 · 3 min read · kaww.hashnode.dev  
Updated May 29, 2023  
Read the article

-   [#swift](https://hashnode.com/tag/swift)
-   [#swiftui](https://hashnode.com/tag/swiftui)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#mobile-development](https://hashnode.com/tag/mobile-development)
-   [#github](https://hashnode.com/tag/github)

## Written by

[Kaww](https://hashnode.com/@kaww)

@kaww · Paris, France

  
[View profile](https://hashnode.com/@kaww)

iOS Software Engineer 👨🏼‍💻

iOS Software Engineer 👨🏼‍💻

## Responses 1

Markdown supported · ⌘↵ to post

[Tom Brodhurst-Hill](https://hashnode.com/@barefeettom)

[Oct 8, 2024](https://hashnode.com/posts/how-to-create-an-example-app-for-your-spm-package/6406476ae3d737c82fba5857/comment/67054a66b0918f2e76fc307c)

Just before you wrote "The SPM package is now imported", I think you meant to say "Click the `Add Package` button\`. But doing so (in Xcode 15.4), Xcode complains that "The selected package cannot be a direct ancestor of the project"
