appwrite / templates

Templates for Appwrite Functions ⚡ī¸đŸŒŠī¸
https://appwrite.io
MIT License
104 stars 81 forks source link

🐛 Bug Report: Swift Template does not compile #261

Closed atacan closed 1 month ago

atacan commented 6 months ago

👟 Reproduction steps

Open the swift/starter folder in Xcode

👍 Expected behavior

👎 Actual Behavior

🎲 Appwrite version

Version 1.4.x

đŸ’ģ Operating system

MacOS

🧱 Your Environment

AppWrite 1.4.13

👀 Have you spent some time to check if this issue has been raised before?

đŸĸ Have you read the Code of Conduct?

ScrShot 2024-01-02 at 13 41 16@2x

RV784 commented 6 months ago

I don't think you can build Appwrite functions locally :) They're a file depended upon by the Appwrite Functions runtimes. Have you deployed the starter function to your Appwrite instance? For me it works that way.

atacan commented 6 months ago

Hello @RV784, in that case, how are we supposed to develop and test the swift package before deploying it to Appwrite?

This is essentially Appwrite creating its own SPM structure with types that are not available at compile time. I wish there was a plan to improve this.