# Showing Recent Issues The package product 'Vapor' requires minimum platform version 13.0 for the iOS platform, but this target supports 11.0

**URL:** <https://forums.kodeco.com/t/showing-recent-issues-the-package-product-vapor-requires-minimum-platform-version-13-0-for-the-ios-platform-but-this-target-supports-11-0/180845>\
**Category:** Push Notifications by Tutorials\
**Created:** [November 12, 2022, 9:52pm UTC](https://forums.kodeco.com/t/showing-recent-issues-the-package-product-vapor-requires-minimum-platform-version-13-0-for-the-ios-platform-but-this-target-supports-11-0/180845 "2022-11-12T21:52:25Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![aswiftvegan](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/aswiftvegan/32/105896_2.png) [@aswiftvegan](https://forums.kodeco.com/u/aswiftvegan)\
**Post date:** [November 12, 2022, 9:52pm UTC](https://forums.kodeco.com/t/showing-recent-issues-the-package-product-vapor-requires-minimum-platform-version-13-0-for-the-ios-platform-but-this-target-supports-11-0/180845/1 "2022-11-12T21:52:25Z")

</div>

Hello 👋

I’m using Swift 5.6, Xcode 14, and iOS16. Why might I be getting these migration errors for the Vapor, Fluent, and Swift NIO, packages?

---

<div class="post-metadata">

**Author:** ![aswiftvegan](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/aswiftvegan/32/105896_2.png) [@aswiftvegan](https://forums.kodeco.com/u/aswiftvegan)\
**Post date:** [November 12, 2022, 10:02pm UTC](https://forums.kodeco.com/t/showing-recent-issues-the-package-product-vapor-requires-minimum-platform-version-13-0-for-the-ios-platform-but-this-target-supports-11-0/180845/2 "2022-11-12T22:02:55Z")

</div>

Here are my packages:

```auto
let package = Package(
    name: "vapor",
    platforms: [
        .macOS(.v10_15),
        .iOS(.v13),
        .tvOS(.v13),
        .watchOS(.v6)
    ],

```

---

<div class="post-metadata">

**Author:** ![aswiftvegan](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/aswiftvegan/32/105896_2.png) [@aswiftvegan](https://forums.kodeco.com/u/aswiftvegan)\
**Post date:** [November 12, 2022, 11:12pm UTC](https://forums.kodeco.com/t/showing-recent-issues-the-package-product-vapor-requires-minimum-platform-version-13-0-for-the-ios-platform-but-this-target-supports-11-0/180845/3 "2022-11-12T23:12:15Z")

</div>

Perhaps related: how can I edit package dependency files?

Move the dependency to a local project didn’t work ☹

---

<div class="post-metadata">

**Author:** ![aswiftvegan](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/aswiftvegan/32/105896_2.png) [@aswiftvegan](https://forums.kodeco.com/u/aswiftvegan)\
**Post date:** [November 13, 2022, 8:08am UTC](https://forums.kodeco.com/t/showing-recent-issues-the-package-product-vapor-requires-minimum-platform-version-13-0-for-the-ios-platform-but-this-target-supports-11-0/180845/4 "2022-11-13T08:08:25Z")

</div>

Finally got it working. I needed to go into the files themselves and add the #available if… flags above the structs and/or methods.

I also went to edit schemes and added my folder to the path in lieu of /Library/Xcode/DerivedData/WebService, which is where your project seems to run by default.

I also switched the scheme from iOS to Mac. Not sure what that does.

---

<div class="post-metadata">

**Author:** ![robertomachorro](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/robertomachorro/32/111603_2.png) [@robertomachorro](https://forums.kodeco.com/u/robertomachorro)\
**Post date:** [November 13, 2022, 8:34pm UTC](https://forums.kodeco.com/t/showing-recent-issues-the-package-product-vapor-requires-minimum-platform-version-13-0-for-the-ios-platform-but-this-target-supports-11-0/180845/5 "2022-11-13T20:34:33Z")

</div>

Your question is a bit confusing… You are posting in the Push Notifications (book) section, but are asking for Vapor (server side swift) and are showing some multi-platform errors. Glad to hear you got it resolved, though.

---

<div class="post-metadata">

**Author:** ![aswiftvegan](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/aswiftvegan/32/105896_2.png) [@aswiftvegan](https://forums.kodeco.com/u/aswiftvegan)\
**Post date:** [November 13, 2022, 9:01pm UTC](https://forums.kodeco.com/t/showing-recent-issues-the-package-product-vapor-requires-minimum-platform-version-13-0-for-the-ios-platform-but-this-target-supports-11-0/180845/6 "2022-11-13T21:01:16Z")

</div>

I’m following the book. The chapter on server-side swift, as you mentioned, does not control for the errors I was getting, as a result of following the tutorial.

---

<div class="post-metadata">

**Author:** ![robertomachorro](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/robertomachorro/32/111603_2.png) [@robertomachorro](https://forums.kodeco.com/u/robertomachorro)\
**Post date:** [November 14, 2022, 7:23pm UTC](https://forums.kodeco.com/t/showing-recent-issues-the-package-product-vapor-requires-minimum-platform-version-13-0-for-the-ios-platform-but-this-target-supports-11-0/180845/7 "2022-11-14T19:23:33Z")

</div>

Ah! OK, you should be posting in the following section:

> **[Server Side Swift with Vapor](https://forums.kodeco.com/c/books/server-side-swift-vapor/36)**
>
> The official forum for the Server Side Swift with Vapor book, available here: https://store.raywenderlich.com/products/server-side-swift-with-vapor

This section is for Push Notifications by Tutorials.
