Back

[Solved] swift function

  • 1
  • Functions
erikkamalov
3 Nov, 2023, 06:01

swift is not added to runtime. installed on self-hosting. I have configured to github, I want to create a starter project on swift. but the list will not be selected, swift-5.8 was added to .env.

_APP_FUNCTIONS_RUNTIMES=node-16.0,php-8.0,python-3.9,ruby-3.0,swift-5.8

TL;DR
The user had a question about creating a Swift function with GitHub integration in Appwrite. The solution provided was to create a new repository and connect it to Appwrite using the CLI or referring to the documentation. The user also mentioned that they were unable to select the Swift option in the list of runtime options. The solution suggested checking the .env file to ensure that swift-5.8 was added to the runtimes.
Drake
3 Nov, 2023, 06:40

Did you deploy the change by running docker compose up -d?

erikkamalov
3 Nov, 2023, 06:47

yes

erikkamalov
3 Nov, 2023, 06:49

when I create a manual there shows swift-5.8

erikkamalov
3 Nov, 2023, 06:49
erikkamalov
3 Nov, 2023, 06:50

but when the creation of a quick start not shows

erikkamalov
3 Nov, 2023, 06:50
Drake
3 Nov, 2023, 14:30

Oh we don't have that version/runtime for the quickstart

erikkamalov
4 Nov, 2023, 17:59

Do I have to create only manually? And in general, how are swift functions supported?

erikkamalov
4 Nov, 2023, 18:01

I wanted to use a function written in swift and have it work with github integration.

Drake
4 Nov, 2023, 18:07

You can use the Appwrite CLI or refer to the docs

erikkamalov
9 Nov, 2023, 13:54

But does it support integration with the github repository?

Drake
11 Nov, 2023, 03:09

You can create a new repo yourself, populate it with the CLI, and then connect it to Appwrite

erikkamalov
11 Nov, 2023, 11:17

solved thank you

erikkamalov
11 Nov, 2023, 11:18

[Solved] swift function

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more