vapor-community / apns

Vapor APNS for iOS
60 stars 2 forks source link

How to install the vapor old version @3 with this repo ? #4

Closed IOLOII closed 6 months ago

IOLOII commented 6 months ago

How to install the vapor old version @3 with this repo ? Because if I install the vapor with Xcode version I'm using now directly 13.1 , it prompts that it is not compatible with the latest version 4.0, so I need to install version 3.0, but I didn't find a suitable document tutorial.

image image image image

Because my macos has not been updated, and I don't want to update to the latest macos, so I can't update to the latest xcode, so I have a question. Thank you.

0xTim commented 6 months ago

@IOLOII I'm assuming you're trying to install the toolbox? (Not sure why you picked this repo to open the issue). You can install an old version with brew install vapor@[version-number] but this might be a Homebrew issue as we don't specify the Xcode version required. You can clone the templates manually worst case, e.g. https://github.com/vapor/template-bare/tree/main

Note that the latest Swift version you can install is 5.6 which is no longer supported by Vapor. You would probably be better off using Docker containers and Swift on Linux with VSCode

IOLOII commented 6 months ago

@IOLOII I'm assuming you're trying to install the toolbox? (Not sure why you picked this repo to open the issue). You can install an old version with brew install vapor@[version-number] but this might be a Homebrew issue as we don't specify the Xcode version required. You can clone the templates manually worst case, e.g. https://github.com/vapor/template-bare/tree/main

Note that the latest Swift version you can install is 5.6 which is no longer supported by Vapor. You would probably be better off using Docker containers and Swift on Linux with VSCode

Because this repo was found in the awsome list. I want to learn this project, and the readme file of this project is written about the project that needs vapor3. When I tried to install and run it directly, I encountered the above-related problems, so I asked questions. I may have disturbed you, but thank you for your reply.

0xTim commented 6 months ago

Ah yeah I should probably archive this - this is what you want https://github.com/swift-server-community/APNSwift