---
title: "Comment by Tom Brodhurst-Hill on \"How to create an example app for your SPM package\" | Hashnode"
description: "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"
url: "https://hashnode.com/posts/how-to-create-an-example-app-for-your-spm-package/6406476ae3d737c82fba5857/comment/67054a66b0918f2e76fc307c"
---

[Discussion](https://hashnode.com/posts/how-to-create-an-example-app-for-your-spm-package/6406476ae3d737c82fba5857)

Comment [How to create an example app for your SPM package](https://hashnode.com/posts/how-to-create-an-example-app-for-your-spm-package/6406476ae3d737c82fba5857)

[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"
